NCVariantFilter
A pipeline component that allows to filter out unnecessary parsing variants. Note that a given user input almost always has one or more possible different parsing variants. Furthermore, depending on the model configuration a user input can produce hundreds and even thousands of parsing variants. This is one of the user-defined components of the processing pipeline. See NCPipeline for documentation on the token parser place in the overall processing pipeline.
- See also:
- Source:
- NCVariantFilter.scala
Value members
Abstract methods
Filters out given parsing variants.
Filters out given parsing variants.
- Value parameters:
- cfg
Model configuration.
- req
Input request,
- vars
List of parsing variants to filter out.
- Returns:
List of filtered out parsing variants. Can be empty but should never be
null
.- Source:
- NCVariantFilter.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