Open spirit1317 opened 3 years ago
Also, if you change the order it will give a different score:
process.extract('OdCeny', ['producent'], scorer=fuzz.ratio)
#[('OdCeny', 40)]
process.extract('producent', ['OdCeny'], scorer=fuzz.ratio)
#[('OdCeny', 67)]
https://github.com/seatgeek/fuzzywuzzy/issues/288#issuecomment-720078842 @spirit1317 see this comment
Use:
process.extract('producent', ['OdCeny'], scorer=fuzz.ratio, processor=None)
#[('OdCeny', 40)]
to get the same results
From version 0.13 onward, theres a mismatch between
process.extract(scorer=fuzz.ratio)
scores andfuzz.ratio
.prints:
But
prints:
Please let me know if this is a feature or bug.