eta.transducers.base.AffectTransducer
- class AffectTransducer[source]
 Bases:
TransducerMaps the word content of an utterance to an appropriate affect, given a conversation history.
- Parameters:
 words (str) – The words to match to an appropriate affect.
conversation_log (list[DialogueTurn]) – The conversation history to use as context for affect detection.
- Returns:
 A list of affects.
- Return type:
 
Methods
Report cumulative costs of applying this transducer.
- cost()
 Report cumulative costs of applying this transducer.