concepts.language.ccg.learning#

Algorithms for learning CCG entries from exmaples.

Functions

auto_research_novel_words(...)

A helper function that automatically perform re-search for known words in a sentence.

by_grounding(by_parsing_learning_func, ccg, ...)

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

by_parsing(ccg, sentence, *[, novel_words, ...])

Learn CCG lexicon entries from a sentence by trying to parse the sentence.

by_parsing_with_lexicon_gen(ccg, sentence, ...)

Learn CCG lexicon entries from a sentence by trying to parse the sentence.

Classes

CCGLearningResult

The result of CCG learning.