Generic Beider-Morse Phonetic Matching (Beider & Morse, 2008) in Go. Built for Watchman phonetic boosting.
import "github.com/PhonoGrams/beider_morse"
beider_morse.Encode("Lukashenko")
beider_morse.Match("Schumacher", "Shumaker")v1 uses the generic approximate rewrite rules for mixed European personal names (not the Ashkenazi/Sephardi/Hebrew language tables). Keys overlap for spelling variants; Match is the Watchman hook.
- Beider & Morse, Beider-Morse Phonetic Matching: An Alternative to Soundex with Fewer False Hits, 2008
- Watchman: moov-io/watchman#881
Apache License 2.0