Fuzzywuzzy uses Levenshtein Distance to calculate the differences between sequences. This library also utilises the difflib library under the hood of all of its calculations.
The string comparison methods within the fuzz module of the Fuzzywuzzy library are:
The following code demonstrates how some of these methods work on strings of varying similarity.
The methods in the process module are as follows:
The following code demonstrates how some of these methods work.