This rule checks the input value against a list of values in the specified lexicon file. This generally used for token matching. The lexicon files are located in the same directory as the process definition file (the instance folder for the data type or variant).
The syntax for lexicon is:
<lexicon resource="file_name/> |
The parameter for lexicon is:
resource – The name of the lexicon file to use to look up the input value to ensure correct tokenization.
The following sample checks the input value against the list in the givenName.txt file. When a value is matched, the standardization engine continues to the postprocessing phase if one is defined.
<lexicon resource="givenName.txt"/> |