eta.transducers.base.SemanticTransducer

class SemanticTransducer[source]

Bases: Transducer

Maps a gist clause to a list of ULF formulas capturing its semantic meaning.

Parameters:

gist (str) – The gist clause to parse to a logical form.

Returns:

A list of ULF S-expressions.

Return type:

list[s-expr]

Methods

cost

Report cumulative costs of applying this transducer.

__call__(gist)[source]

Map from input(s) to output.

cost()

Report cumulative costs of applying this transducer.