NCTokenEnricher

Optional pipeline component that can enrich previously parsed tokens. See NCPipeline for documentation on the token enricher place in the overall processing pipeline.

See also:
Source:
NCTokenEnricher.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def enrich(req: NCRequest, cfg: NCModelConfig, toks: List[NCToken]): Unit

Enriches, or otherwise modifies, previously parsed tokens.

Enriches, or otherwise modifies, previously parsed tokens.

Value parameters:
cfg

Model configuration.

req

Original request.

toks

Previously parsed tokens to enrich.

Source:
NCTokenEnricher.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