public class ToUninflectWords extends Transformation
History:
NO_MUTATE_INFO, UPDATE| Constructor and Description |
|---|
ToUninflectWords() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.Vector<java.lang.String> |
FormCombinations(java.util.Vector<java.util.Vector<java.lang.String>> inList)
Form the ouptut from a specified Vector.
|
static void |
main(java.lang.String[] args)
A unit test driver for this flow component.
|
static java.util.Vector<LexItem> |
Mutate(LexItem in,
int maxTerm,
java.sql.Connection conn,
RamTrie trie,
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 maxTerm, java.sql.Connection conn, RamTrie trie, boolean detailsFlag, boolean mutateFlag) throws java.sql.SQLException
in - a LexItem as the input for this flow componentmaxTerm - the max. no of result termsconn - LVG database connectiontrie - LVG Ram triedetailsFlag - a boolean flag for processing details informationmutateFlag - a boolean flag for processing mutate informationjava.sql.SQLException - if errors occurr while connect to LVG database.DbBasepublic static void main(java.lang.String[] args)
args - argumentsprotected static java.util.Vector<java.lang.String> FormCombinations(java.util.Vector<java.util.Vector<java.lang.String>> inList)
inList - is a Vector of Vector of String - uninflected term
for each word in a term.