Excerpt |
---|
Filter tokens by their length size, setting a minimum and/or maximum limit. Can also replace the token tag by a new one. |
Operates On: Lexical Items with TOKEN and possibly other flags as specified below.
Saga_is_recognizer
Include Page | ||||
---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Saga_config_stage | ||
---|---|---|
| ||
"boundaryFlags": [],
"debug": false,
"tagText": false,
"tagName": "filtered",
"type": "LengthFilterStage",
"filterMin": false,
"minChars": 0,
"atLeastOneFlag": [],
"confidenceAdjustment": 1,
"requiredFlags": [],
"haltProcessing": true,
"maxChars": 100,
"filterMax": true,
"skipFlags": [] |
Filters by a minimum length of 10 (with option set to 10 instead of 100 and replacing token checked).
For example, the token: "ThisTokenIsLong" will produce the following graph:
Saga_graph |
---|
V-------[ThisTokenIsLong]-------V ^---------[{filtered}]----------^ |
Info |
---|
No vertices are created in this stage |