Versions Compared

Key

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

...

  • Parameter
    summaryThe resource which contains the synonyms database
    namesynonyms
    requiredtrue
Saga_config_stagecode
boundaryFlagstext block split
stageSynonynStage
languagejs
titleStage Config
"synonyms": "saga_provider:synonym_patterns"

Example Output

Code Block

...

saga_graph
language
text
V--------------[I'm the LUMINARY of this airbuscustomer]--------------V 
^---[I'm]---V-[the]-V-[LUMINARY]-V-[of]-V-[this]-V--[airbuscustomer]--^ 
^-[I]-V-[m]-^       ^--[cheese]--^               ^-[airplane]-^ 

...

The resource data is a database of synonyms patterns and the resulting tokens they produce..

Resource Format

Saga_jsoncode
TitleEntity Json Format
languagejs
"_id": "KGAAJGsBemSwA0nZTLXA",
"norm": "red",
"synonyms":[
   "cardinal", "coral", "crimson", "flaming", "glowing", "maroon", "rose", "wine", "red"
],
"options" : {
   "caseInsensitive" : true
},
"confAdjust": 0.95

. . . additional fields as needed go here . . . 

...

  • Parameter
    summaryThe normalize version of the word, if any token is match to any of the synonyms, the norm would be the new token created
    namenorm
    requiredtrue
  • Parameter
    summaryPossible tokens to be found in the graph.
    namesynonyms
    typestring array
    requiredtrue
    This is the confidence of the entry, in comparison to all of the other entries. Essentially, the likelihood that this entity will be randomly encountered.
  • Parameter
    summaryOptions for each set of synonyms
    defaultempty json
    nameoptions
    typejson
    • Parameter
      summaryIndicates if the search for synonyms must be case insensitive
      defaulttrue
      namecaseInsensitive
      typeboolean

...