Skip to content

A package that contain an implementation of cologne phonetics (Kölner Phonetik)

License

Notifications You must be signed in to change notification settings

Regis24GmbH/go-phonetics

Repository files navigation

Build Status Github Tag

Coverage Status Maintainability

Go Report Card GoDoc License


go-phonetics

A package that contain an implementation of cologne phonetics (Kölner Phonetik)

Gonetic implements the Kölner Phonetik (Cologne Phonetic) algorithm in Go. It is a translation of the php implementation of deezaster to Go.

Usage

To get the lastest tagged version of package, execute:

go get gopkg.in/Regis24GmbH/go-phonetics.v3

To import this package, add the following line to your code:

import "gopkg.in/Regis24GmbH/go-phonetics.v3"

This is a code example:

func main() {
  code := gophonetics.NewPhoneticCode("Müller-Lüdenscheidt")
  println(code) // prints "65752682"
}