notice
This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).
rasa.nlu.featurizers.dense_featurizer.mitie_featurizer
MitieFeaturizer Objects
A class that featurizes using Mitie.
required_components
Components that should be included in the pipeline before this component.
get_default_config
Returns the component's default config.
required_packages
Any extra python dependencies required for this component to run.
__init__
Instantiates a new MitieFeaturizer
instance.
create
Creates a new untrained component (see parent class for full docstring).
validate_config
Validates that the component is configured properly.
ndim
Returns the number of dimensions.
process
Featurizes all given messages in-place.
Returns:
The given list of messages which have been modified in-place.
process_training_data
Processes the training examples in the given training data in-place.
Arguments:
training_data
- Training data.model
- A Mitie model.
Returns:
Same training data after processing.
features_for_tokens
Calculates features.