Created
October 26, 2017 12:09
-
-
Save IanMulvany/95ef5c34cfa7b4ece391e84da6562d62 to your computer and use it in GitHub Desktop.
example of fuzzywuzzy in python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fuzzywuzzy import fuzz | |
for existing_name in existing_names: | |
test_name = existing_name[2] | |
for response_name in response_names: | |
ratio = fuzz.ratio(test_name, response_name[2]) | |
if ratio > 90: | |
print(test_name, response_name[2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment