dialoguekit.core.utterance

Interface representing the basic unit of communication.

Classes

Utterance

Represents an utterance.

Module Contents

class dialoguekit.core.utterance.Utterance(text: str, participant: dialoguekit.participant.participant.DialogueParticipant, timestamp: datetime.datetime | None = None)

Represents an utterance.

Parameters:
  • text – Utterance text.

  • participant – Who said the utterance.

  • timestamp – When was the utterance uttered.

property text: str

Returns the utterance text.

property participant: dialoguekit.participant.participant.DialogueParticipant

Returns the utterance participant.

property timestamp: datetime.datetime

Returns the utterance timestamp.