An open API service indexing awesome lists of open source software.

https://github.com/umahmood/soundex

Soundex a go implementation of the Soundex algorithm.
https://github.com/umahmood/soundex

go golang phonetic-algorithm soundex

Last synced: 6 months ago
JSON representation

Soundex a go implementation of the Soundex algorithm.

Awesome Lists containing this project

README

          

# 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](https://en.wikipedia.org/wiki/Soundex)

# 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](LICENSE.md) file for license rights and limitations (MIT).