mlsanityData to 14 Oct 2026

Type-Driven Tokenization for Brahmic Scripts

arXiv 2609.22125 ↗First posted 21 Aug 2026cs.CL cs.FLcited by 0

Not on the map. Why?

Abstract (arXiv)

Standard tokenizers used in large language models produce malformed text when applied to Brahmic scripts. They are a family of abugidas, writing systems whose consonants carry an inherent vowel that dependent marks can modify. They include Devanagari, Telugu, Tamil, Kannada, and others. The underlying issue is that these tokenizers violate orthographic constraints that do not arise in alphabetic scripts like English. We observe that while English orthography forms a semigroup (any two valid tokens can be freely concatenated), Brahmic orthography forms a partial semigroup: not every concatenation yields a valid string. We formalise this distinction in Agda, model valid Brahmic tokens as chains in a transition system, and derive a provably correct textttfixToken function that extends any candidate token to respect orthographic boundaries. We then show how this formal derivation translates into a practical patch for SentencePiece as well as a standalone Rust-based pre-tokenizer library, eliminating the observed errors across Indic scripts.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 5 of its 17 references that are in the map. First posted on arXiv 21 Aug 2026.

Builds on

5 of 17 references.

References · 5

  1. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  2. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  3. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  4. 2016Orthographic Syllable as basic unit for SMT between Related Languagescited by 7
  5. 2025A dependently-typed calculus of event telicity and culminativitycited by 1

Built on by

Not cited yet.