One unified tokenizer.
Turkish, English, 22 Code Languages & Math.
QuatronTokenizer unifies morphological Turkish segmentation (KoktenV2), root-aware English BPE, and syntax-preserving code & LaTeX-Math tokenization under a single 128-aligned vocabulary with 20 strictly causal FiLM conditioning channels.
pip install quatron-tokenizer
cargo add quatron-core
cargo install quatron-cli
-
TR
| # | Channel | Value | Status |
|---|
Three specialized engines. Zero wasted allocations.
Shared read-only memory tables via Arc, flat O(1) lookup arrays, and bit-exact KOKTEN2S training shards.
KoktenV2 Morphology
Turkish root, suffix, and clitic-aware lossless segmentation with 19 Universal Dependencies causal channels projected into shared FiLM slots.
Codex Syntax & LaTeX-Math
Bounded O(N) lexer across 22 programming & shell languages plus LaTeX math, preserving single-digit arithmetic boundaries for reasoning models.
English Root/Affix BPE
en-seg-v1 surface scanner with irregular inflection tables, shared `[0, 16)` control IDs, and zero-copy Buffer views for PyTorch and NumPy.
Measured Hardware Throughput & Footprint
Real measurements on quatron-unified-81920 (16 logical threads, --release LTO=fat, 4.00 MB mixed corpus).
Arc