Excerpt |
---|
Creates n-grams from TOKEN lex items of size min-max. Breaks n-grams on SPLIT_FLAGS |
Operates On: Lexical Items with TOKEN and possibly other flags as specified below.
Saga_is_recognizer Recognizer false
Include Page | ||||
---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Saga_config_stage | ||
---|---|---|
| ||
"min": 2, "max": 3, "splitFlags": [], "ignoreOnBoundaryFlags": [] |
Saga_graph |
---|
V--------------[abraham lincoln likes macaroni and cheese]--------------------V ^--[abraham]--V--[lincoln]--V--[likes]--V--[macaroni]--V--[and]--V--[cheese]--^ ^---{place}---^ ^----{food}----^ ^---{food}---^ ^----------{person}---------^ ^-----------------{food}--------------^ |
Info |
---|
No vertices are created in this stage |
Description of resource.
Saga_json | ||
---|---|---|
| ||
"_id" : "KGAAJGsBemSwA0nZTLXA",
"tag": "recipe",
"pattern": "("how many"|"how much") {ingredient} ",
"confAdjust": 0.95
. . . additional fields as needed go here . . . |
Note |
---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||
---|---|---|---|---|---|---|
|
These will all be added to the interpretation graph with the SEMANTIC_TAG flag.
Tip |
---|
Tags are hierarchical representations of the same intent. For example, {city} → {administrative-area} → {geographical-area} |
Parameter | ||||||
---|---|---|---|---|---|---|
|