concepts.language.ccg.search.CCGSemanticsSearchResult#

class CCGSemanticsSearchResult[source]#

Bases: object

Search result for CCGSemanticsSearcherBase.

Methods

Attributes

semantics

The candidate semantic form.

depth

The depth of the candidate semantics.

nr_constant_arguments

The number of constant arguments in the semantic form.

nr_variable_arguments

The number of variable arguments in the semantic form.

nr_function_arguments

The number of function arguments in the semantic form.

__init__(semantics, depth, nr_constant_arguments, nr_variable_arguments, nr_function_arguments)#
Parameters:
  • semantics (CCGSemantics) –

  • depth (int) –

  • nr_constant_arguments (int) –

  • nr_variable_arguments (int) –

  • nr_function_arguments (int) –

Return type:

None

__new__(**kwargs)#
depth: int#

The depth of the candidate semantics.

nr_constant_arguments: int#

The number of constant arguments in the semantic form.

nr_function_arguments: int#

The number of function arguments in the semantic form.

nr_variable_arguments: int#

The number of variable arguments in the semantic form.

semantics: CCGSemantics#

The candidate semantic form.