concepts.language.neural_ccg.search.NeuralCCGLexiconSearchResult#
- class NeuralCCGLexiconSearchResult[source]#
Bases:
object
A data structure representing the search result of a neural CCG lexicon searcher.
Methods
Attributes
The syntax type of the lexicon.
The semantic form of the lexicon.
Optionally, the executor for the semantic form.
- __init__(syntax, semantics, executor)#
- Parameters:
syntax (NeuralCCGSyntaxType)
semantics (None | ConstantExpression | Function | FunctionApplicationExpression)
executor (NeuralCCGGroundingFunction | None)
- Return type:
None
- __new__(**kwargs)#
- executor: NeuralCCGGroundingFunction | None#
Optionally, the executor for the semantic form.
- semantics: None | ConstantExpression | Function | FunctionApplicationExpression#
The semantic form of the lexicon.
- syntax: NeuralCCGSyntaxType#
The syntax type of the lexicon.