Expand description
Fuzzy Match
is a fuzzy matching library based on the popular FuzzyWuzzy
library for python.
It contains 4 basic fuzzy matching functions.
Macros§
- partial_
ratio - Splits the longest string into tokens and uses the levenshtein distance to calculate the similarity of tokens and shorter string.
- ratio
- Uses the levenshtein distance to calculate the similarity of two strings.
- token_
set_ ratio - Finds the intersection of both strings and calculates the similarity of strings.
- token_
sort_ ratio - Splits both strings into tokens, sorts them and calculates the similarity between sorted words.
Functions§
- partial_
ratio - Splits the longest string into tokens and uses the levenshtein distance to calculate the similarity of tokens and shorter string.
- ratio
- Uses the levenshtein distance to calculate the similarity of two strings.
- token_
set_ ratio - Finds the intersection of both strings and calculates the similarity of strings.
- token_
sort_ ratio - Splits both strings into tokens, sorts them and calculates the similarity between sorted words.