@Deprecated public final class DoubleMetaphone extends Object implements Simplifier
This class is immutable and thread-safe.
DoubleMetaphone| Constructor and Description |
|---|
DoubleMetaphone()
Deprecated.
Creates an instance of this DoubleMetaphone encoder
|
DoubleMetaphone(int maxCodeLength,
boolean useAlternate)
Deprecated.
Creates an instance of the DoubleMetaphone simplifier with a
maxCodeLength. |
| Modifier and Type | Method and Description |
|---|---|
String |
simplify(String input)
Deprecated.
Simplifiers the input string.
|
String |
toString()
Deprecated.
|
public DoubleMetaphone()
public DoubleMetaphone(int maxCodeLength,
boolean useAlternate)
maxCodeLength. All encodings will have at most
maxCodeLength characters.maxCodeLength - the maximum length of the codeuseAlternate - use alternate encodepublic String simplify(String input)
Simplifiersimplify in interface Simplifierinput - string to simplifyCopyright © 2014–2016. All rights reserved.