concepts.language.ccg.syntax#

Data structures for syntax types in a linguistic CCG.

Functions

parse_syntax_type(string[, syntax_system])

Parse a string to a syntax type.

Classes

CCGComposedSyntaxType

A composed syntax type (e.g., S/NP).

CCGConjSyntaxType

A conjunction syntax type.

CCGPrimitiveSyntaxType

The primitive syntax types (e.g., NP).

CCGSyntaxSystem

A data structure that keeps track of a set of primitive and conjunction syntax types allowed in a grammar.

CCGSyntaxType

Syntax types for CCG.

Exceptions

CCGSyntaxCompositionError

Raised when the composition of two syntax types is not allowed.

CCGSyntaxTypeParsingError

Raised when the parsing of a syntax type string fails.