eta.transducers.tt.TTParaphraseTransducer
- class TTParaphraseTransducer(rule_dirs)[source]
 Bases:
TTTransducer,ParaphraseTransducerMethods
TT is performed locally so does not incur any cost.
- __call__(gist, conversation_log, facts_bg, facts_fg)[source]
 Choose a result for some input using TT.
- Parameters:
 inputs (str or list[str] or s-expr) – The input or inputs to use for choosing a result. If the input is a string or list of strings (where none of the strings are quoted expressions), it is used to create a single word list after concatenating each substring. Otherwise, the input is an S-expression and is used directly as input.
- Returns:
 A list of chosen results (which may be processed further by the specific transducer instance).
- Return type:
 
- cost()
 TT is performed locally so does not incur any cost.