Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.26 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.26 KB

Go port of the popular Python Jellyfish library

Build Status Go Report Card

Written by James Turk and Michael Stephens in Python

It is a library for doing approximate and phonetic matching of strings.

Python source is available at http://github.com/jamesturk/jellyfish.

Current TODO - Tests

Included Algorithms

String comparison:

  • Levenshtein Distance
  • Damerau-Levenshtein Distance
  • Jaro Distance
  • Jaro-Winkler Distance
  • Match Rating Approach Comparison
  • Hamming Distance

Phonetic encoding:

  • American Soundex
  • Metaphone
  • NYSIIS (New York State Identification and Intelligence System) (Requires Testing)
  • Match Rating Codex (Requires Testing)

Example Usage

    jellyfish.Levenshtein_distance("jellyfish","smellyfish")
    jellyfish.Match_rating_comparision("Jellyfish","Smellyfish")

refer to example.go