Documentation

Linglib.Core.FormalLanguage

Formal Language Classification #

Framework-agnostic classification of formal languages by generative capacity. This is the single canonical definition used throughout the library — phenomenon data files, theory modules, and study files all import this type rather than defining their own.

The four levels reflect the Chomsky hierarchy as relevant to natural language: regular (FSA), context-free (CFG), mildly context-sensitive (CCG, TAG, etc.), and context-sensitive (CSG).

Classification of formal languages by generative capacity.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For