/soundex

Soundex a go implementation of the Soundex algorithm.

Primary LanguageGoMIT LicenseMIT

Soundex

Soundex is a go implementation of the Soundex algorithm.

"Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for homophones to be encoded to the same representation so that they can be matched despite minor differences in spelling." - Wikipedia

Installation

$ go get github.com/umahmood/soundex

Usage

package main

import (
    "fmt"

    "github.com/umahmood/soundex"
)

func main() {
    fmt.Println(soundex.Code("Miller"))
    fmt.Println(soundex.Code("Muller"))
}

Output:

M460
M460

Documentation

http://godoc.org/github.com/umahmood/soundex

License

See the LICENSE file for license rights and limitations (MIT).