Get Unicode Base Synonym
This flow returns the Unicode base synonyms from the input using table mapping method. The mapping table is defined in the file of $LVG/data/Unicode/unicodeSynonymMap.data. Users may add/modify this file from the default set for their applications. Please refer to the design documents of get Unicode Synonyms for details.
When the -m flag is specified, the detail mutate operations for each characters of the input string are added after the standard set of lvg output fields. There are two basic mutate operations for stripping diacritics as shown in following table:
Operations | Descriptions | Example |
---|---|---|
NO | No operation | µ -> µ |
MP | Table lookup mapping | μ -> µ |
This flow is simplified (from previous versions) to just return the base of Unicode synonym from the defined mapping table since 2008. Please note that the output of this flow is Unicode (not ASCII).
shell> lvg -f:q4 -m µ µ|µ|2047|16777215|q4|1|NO| μ μ|µ|2047|16777215|q4|1|MP|More examples