...
...
Operates On: Lexical Items with TOKEN within TEXT_BLOCK_SPLIT or SENTENCE_SPLIT vertex flags.
Saga_is_recognizer
Library: saga-classification-trainer-stage
Tip |
---|
Models can be trained directly with OpenNLP tools or from the Saga UI. See Classifier Recognizer in the User Manual for more information on how to create a model using Saga. |
Note |
---|
The stage will use |
...
boundaryFlags specified to split the input text in sentences. All text between boundaries |
...
is considered a sentence and will be evaluated separately by the classifier. |
Include Page Generic Configuration Parameters Generic Configuration Parameters
Parameter | ||||||
---|---|---|---|---|---|---|
|
Parameter | ||||||||
---|---|---|---|---|---|---|---|---|
|
Parameter | ||||
---|---|---|---|---|
|
Saga_config_stage | ||||||
---|---|---|---|---|---|---|
| ||||||
"tagWith": "NAME-OF-OUTPUT-TAG",
"prob": "0.95",
"model": ".\model-file.bin" |
Example Output
...
In this case, a sentence breaker stage was configured before the classifier stage. The tagWith value is animal-incident for this example.
Saga_graph |
---|
V-------------------------------------[BIRD STRIKE DURING DESCENT. DAMAGE LIMITED TO 18 INCH DENT BOTTOM OUTBOARD SIDE OF ENGINE COWLING.]--------------------------------------V
^-----------[BIRD STRIKE DURING DESCENT]-----------V------------------------[DAMAGE LIMITED TO 18 INCH DENT BOTTOM OUTBOARD SIDE OF ENGINE COWLING]------------------------V-[]-^
^---[BIRD]---V---[STRIKE]---V-[DURING]-V-[DESCENT]-^--[DAMAGE]--V-[LIMITED]-V-[TO]-V-[18]-V-[INCH]-V-[DENT]-V-[BOTTOM]-V-[OUTBOARD]-V-[SIDE]-V-[OF]-V-[ENGINE]-V-[COWLING]-^
^---[bird]---^---[strike]---^-[during]-^-[descent]-^--[damage]--^-[limited]-^-[to]-^ ^-[inch]-^-[dent]-^-[bottom]-^-[outboard]-^-[side]-^-[of]-^-[engine]-^-[cowling]-^
^--[{bird}]--^-[{physical}]-^--[dure]--^ ^-[{damage}]-^--[limit]--^
^-[{animal}]-^--[{damage}]--^
^---------------[{animal-incident}]----------------^ |
...
...
Info |
---|
No vertices are created in this stage. |