concepts.language.ccg.learning.by_grounding#

by_grounding(by_parsing_learning_func, ccg, sentence, executor, criterion, **by_parsing_kwargs)[source]#

Learn a CCG lexicon from a sentence by both parsing the sentence and grounding the parsing result with a given executor.

Parameters:
Returns:

The result of the learning process, as a list of CCGLearningResult.

Return type:

List[CCGLearningResult]