ztane/python-Levenshtein

Why this situation happen? jaro score equals to 0

Opened this issue · 0 comments

python3

import Levenshtein
a="abcd"
b="cd"
Levenshtein.jaro(a,b)
0.0

import Levenshtein
a="abcd"
b="dc"
Levenshtein.jaro(a,b)
0.5833333333333334