We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From version 0.13 onward, theres a mismatch between process.extract(scorer=fuzz.ratio) scores and fuzz.ratio.
process.extract(scorer=fuzz.ratio)
fuzz.ratio
#fuzzywuzzy==0.12 from fuzzywuzzy import process, fuzz process.extract('OdCeny', ['producent'], scorer=fuzz.ratio) fuzz.ratio('producent', 'OdCeny')
prints:
[('producent', 40)] 40
But
#fuzzywuzzy==0.13 from fuzzywuzzy import process, fuzz process.extract('OdCeny', ['producent'], scorer=fuzz.ratio) fuzz.ratio('producent', 'OdCeny') #
[('producent', 67)] 40
Please let me know if this is a feature or bug.
The text was updated successfully, but these errors were encountered:
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)]
Sorry, something went wrong.
#288 (comment) @spirit1317 see this comment
Use:
process.extract('producent', ['OdCeny'], scorer=fuzz.ratio, processor=None) #[('OdCeny', 40)]
to get the same results
No branches or pull requests
From version 0.13 onward, theres a mismatch between
process.extract(scorer=fuzz.ratio)
scores andfuzz.ratio
.prints:
[('producent', 40)] 40
But
prints:
[('producent', 67)] 40
Please let me know if this is a feature or bug.
The text was updated successfully, but these errors were encountered: