Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include Page
Generic Configuration Parameters
Generic Configuration Parameters

Configuration Parameters

...

  • Parameter
    summaryif used with automatic pipeline creation, it assigns the tag to which the recognizer belongs to.
    defaultmatch
    nametagWith
  • Parameter
    summaryProbability threshold. Will only tag sentences that match better or equal to prob.
    default0.95
    nameprob
    typedouble
  • Parameter
    summaryFile location of the model.
    namemodel


Code Block
languagejs
themeEclipse
titleExample 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
languagetext
themeFadeToGrey
 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.