模糊模糊匹配与部分匹配

时间:2019-12-03 01:58:05

标签: python-3.x fuzzywuzzy

我一直在尝试找到partial_ratio()ratio()之间差异的形式定义,而不是反复试验。例如:

>>> fuzz.ratio('Rocked', 'The Boat That Rocked')
46

>>> fuzz.partial_ratio('The Boat That Rocked', 'Rocked')
100  # why is this number so high

我正在寻找的地点是https://chairnerd.seatgeek.com/fuzzywuzzy-fuzzy-string-matching-in-python/https://github.com/seatgeek/fuzzywuzzy

有人可以描述两者之间的区别吗?

0 个答案:

没有答案
相关问题