I am using python fuzzywuzzy on an enterprise level to match 2 strings. It works fine in most of the cases but giving unexpected results in the below mentioned scenario:
fuzz.partial_ratio('ja rule:mesmerize','ja rule feat. ashanti:mesmerize') gives output 65
and
fuzz.partial_ratio('ja rule:mesmerize','jennifer lopez feat. ja rule:im real ') gives the output 67
Any explanation on why the fuzz score in the second match is better than the first match?
Any help/suggestion is greatly appreciated.
fuzzywuzzy
) #31807195 – Bighorn