public class ToStripNecNos extends Transformation implements java.lang.Cloneable
where $ is the end the string.
The design and implementation of this class is not general. More details specification need to be addressed, such as in the case of ", NEC" and ", NOS". In addition, the issue of tokenizing and puncuations need to be addessed.
History:
NO_MUTATE_INFO, UPDATE
Constructor and Description |
---|
ToStripNecNos() |
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,
boolean detailsFlag,
boolean mutateFlag)
Performs the mutation of this flow component.
|
GetTestStr, PrintResult, PrintResults, UpdateLexItem, UpdateLexItem, UpdateLexItem
public static java.util.Vector<LexItem> Mutate(LexItem in, boolean detailsFlag, boolean mutateFlag)
in
- a LexItem as the input for this flow componentdetailsFlag
- a boolean flag for processing details informationmutateFlag
- a boolean flag for processing mutate informationpublic static void main(java.lang.String[] args)
args
- arguments