Crate fuzzy_match_flex

source ·
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

  • Splits the longest string into tokens and uses the levenshtein distance to calculate the similarity of tokens and shorter string.
  • Uses the levenshtein distance to calculate the similarity of two strings.
  • Finds the intersection of both strings and calculates the similarity of strings.
  • Splits both strings into tokens, sorts them and calculates the similarity between sorted words.

Functions

  • Splits the longest string into tokens and uses the levenshtein distance to calculate the similarity of tokens and shorter string.
  • Uses the levenshtein distance to calculate the similarity of two strings.
  • Finds the intersection of both strings and calculates the similarity of strings.
  • Splits both strings into tokens, sorts them and calculates the similarity between sorted words.