concepts.language.ccg.semantics.CCGSemanticsLazyValue#
- class CCGSemanticsLazyValue[source]#
Bases:
object
A wrapper that represents the semantic form of a node that is not yet evaluated. Specifically, this function stores the composition type and the individual components.
Methods
execute
()Execute the lazy value recursively and return the semantic form.
Attributes
The composition type.
The conjunction function (optional).
The left-hand side semantics.
The right-hand side semantics.
- __init__(composition_type=None, lhs=None, rhs=None, conj=None)#
- Parameters:
composition_type (CCGCompositionType | None)
lhs (CCGSemantics | CCGSemanticsLazyValue | None)
rhs (CCGSemantics | CCGSemanticsLazyValue | None)
conj (Callable | None)
- Return type:
None
- __new__(**kwargs)#
- composition_type: CCGCompositionType | None = None#
The composition type.
- lhs: CCGSemantics | CCGSemanticsLazyValue | None = None#
The left-hand side semantics.
- rhs: CCGSemantics | CCGSemanticsLazyValue | None = None#
The right-hand side semantics.