Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

All possibilities are tagged, including overlaps and sub-patterns, with the expectation that later disambiguation stages will choose which tags are the correct interpretation.

Configuration Parameters

  • patterns (string, required) - The resource which contains the pattern database
    • See below for the format.
  • caseInsensitive (boolean, optional) - If true, all regex will be process as case insensitive (default = true)
  • skipFlags (string array, optional) - Flags to be skipped by this stage
    • Tokens marked with this flags will be ignore by this stage, and no process will be performed.
  • requireFlags (string array, optional)
    • Tokens need to have all the specified flags, in order to be processed
  • debug (boolean, optional)
    • Enable all debug log functionality of the stage, if any.


Code Block
languagejs
themeEclipse
titleExample Configuration
{
 "type":"DictionaryTagger",
 "patterns":"regex-provider:patterns",
 "caseInsensitive": true
}

...