public class ToMetaphone extends Transformation implements java.lang.Cloneable
History:
NO_MUTATE_INFO, UPDATE| Constructor and Description |
|---|
ToMetaphone() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
A unit test driver for this flow component.
|
static java.util.Vector<LexItem> |
Mutate(LexItem in,
int maxCodeLength,
boolean detailsFlag,
boolean mutateFlag)
Performs the mutation of this flow component.
|
GetTestStr, PrintResult, PrintResults, UpdateLexItem, UpdateLexItem, UpdateLexItempublic static java.util.Vector<LexItem> Mutate(LexItem in, int maxCodeLength, boolean detailsFlag, boolean mutateFlag)
in - a LexItem as the input for this flow componentmaxCodeLength - maxinum code length for metaphone codedetailsFlag - a boolean flag for processing details informationmutateFlag - a boolean flag for processing mutate informationpublic static void main(java.lang.String[] args)
args - arguments