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

syntax

The syntax type of the lexicon.

semantics

The semantic form of the lexicon.

executor

Optionally, the executor for the semantic form.

__init__(syntax, semantics, executor)#
Parameters:
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.