Skip to main content

Module dialect

Module dialect 

Source
Expand description

Dialect dispatcher - picks grammar rule set per tokenizer generation.

Empirical basis: F-Gram per-rule per-tokenizer sweep (commit 692d3e6). See docs/DIALECT_FAMILY.md for the full specification, crossover data, and kill-switches that gate future dialect additions.

Copyright (c) 2026 Mikko Parkkola. Licensed under PolyForm Noncommercial 1.0.

Enums§

Dialect
The set of shipped Pithy dialects. Frozen at v0.1.
Rule
The grammar rules that can be emitted by an encoder.

Functions§

pick_dialect
Pick the dialect for a given model, keyed on tokenizer generation (per F-Gram).
rules_for
Return the ordered list of rules enabled for a given dialect.