A Grapheme-Aware Indic Tokenizer for Tamil: Large-Scale Training and Intrinsic Evaluation
Abstract
Tokenization forms the foundation of modern Natural Language Processing (NLP) systems by transforming raw text into discrete units that neural language models can process. The effectiveness of this process directly influences vocabulary efficiency, sequence length, computational cost, and downstream model performance. Although multilingual tokenizers such as Byte Pair Encoding (BPE), WordPiece, and SentencePiece have performed well across numerous languages, they often segment morphologically rich Indic languages inefficiently. Tamil, in particular, poses unique challenges because its grapheme-based writing system can represent a single visible character with multiple Unicode code points. In this work, we present a grapheme-aware Indic tokenizer for Tamil that preserves complete grapheme clusters through a reversible Unicode mapping strategy prior to WordPiece vocabulary learning. By operating on grapheme-level representations instead of individual Unicode code points, the tokenizer produces linguistically meaningful token boundaries while remaining fully compatible with transformer-based language models. The tokenizer is trained on a large-scale Tamil corpus and evaluated using a comprehensive intrinsic evaluation framework that measures compression efficiency, token fragmentation, information density, and vocabulary utilization. Experimental evaluation compares the proposed tokenizer against five widely used multilingual tokenizers: GPT-2, mBERT, mT5, mBART, and NLLB. The proposed tokenizer achieves the strongest performance among the evaluated tokenizers on fragmentation- and sequence-efficiency-oriented intrinsic metrics, while matching the highest observed compression ratio. These results demonstrate the effectiveness of grapheme-aware preprocessing for Tamil tokenization.
Create a lesson
Metadata
- Comments
- 10 pages, 1 figure
Related papers
PazaBench: Large-Scale ASR Benchmark for Low-Resource Languages in Africa
Shared title terminologycs.CLMercy Muchai, Nick Mumero Mwangi, Kevin Chege et al.
SEA-SpeechBench: A Large-Scale Multitask Benchmark for Speech Understanding Across Southeast Asia
Shared title terminologycs.CLJingyi Liao, Wenyu Zhang, Zhuohan Liu et al.
AuthBench: A Large-Scale Multilingual Benchmark for Authorship Representation across Genres and Lengths
Shared title terminologycs.CLMaoXun Huang, Zhenxing Zhang, Claire Cardie
DianShi-RxnDB: A Large-Scale, Fine-Grained Organic Reaction Data Platform Built via a Fully Automated Pipeline for Researchers and AI Agents
Shared title terminologycs.CLYubin Wang, Xingjian Wei, Jiang Wu et al.
Self-Supervised Lexical Representation Learning for Fast, Large-Scale Phylogenetic Inference
Shared title terminologycs.CLTim Wientzek
A Human-in-the-Loop Framework for AI-Assisted Scoring in Large-Scale Writing Assessment
Shared title terminologycs.CLMaría Eugenia Curi, Germán Capdehourat, Isabel Amigo et al.