concepts.language.neural_ccg.grammar.LinearizationTuple#
- class LinearizationTuple[source]#
Bases:
object
A pair of (index, direction) for representing linearization of function arguments.
Methods
Attributes
- __init__(index, direction)#
- Parameters:
index (int)
direction (CCGCompositionDirection)
- Return type:
None
- __new__(**kwargs)#
- direction: CCGCompositionDirection#
The direction of the linearization (left or right).