concepts.language.ccg.search.CCGSyntaxSearcherBase#

class CCGSyntaxSearcherBase[source]#

Bases: object

Base class for syntax searchers.

Methods

gen()

Generate a list of candidate syntax types.

Attributes

syntax_system

The syntax system.

__init__(syntax_system)[source]#

Initialize the searcher.

Parameters:

syntax_system (CCGSyntaxSystem) – the syntax system, containing all primitive and conjunction syntax types.

__new__(**kwargs)#
gen()[source]#

Generate a list of candidate syntax types.

Returns:

A list of candidate syntax types.

Return type:

List[CCGSyntaxSearchResult]

property syntax_system#

The syntax system.