dialoguekit.nlu.annotator¶
Interface to annotate an utterance.
Classes¶
Initializes the annotator.  | 
Module Contents¶
- class dialoguekit.nlu.annotator.Annotator¶
 Bases:
abc.ABCInitializes the annotator.
- abstractmethod get_annotations(utterance: dialoguekit.core.utterance.Utterance) List[dialoguekit.core.annotation.Annotation]¶
 Annotates an utterance.
- Parameters:
 utterance – Utterance.
- Raises:
 NotImplementedError – If the method is not implemented in a subclass.
- Returns:
 List of annotations.
- abstractmethod save_annotator(path: str) None¶
 Saves the annotator to a given path.
- Parameters:
 path – Path to save the annotator.
- Raises:
 NotImplementedError – If the method is not implemented in a subclass.