Excerpt |
---|
Detects synonyms specified and generates a normalize token |
Operates On: Lexical Items with TOKEN
...
and possibly other flags as specified below.
...
Parameter |
---|
summary | The resource which contains the synonyms database |
---|
name | synonyms |
---|
required | true |
---|
|
Saga_config_stage |
---|
boundaryFlags | text block split |
---|
stage | SynonynStage |
---|
title | Stage Config |
---|
|
"synonyms": "saga_provider:synonym_patterns" |
Example Output
Description
Saga_graph |
---|
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]-^ |
...
Saga_json |
---|
|
"_id": "Q28260KGAAJGsBemSwA0nZTLXA",
"norm": "red",
"synonyms":[
"cardinal", "coral", "crimson", "flaming", "glowing", "maroon", "rose", "wine", "red"
],
"options" : {
"caseInsensitive" : true
},
"confAdjust": 0.95
. . . additional fields as needed go here . . . |
Note |
---|
- Additional fielded data can be added to the record
As - ; as needed by downstream processes.
|
Fields
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 |
---|
|
Parameter |
---|
summary | Specifies the confidence level of the entry, independent of any patterns matched |
---|
name | confAdjust |
---|
type | boolean |
---|
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 |
---|
|
parameter
...
summary | Date in milliseconds of the last time the entry was updated |
---|
name | updatedAt |
---|
type | date epoch |
---|
required | true |
---|
| Generic Resource Fields |
---|
| Generic Resource Fields |
---|
|
...