Fuzzy String Comparison
There is a package called fuzzywuzzy. Install via pip: pip install fuzzywuzzy Simple usage: >>> from fuzzywuzzy import fuzz >>> fuzz.ratio(“this is a test”, “this is a test!”) 96 The package is built on top of difflib. Why not just use that, you ask? Apart from being a bit simpler, it has a number of … Read more