core.feature_handler¶
Interface to build feature vector for neural-based user simulator.
Attributes¶
Classes¶
Helper class that provides a standard way to create an ABC using |
Module Contents¶
- core.feature_handler.FeatureVector¶
- core.feature_handler.FeatureMask¶
- class core.feature_handler.FeatureHandler¶
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- abstract build_input_vector(utterance: dialoguekit.core.annotated_utterance.AnnotatedUtterance, **kwargs) Tuple[FeatureVector, FeatureMask] ¶
Builds the input vector for a given utterance.
- Parameters:
utterance – Annotated utterance.
kwargs – Additional arguments.
- Raises:
NotImplementedError – If not implemented in derived class.
- Returns:
Input vector and mask.