public class ToRemoveS extends Transformation implements java.lang.Cloneable
History:
NO_MUTATE_INFO, UPDATE
Constructor and Description |
---|
ToRemoveS() |
Modifier and Type | Method and Description |
---|---|
static RTrieTree |
GetRTrieTreeFromFile(Configuration config)
Read in removeS file name from configuration file and retrun trie tree
|
static void |
main(java.lang.String[] args)
A unit test driver for this flow component.
|
static java.util.Vector<LexItem> |
Mutate(LexItem in,
RTrieTree trie,
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, RTrieTree trie, boolean detailsFlag, boolean mutateFlag)
in
- a LexItem as the input for this flow componenttrie
- trieTree for removing (s), (es), (ies),detailsFlag
- a boolean flag for processing details informationmutateFlag
- a boolean flag for processing mutate informationpublic static RTrieTree GetRTrieTreeFromFile(Configuration config)
config
- Configuratin objectpublic static void main(java.lang.String[] args)
args
- arguments