public class ColognePhonetic extends Object implements Simplifier
Implements the Kölner Phonetik (Cologne Phonetic) algorithm issued by Hans Joachim Postel in 1969.
The Kölner Phonetik is a phonetic algorithm which is optimized for the German language. It is related to the well-known soundex algorithm.
This class is immutable and thread-safe.
ColognePhonetic
Constructor and Description |
---|
ColognePhonetic() |
Modifier and Type | Method and Description |
---|---|
String |
simplify(String input)
Simplifiers the input string.
|
String |
toString() |
public String simplify(String input)
Simplifier
simplify
in interface Simplifier
input
- string to simplifyCopyright © 2014–2018. All rights reserved.