Last active
August 29, 2015 14:26
-
-
Save walkerdb/e729683ca9b787a1b4ee to your computer and use it in GitHub Desktop.
This file contains 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 | |
>>> bentley_term = "Emily Dickinson (1830-1886)" | |
>>> lc_term = "Dickinson, Emily, 1830-1886" | |
>>> fuzz.ratio(bentley_term, lc_term) | |
70 | |
>>> fuzz.ratio("Clark Kent", "Superman") | |
22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment