Skip to content

Instantly share code, notes, and snippets.

@IanMulvany
Created October 26, 2017 12:09
Show Gist options
  • Save IanMulvany/95ef5c34cfa7b4ece391e84da6562d62 to your computer and use it in GitHub Desktop.
Save IanMulvany/95ef5c34cfa7b4ece391e84da6562d62 to your computer and use it in GitHub Desktop.
example of fuzzywuzzy in python
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