Skip to content

Soundex a go implementation of the Soundex algorithm.

License

Notifications You must be signed in to change notification settings

umahmood/soundex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Soundex a go implementation of the Soundex algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages