concepts.language.ccg.grammar#

Data structures and algorithms for lexicon, grammar and parsing.

Module attributes

LexiconUnion

A syntax sugar that allows users to define several lexicon entries for a single word.

Functions

compose_ccg_nodes(lhs, rhs[, composition_type])

Compose two CCG nodes.

Classes

CCG

The data structure of a CCG grammar and the implementation for parsing.

CCGNode

A node in the CCG parsing tree.

Lexicon

The data structure for lexicon entries.

Exceptions

CCGParsingError

An exception raised when parsing fails.