...
Include Page |
---|
| Generic Configuration Parameters |
---|
| Generic Configuration Parameters |
---|
|
Configuration Parameters
...
Parameter |
---|
summary | if used with automatic pipeline creation, it assigns the tag to which the recognizer belongs to. |
---|
default | match |
---|
name | tagWith |
---|
|
Parameter |
---|
summary | Probability threshold. Will only tag sentences that match better or equal to prob. |
---|
default | 0.95 |
---|
name | prob |
---|
type | double |
---|
|
Parameter |
---|
summary | File location of the model. |
---|
name | model |
---|
|
Code Block |
---|
language | js |
---|
theme | Eclipse |
---|
title | Example Configuration |
---|
|
{
"type":"ClassificationStage",
"tagWith": "NAME-OF-OUTPUT-TAG", //if used with automatic pipeline creation, it assigns the tag to which the recognizer belongs to.
"prob": "0.95", //probability threshold. Will only tag sentences that match better or equal to prob.
"model": ".\model-file.bin"
} |
...
For this case a sentence breaker stage was configured before the classifier stage. tagWith value is animal-incident for this example
Code Block |
---|
language | text |
---|
theme | FadeToGrey |
---|
|
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}]----------------^ |
Output Flags
Lex-Item Flags:
- TEXT_BLOCK CLASSIFICATION - Flags all text blocks produced by the SimpleReader
- LANG_??? - Flags all text blocks where a language was identified. Notice '???' at the end of the Flag. This is replaced by a ISO 3 letter language code. For example, if Spanish is detected, 3 letter code is SPA, then Flag will be "LANG_SPA"
Vertex Flags:
...
- the sentence that matched the model's criteria.
- SEMANTIC_TAG - Flags the sentence that matched as a semantic tag.
Vertex Flags:
Info |
---|
No vertices are created in this stage. |