Open fandyputram opened 5 years ago
I think it depend on the scorer param of process.extract. Default is fuzz.WRatio which differs from fuzzy.ratio. May check the function comment for detail.
you can specify what function you want to use for extraction:
example:
process.extractOne(sentence, choises, scorer=fuzz.partial_ratio)
i've try several function from the fuzzywuzzy library and i've noticed that the process.extract and fuzzy.ratio return different score. Is the algorithm used in both of the function is different? if yes, what algorithm being used?