Implementation of the Soundex phonetic algorithm for indexing names by sound, as pronounced in English.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis.yml
README.md
soundex.go
soundex_test.go

README.md

Build Status Go Report Card

go-soundex

Implementation of the Soundex phonetic algorithm in Go for indexing names by sound, as pronounced in English.

Install

$ go get github.com/marcusandre/go-soundex

Usage

package main

import (
  "fmt"

  "github.com/marcusandre/soundex"
)

func main() {
  s := soundex.New("Bacon")
  fmt.Println(s) // => B250
}

Notes

We used the great azer/go-anglicize to get rid of most language specific characters before creating a Soundex.