concepts.language.ccg.semantics#

Data structures for semantic forms in a linguistic CCG.

The basic class is CCGSemantics, which is a wrapper of a semantic form (a functor or a value). There is a

Classes

CCGSemantics

CCGSemantics is a wrapper of a semantic form (a functor or a value).

CCGSemanticsConjFunction

CCGSemanticsConjFunction is a wrapper that represents the semantics form of a conjunction term (e.g., AND).

CCGSemanticsLazyValue

A wrapper that represents the semantic form of a node that is not yet evaluated.

CCGSemanticsSimpleConjFunction

A simple implementation for CCGSemanticsConjValue.

CCGSemanticsSugar

A syntax sugar that allows users to write CCG semantics in a more natural way.

Exceptions

CCGSemanticsCompositionError

Raised when the semantics composition fails.