Versions Compared

Key

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

...

  • dictionary (string, required) - The dictionary resource which holds the names and to be located in the text.
    • This is specified as "provider:name" in the standard resource format (INSERT LINK HERE).
  • requiredFlags (string array, optional) - Only process the tokens with the specified flags.
    • A JSON array of strings, such as ["TOKEN", "ALL_LOWER_CASE"]
  • 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",
 "dictionary":"dict-provider:people-lowercase",
 "requiredFlags":["TOKEN", "ALL_LOWER_CASE"],
 "skipFlags": ["SKIP"]
}

...