File: __init__.pyi

package info (click to toggle)
python-jellyfish 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,052 kB
  • sloc: python: 580; makefile: 39; sh: 3
file content (13 lines) | stat: -rw-r--r-- 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from typing import Optional

def levenshtein_distance(s1: str, s2: str) -> int: ...
def jaccard_similarity(s1: str, s2: str, ngram_size: Optional[int] = None) -> float: ...
def jaro_similarity(s1: str, s2: str) -> float: ...
def jaro_winkler_similarity(s1: str, s2: str, long_tolerance: bool = ...) -> float: ...
def damerau_levenshtein_distance(s1: str, s2: str) -> int: ...
def soundex(s: str) -> str: ...
def hamming_distance(s1: str, s2: str) -> int: ...
def nysiis(s: str) -> str: ...
def match_rating_codex(s: str) -> str: ...
def match_rating_comparison(s1: str, s2: str) -> bool: ...
def metaphone(s: str) -> str: ...