Versions Compared

Key

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

...

Operates On:  Lexical Items with TOKEN flagand possibly other flags as specified below.

Saga_is_recognizer
Recognizerfalse

Include Page
Generic Configuration Parameters
Generic Configuration Parameters

Configuration Parameters

  • Parameter
    summaryIf true, all tokens are normalized to all lower case
    defaulttrue
    namenormalize
    typeboolean
Code Block
languagejs
themeEclipse
titleExample Configuration
"normalize":false

Example Output

Code Block
languagetext
V--[Sentence]--V--[with]--V--[UPPER]--V--[and]--V--[LoWer]--V--[Words!]--V
^--[sentence]--^          ^--[upper]--^         ^--[lower]--^--[words!]--^{
  "type":"CaseAnalysis",
  "normalize":false
}


Output Flags

Note that flags are placed on every token as appropriate to the current token:

  • If the token is "President" then that token will have the TITLE_CASE flag.
  • If a new lower case normalized interpretation, "president" is added as an alternative; this alternative will have the "ALL_LOWER_CASE" flag.

Lex-Item Flags:

  • ALL_LOWER_CASE - All of the characters in the token are lower case characters.
  • ALL_UPPER_CASE - All of the characters in the token are upper case characters (for example, acronyms).
  • TITLE_CASE - The first character is upper case; all of the other characters are lower case.
  • MIXED_CASE - Handles any mixed upper & lower case scenario not covered above.
  • LOWERED - Applies only to tokens that were changed to all lower case; preexisting tokens with all lower case will not be marked with this flag.
  • TOKEN - Identifies that the Lex-Items produced by this stage are tokens and not text blocks.

Vertex Flags:

  • none

Example

With Defaults 

Info

No vertices are created in this stage

Code Block
languagetext
themeFadeToGrey
V--[Sentence]--V--[with]--V--[UPPER]--V--[and]--V--[LoWer]--V--[Words!]--V ^--[sentence]--^ ^--[upper]--^ ^--[lower]--^--[words!]--^