FuzzyWuzzy

Fuzzy string matching like a boss.

Check out FuzzyWuzzy on GitHub.

About

FuzzyWuzzy is a string similarity matching library. In other words, it tells you how similar two pieces of text are (and some other functionality).

FuzzyWuzzy uses Levenshtein Distance to calculate the differences between sequences in a simple-to-use package.

Simple Ratio

Text*

Text

Ratio

this is a test

this is a test!

97

Inputs

  • Text

    • Required

  • Text

Outputs

  • Ratio - This number quantifies the similarity of the two pieces of text.

Ratio Returned is 97

Partial Ratio

Text*

Text

Ratio

this is a test

this is a test!

100

Token Sort Ratio

Text*

Text

Ratio

Token Sort Ratio

fuzzy wuzzy was a bear

wuzzy fuzzy was a bear

91

100

Outputs

  • Ratio

  • Token Sort Ratio

Token Set Ratio

Text*

Text

Token Set Ratio

fuzzy was a bear

fuzzy fuzzy was a bear

100

Outputs

  • Token Set Ratio

Process

Text

Choices

Extract One Choice

Extract One Ratio

new york jets

Atlanta Falcons, New York Jets, Dallas Cowboys, New York Giants

New York Jets

100

Inputs

Outputs

  • Extract One Choice - The closest matching item from Choices is returned

  • Extract One Ratio - The ratio of the match