eta.discourse.Utterance
- class Utterance(agent, words, affect='neutral')[source]
Bases:
object
Represents a single utterance, which contains both the words of the utterance and an affect.
- Parameters:
agent –
- wordsstr
The content of the utterance.
- affectstr, default=’neutral’
The affect of the utterance. Must be contained within the list of supported emotions.
Methods