public class ToUninflectTerm extends Transformation
History:
NO_MUTATE_INFO, UPDATE
Constructor and Description |
---|
ToUninflectTerm() |
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,
java.sql.Connection conn,
RamTrie trie,
boolean detailsFlag,
boolean mutateFlag)
Performs the mutation of this flow component.
|
protected static java.util.Vector<LexItem> |
UninflectTerm(LexItem in,
java.sql.Connection conn,
RamTrie trie,
java.lang.String infoStr,
boolean detailsFlag,
boolean mutateFlag)
Get uninflected variants from a specified term from Lvg facts and rules.
|
GetTestStr, PrintResult, PrintResults, UpdateLexItem, UpdateLexItem, UpdateLexItem
public static java.util.Vector<LexItem> Mutate(LexItem in, java.sql.Connection conn, RamTrie trie, boolean detailsFlag, boolean mutateFlag) throws java.sql.SQLException
in
- a LexItem as the input for this flow componentconn
- LVG database connectiontrie
- LVG RamtriedetailsFlag
- a boolean flag for processing details informationmutateFlag
- a boolean flag for processing mutate informationjava.sql.SQLException
- if errors occurr while connect to LVG database.DbBase
,
RamTrie
public static void main(java.lang.String[] args)
args
- argumentsprotected static java.util.Vector<LexItem> UninflectTerm(LexItem in, java.sql.Connection conn, RamTrie trie, java.lang.String infoStr, boolean detailsFlag, boolean mutateFlag)
in
- a LexItem as the input for this flow componentconn
- LVG database connectiontrie
- LVG Ram trieinfoStr
- the header of detail information, usually is the
full name of the current flowdetailsFlag
- a boolean flag for processing details informationmutateFlag
- a boolean flag for processing mutate informationDbBase