eta.discourse.DialogueTurn
- class DialogueTurn(utterance, gists=[], semantics=[], pragmatics=[], obligations=[], ep=None)[source]
Bases:
object
Represents a dialogue turn by an agent, which contains the utterance as well as any associated dialogue information.
- Parameters:
utterance (Utterance) – The utterance of this turn.
gists (list[str], optional) – A list of gist clauses capturing the meaning of this turn.
semantics (list[s-expr], optional) – A list of semantic interpretations of this turn.
pragmatics (list[s-expr], optional) – A list of pragmatic inferences drawn from this turn.
obligations (list[s-expr], optional) – A list of obligations created by this turn.
ep (str, optional) – The episode that this turn corresponds to.
Methods