public class ToNormUnicode extends Transformation implements java.lang.Cloneable
History:
NO_MUTATE_INFO, UPDATE
Constructor and Description |
---|
ToNormUnicode() |
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.util.Hashtable<java.lang.Character,java.lang.String> symbolMap,
java.util.Hashtable<java.lang.Character,java.lang.String> unicodeMap,
java.util.Hashtable<java.lang.Character,java.lang.String> ligatureMap,
java.util.Hashtable<java.lang.Character,java.lang.Character> diacriticMap,
java.lang.String startTag,
java.lang.String endTag,
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.util.Hashtable<java.lang.Character,java.lang.String> symbolMap, java.util.Hashtable<java.lang.Character,java.lang.String> unicodeMap, java.util.Hashtable<java.lang.Character,java.lang.String> ligatureMap, java.util.Hashtable<java.lang.Character,java.lang.Character> diacriticMap, java.lang.String startTag, java.lang.String endTag, boolean detailsFlag, boolean mutateFlag)
in
- a LexItem as the input for this flow componentsymbolMap
- a hash table contain the unicode symbols mappingunicodeMap
- a hash table contain the unicode mappingligatureMap
- a hash table contains the mapping of ligaturesdiacriticMap
- a hash table contains the mapping of diacriticsstartTag
- the starting tag for symbol name (default: ![ )endTag
- the ending tag for symbol name (default: ]! )detailsFlag
- a boolean flag for processing details informationmutateFlag
- a boolean flag for processing mutate informationpublic static void main(java.lang.String[] args)
args
- arguments