public class DaitchMokotoffSoundex extends Object implements Simplifier
The Daitch-Mokotoff Soundex algorithm is a refinement of the Russel and American Soundex algorithms, yielding greater accuracy in matching especially Slavish and Yiddish surnames with similar pronunciation but differences in spelling.
This class is immutable and thread-safe.DaitchMokotoffSoundex,
Wikipedia - Daitch-Mokotoff Soundex,
Avotaynu - Soundexing and
Genealogy| Constructor and Description |
|---|
DaitchMokotoffSoundex()
Creates a new instance with ASCII-folding enabled.
|
DaitchMokotoffSoundex(boolean folding)
Creates a new DaitchMokotoffSoundex simplifier.
|
| Modifier and Type | Method and Description |
|---|---|
String |
simplify(String input)
Simplifiers the input string.
|
String |
toString() |
public DaitchMokotoffSoundex()
public DaitchMokotoffSoundex(boolean folding)
With ASCII-folding enabled, certain accented characters will be transformed to equivalent ASCII characters, e.g. รจ -> e.
folding - if ASCII-folding shall be performed before encodingpublic String simplify(String input)
Simplifiersimplify in interface Simplifierinput - string to simplifyCopyright © 2014–2018. All rights reserved.