NCBracketsTokenEnricher
Brackets token enricher.
This enricher adds brackets
boolean metadata property to the token
instance if the word it represents is enclosed in brackets. Supported brackets are: ()
, {}
, []
and <>
.
NOTE: invalid enclosed brackets are ignored and for all input tokens property brackets
assigned as false
.
Value members
Concrete methods
Enriches, or otherwise modifies, previously parsed tokens.
Enriches, or otherwise modifies, previously parsed tokens.
- Definition Classes
- Source:
- NCBracketsTokenEnricher.scala
Inherited methods
Called when the component starts. Default implementation is no-op.
Called when the component starts. Default implementation is no-op.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- Inherited from:
- NCLifecycle
- Source:
- NCLifecycle.scala
Called when the component stops. Default implementation is no-op.
Called when the component stops. Default implementation is no-op.
- Value parameters:
- cfg
Configuration of the model this component is associated with.
- Inherited from:
- NCLifecycle
- Source:
- NCLifecycle.scala