public class ToSpellingVariants extends Transformation implements java.lang.Cloneable
History:
NO_MUTATE_INFO, UPDATE| Constructor and Description |
|---|
ToSpellingVariants() |
| 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,
boolean detailsFlag,
boolean mutateFlag)
Performs the mutation of this flow component.
|
protected static java.util.Vector<InflectionRecord> |
SpellingVariant(java.lang.String inStr,
java.sql.Connection conn)
Get spelling variants from Lvg DB
|
GetTestStr, PrintResult, PrintResults, UpdateLexItem, UpdateLexItem, UpdateLexItempublic static java.util.Vector<LexItem> Mutate(LexItem in, java.sql.Connection conn, boolean detailsFlag, boolean mutateFlag)
in - a LexItem as the input for this flow componentconn - LVG database connectiondetailsFlag - a boolean flag for processing details informationmutateFlag - a boolean flag for processing mutate informationDbBasepublic static void main(java.lang.String[] args)
args - argumentsprotected static java.util.Vector<InflectionRecord> SpellingVariant(java.lang.String inStr, java.sql.Connection conn)
inStr - the input term which will be found for it's spelling
variantsconn - LVG database connectionDbBase,
InflectionRecord