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).
  • required (string, optional) - Only process the tokens with the specified flags.
    • A JSON array of strings, such as ["TOKEN", "ALL_LOWER_CASE"]

TO DO:  CONFIGURATION TO ALLOW FOR A SIMPLE LIST OF PHRASES WITH A SINGLE SEMANTIC TAG FOR EVERYTHING (NO ENTITY IDs)


Code Block
languagejs
titleExample Configuration
{
 "type":"DictionaryTagger",
 "dictionary":"dict-provider:people-lowercase",
 "required":["TOKEN", "ALL_LOWER_CASE"]
}

...