dialoguekit.nlu.slot_value_annotator¶
Interface for slot-value pairs annotation.
Classes¶
Instantiates a slot annotator. |
Module Contents¶
- class dialoguekit.nlu.slot_value_annotator.SlotValueAnnotator¶
Bases:
dialoguekit.nlu.annotator.Annotator
Instantiates a slot annotator.
- abstract get_annotations(utterance: dialoguekit.core.utterance.Utterance) List[dialoguekit.core.slot_value_annotation.SlotValueAnnotation] ¶
Annotates utterance.
- Parameters:
utterance – Utterance to annotate.
- Raises:
NotImplementedError – If not implemented in derived class.
- Returns:
List of annotations.