dialoguekit.nlu.slot_annotator¶
Interface for slot annotation.
Classes¶
Instantiates a slot annotator. |
Module Contents¶
- class dialoguekit.nlu.slot_annotator.SlotAnnotator¶
Bases:
abc.ABC
Instantiates a slot annotator.
- abstract get_annotations(utterance: dialoguekit.core.utterance.Utterance) List[dialoguekit.core.annotation.Annotation] ¶
Annotates utterance.
- Parameters:
utterance – Utterance to annotate.
- Raises:
NotImplementedError – If not implemented in derived class.
- Returns:
List of annotations.