python-Levenshtein icon indicating copy to clipboard operation
python-Levenshtein copied to clipboard

Why this situation happen? jaro score equals to 0

Open HelloLadsAndGents opened this issue 6 years ago • 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

HelloLadsAndGents avatar Jul 30 '19 08:07 HelloLadsAndGents