public class ToInflection extends Transformation implements java.lang.Cloneable
History:
NO_MUTATE_INFO, UPDATE
Constructor and Description |
---|
ToInflection() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Vector<LexItem> |
InflectWords(LexItem in,
java.sql.Connection conn,
RamTrie trie,
int restrictFlag,
java.lang.String infoStr,
boolean detailsFlag,
boolean mutateFlag,
int flowName)
Performs the mutation of this flow component.
|
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,
int restrictFlag,
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, java.sql.Connection conn, RamTrie trie, int restrictFlag, boolean detailsFlag, boolean mutateFlag)
in
- a LexItem as the input for this flow componentconn
- LVG database connectiontrie
- LVG Ram trie for inflectionrestrictFlag
- a numerical flag to filter the output. It's
values are defined in LvgFlowSpecificOption as: LVG_ONLY, LVG_OR_ALL, ALL.detailsFlag
- a boolean flag for processing details informationmutateFlag
- a boolean flag for processing mutate informationDbBase
,
LvgFlowSpecificOption
public static void main(java.lang.String[] args)
args
- argumentsstatic java.util.Vector<LexItem> InflectWords(LexItem in, java.sql.Connection conn, RamTrie trie, int restrictFlag, java.lang.String infoStr, boolean detailsFlag, boolean mutateFlag, int flowName)
in
- a LexItem as the input for this flow componentconn
- LVG database connectiontrie
- LVG Ram trierestrictFlag
- a numerical flag to filter the output. It's
values are defined in LvgFlowSpecificOption as:
infoStr
- 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 informationflowName
- the abbreviation of this flow component for historyDbBase