concepts.language.ccg.learning.CCGLearningResult#

class CCGLearningResult[source]#

Bases: object

The result of CCG learning.

Methods

Attributes

words

The list of words learned by the algorithm.

lexicons

The list of lexicons learned by the algorithm.

parsing_results

The parsing results of the entire sentence based on the learned lexicons.

__init__(words, lexicons, parsing_results)#
Parameters:
Return type:

None

__new__(**kwargs)#
format_summary()[source]#
print_summary()[source]#
lexicons: Tuple[Lexicon, ...]#

The list of lexicons learned by the algorithm. It is a tuple of lexicons that has the same length as words.

parsing_results: Tuple[CCGNode, ...]#

The parsing results of the entire sentence based on the learned lexicons.

words: Tuple[str, ...]#

The list of words learned by the algorithm.