concepts.language.neural_ccg.grammar.NeuralCCGSemanticsExecutionBuffer#

class NeuralCCGSemanticsExecutionBuffer[source]#

Bases: object

A small data structure that contains the execution buffer, partial type, and number of execution steps. This is used in the underlying implementation of the conjunction-typed semantics.

Methods

Attributes

__init__(execution_buffer=None, partial_type=None, nr_execution_steps=0)#
Parameters:
Return type:

None

__new__(**kwargs)#
execution_buffer: List[None | Callable | Value] | None = None#
nr_execution_steps: int = 0#
partial_type: List[str] | None = None#