rapidfuzz / RapidFuzz

Rapid fuzzy string matching in Python using various string metrics

Home Page:https://rapidfuzz.github.io/RapidFuzz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fuzz_py.token_set_ratio and fuzz.token_set_ratio have different results

BeanWei opened this issue · comments

>>> fuzz_py.token_set_ratio("js", "vue js")
80.0
>>> fuzz.token_set_ratio("js", "vue js")
100.0

Thanks for reporting. This is a bug in the pure python fallback implementation of token_set_ratio. I fixed it in 9993c17