dialoguekit.nlu.slot_annotator¶
Interface for slot-value pairs annotation.
Classes¶
Instantiates a slot annotator. |
Module Contents¶
- class dialoguekit.nlu.slot_annotator.SlotValueAnnotator¶
Bases:
abc.ABC
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.