...
Parameter |
---|
summary | The resource which contains the synonyms database |
---|
name | synonyms |
---|
required | true |
---|
|
Saga_config_stagecode |
---|
boundaryFlags | text block split |
---|
stage | SynonynStage |
---|
language | js |
---|
title | Stage Config |
---|
|
"synonyms": "saga_provider:synonym_patterns" |
Example Output
Code Block |
---|
|
saga_graph |
V--------------[I'm the LUMINARY of this customer]--------------V
^---[I'm]---V-[the]-V-[LUMINARY]-V-[of]-V-[this]-V--[customer]--^
^-[I]-V-[m]-^ ^--[cheese]--^ ^-[airplane]-^ |
...
The resource data is a database of synonyms patterns and the resulting tokens they produce..
Resource Format
Saga_jsoncode |
---|
Title | Entity Json Format |
---|
language | js |
---|
|
"_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 |
---|
summary | The normalize version of the word, if any token is match to any of the synonyms, the norm would be the new token created |
---|
name | norm |
---|
required | true |
---|
|
Parameter |
---|
summary | Possible tokens to be found in the graph. |
---|
name | synonyms |
---|
type | string array |
---|
required | true |
---|
|
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 |
---|
summary | Options for each set of synonyms |
---|
default | empty json |
---|
name | options |
---|
type | json |
---|
|
Parameter |
---|
summary | Indicates if the search for synonyms must be case insensitive |
---|
default | true |
---|
name | caseInsensitive |
---|
type | boolean |
---|
|
...