dialoguekit.core.slot_value_annotation¶
Interface representing slot-value annotations.
Classes¶
Instantiates a slot-value annotation. |
Module Contents¶
- class dialoguekit.core.slot_value_annotation.SlotValueAnnotation(slot: str, value: str | None = None, start: int | None = None, end: int | None = None)¶
Bases:
dialoguekit.core.annotation.Annotation
Instantiates a slot-value annotation.
- Parameters:
slot – Slot name.
value – Slot value. Defaults to None.
start – Start index of the slot value in the utterance. Defaults to None.
end – End index of the slot value in the utterance. Defaults to None.
- slot: str¶
- start: int¶
- end: int¶