UjjwalAyyangar / go-jellyfish

Go port of the python jellyfish module for approximate and phonetic matching of strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Go port of the python jellyfish module for approximate and phonetic matching of strings.

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 100.0%