SampoNLP: A Self-Referential Toolkit for Morphological Analysis of Subword Tokenizers
Iaroslav Chelombitko, Ekaterina Chelombitko, Aleksey Komissarov

TL;DR
SampoNLP is a novel toolkit that creates morphological lexicons for Uralic languages without relying on existing resources, enabling systematic evaluation of subword tokenizers and providing practical vocabulary size recommendations.
Contribution
It introduces SampoNLP, a corpus-free, MDL-inspired toolkit for morphological lexicon creation tailored for low-resource, morphologically rich languages, and proposes a new metric for tokenizer evaluation.
Findings
High-purity lexicons for Finnish, Hungarian, and Estonian generated.
Optimal vocabulary sizes identified for BPE tokenizers in these languages.
Demonstrates limitations of standard BPE for agglutinative languages.
Abstract
The quality of subword tokenization is critical for Large Language Models, yet evaluating tokenizers for morphologically rich Uralic languages is hampered by the lack of clean morpheme lexicons. We introduce SampoNLP, a corpus-free toolkit for morphological lexicon creation using MDL-inspired Self-Referential Atomicity Scoring, which filters composite forms through internal structural cues - suited for low-resource settings. Using the high-purity lexicons generated by SampoNLP for Finnish, Hungarian, and Estonian, we conduct a systematic evaluation of BPE tokenizers across a range of vocabulary sizes (8k-256k). We propose a unified metric, the Integrated Performance Score (IPS), to navigate the trade-off between morpheme coverage and over-splitting. By analyzing the IPS curves, we identify the "elbow points" of diminishing returns and provide the first empirically grounded…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Text Readability and Simplification
