Skip to content

sanjayc77/metaphone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Metaphone package for Go

A port of metaphone module from the Natural javascript package: https://github.com/NaturalNode/natural/blob/master/lib/natural/phonetics/metaphone.js

Also see the wikipedia article on metaphone: http://en.wikipedia.org/wiki/Metaphone

Installation

go install github.com/sanjayc77/metaphone 

This will install the metaphone package.

Example

import "metaphone"

st := metaphone.Process("phonetics")  // => FNTKS

Tests

go test metaphone

TODO

Precompile the regular expressions for faster processing.

About

Metaphone package for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages