You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This recognizer works in a similar way to the Entity Recognizer in the sense that looks up sequences of tokens in a dictionary to match the text being processed. The difference is that it will also include in the matching text N tokens to the right and/or left of the original matched text. 

Configuration

  • Group tokens in its own tag ( type=boolean | default=false | optional ) - When true, the recognizer will create internal tags to tag the left part, the matched text and the right part
  • Matched tokens tagname ( type=string | default=_matchedTokens_ | optional ) - Internal Tag name for the matched text portion
  • Left tokens tag name ( type=string | default=_leftTokens_ | optional ) - Internal Tag name for the tokens at the left of the matched text
  • Right tokens tag name ( type=string | default=_rightTokens_ | optional ) - Internal Tag name for the tokens at the right of the matched text




Adding a Pattern

Click on the  button to open the "Add new Pattern" dialog


  • Pattern ( type=string | required ) - Space separated list of tags and/or tokens to be matched
  • Options
    • Max tokens to the left ( type=integer | default=0 | optional ) - Number of tokens to take to the left of the matched text
    • Max tokens to the right ( type=integer | default=3 | optional ) - Number of tokens to take a the right of the matched text
  • Confidence Adjustment ( type=double | default=1 | required ) - Adjustment factor to apply to the confidence value of 0.0 to 2.0 from (Applies for every pattern match).
    • 0.0 to < 1.0  decreases confidence value
    • 1.0 confidence value remains the same
    • > 1.0 to  2.0 increases confidence value



General Settings

The general settings can be accessed by clicking on

More settings could be displayed in the same dialog, it varies per recognizer.


  • Enable - Enable the processor to be use in pipelines.
  • Base Pipeline - Indicates the last stage, from a pipeline, needed by the recognizer.
  • Skip Flags ( optional ) - Lexical items flags to be ignored by this processor.
  • Boundary Flags  ( optional ) - List of vertex flags that indicate the beginning and end of a text block.
  • Required Flags ( optional ) - Lexical items flags required by every token to be processed.
  • At Least One Flag ( optional ) - Lexical items flags needed by every token to be processed.
  • Don't Process Flags ( optional ) - List of lexical items flags that are not processed. The difference with "Skip Flags" is that this will drop the path in the Saga graph, skip just skips the token and continues in the same path.
  • Confidence Adjustment - Adjustment factor to apply to the confidence value of 0.0 to 2.0 from (Applies for every match).
    • 0.0 to < 1.0  decreases confidence value
    • 1.0 confidence value remains the same
    • > 1.0 to  2.0 increases confidence value
  • Debug - Enable debug logging.





  • No labels