---
title: "Tokenization Standards for Linguistic Integrity: Turkish as a"
description: "A Turkish tokenizer benchmark compares vocabulary, speed, and linguistic fit, then examines how those measures relate to exam performance."
canonical: "https://research.elamur.ai/free/en/papers/ali-2025-tokenization-standards-linguistic-integrity-turkish/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/ali-2025-tokenization-standards-linguistic-integrity-turkish/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Tokenization Standards for Linguistic Integrity: Turkish as a Benchmark

# Tokenization Standards for Linguistic Integrity: Turkish as a Benchmark

Paper · 2025 · M. Ali Bayram, Ali Arda Fincan, Ahmet Semih Gümüş et al.

**Authors:** Bayram, M. Ali, Ali Arda Fincan, Ahmet Semih Gümüş, Sercan Karakaş, Banu Di̇ri̇ and Savaş Yıldırım · **Year:** 2025 · **Venue:** arXiv (Cornell University) · **Licence:** [CC BY-NC-ND 4.0 (arXiv)](https://creativecommons.org/licenses/by-nc-nd/4.0/)

arXiv (Cornell University) · [licence](https://creativecommons.org/licenses/by-nc-nd/4.0/)

- [arXiv 2502.07057](https://arxiv.org/abs/2502.07057)

## Summary

Splitting a Turkish word into tokens can preserve the pieces that carry its meaning, or it can cut across them. In *evlerimizden*, meaning “from our houses,” the root and successive endings convey the idea of a house, plurality, possession, and departure or origin. A sequence of arbitrary fragments can still reproduce the spelling while leaving those pieces hard to recognize. Keeping a larger stretch intact can also conceal an internal boundary. The paper asks how to tell these outcomes apart when evaluating [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/).

The authors apply their framework to TR-MMLU, a Turkish benchmark of 6,200 multiple-choice questions. Alongside vocabulary size, the number of tokens produced, and the time taken to tokenize the text, they report two percentages. Turkish Token Percentage, or %TR, asks how many distinct output tokens count as Turkish words. Pure Token Percentage, or %Pure, asks how many qualify as meaningful units that cannot be split further into meaningful parts. A word such as *evler*, meaning “houses,” can count toward the first percentage while failing the second because it combines a root with a plural ending. The distinction gives the comparison a way to describe two different kinds of fit to Turkish [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/).

Of the four systems compared, aya-expanse has the highest %TR at 50.67%. Gemma-2 achieves the highest %Pure at 37.05% and the highest TR-MMLU score at 72.10%. Across the evaluated systems, the association with exam scores is stronger for %TR, with a reported correlation of 0.90, than for %Pure, at 0.68. The rankings therefore tell a more nuanced story than the correlations alone. The system with the highest Turkish word percentage is competitive on the exam, and the system with the highest exam score leads on purity.

The evaluation also finds that a larger parameter count offers no guarantee of a better Turkish exam result in this comparison. Gemma-2 outscores the larger llama-3.1 and has higher values on both linguistic measures. Each tokenizer is evaluated alongside the system it belongs to, so the comparison leaves the effect of segmentation itself unresolved. What the authors establish is a way to examine linguistic fit alongside computational cost, and a reason to study both when assessing how Turkish text is represented.

## Deep dive: Tokenization Standards for Linguistic Integrity: Turkish as a Benchmark

A Turkish tokenizer benchmark compares vocabulary, speed, and linguistic fit, then examines how those measures relate to exam performance. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A word can contain several useful boundaries

A written word is a convenient unit when spaces indicate where it starts and ends. For Turkish, those spaces leave much of the structure inside the word unexplained. Turkish is agglutinative, meaning speakers can attach a sequence of morphemes to a root. A morpheme is a meaningful part of a word. It can supply the central lexical meaning, as a root does, or contribute grammatical information, as an ending does. A single Turkish word can therefore carry information that takes several separate words to express in an English gloss.

The paper’s example, *evlerimizden*, makes the choice facing a tokenizer concrete. There is a recognizable root, *ev*, and a plural form, *evler*. The whole word also expresses possession and the relation translated as “from.” A tokenizer can emit a sequence that follows much of this structure. It can also place a boundary after the first letter and include the rest of the root in a fragment that continues into the plural ending. The spelling remains present across the output sequence in either case. The location of the boundaries determines whether any of the individual tokens corresponds to the root or to a larger recognizable form.

This gives the authors two different reasons to inspect a segmentation. One is to see whether the pieces resemble words that Turkish speakers would recognize. The other is to see whether the pieces correspond to elementary units of meaning. The plural form *evler* brings the questions apart. The token is a valid form of a Turkish word, and its root and plural ending are still bundled together. Its linguistic validity and its internal complexity are separate properties.

The distinction also explains why dividing text into smaller and smaller pieces cannot by itself resolve the problem. Once a cut falls inside the root, the resulting pieces may carry less recognizable information. A very long piece raises a different issue. It may be a valid word while grouping several grammatical contributions under one token. The useful question concerns where a boundary falls, as well as how many boundaries there are.

The authors give an English example to show that the issue extends beyond Turkish. Their competing segmentations of *unbelievable* include an analysis that leaves *believe* intact and one that leaves the fragment *vable*. Both start from the same spelling. The example directs attention to whether the cuts keep a recognizable base or create a piece that crosses a useful boundary. Turkish provides a particularly clear setting for the question because several endings can accumulate on a root.

#### Segmentation also determines the size of the input

Tokens are the units a language system receives. When one tokenizer produces more tokens from the same text, it creates a longer input sequence. The paper connects this to the context window, the amount of material that can be processed together in token units. If a passage takes more tokens to represent, it occupies more of that window. The authors describe this as a concern for non-English text, where tokenizer design and the data used to develop the tokenizer can lead to more fragmentation.

Vocabulary size enters the problem from a different direction. A tokenizer’s vocabulary is its inventory of possible outputs. An inventory with longer pieces can represent some strings in fewer steps. A larger inventory can also use more memory and increase computational demands. The number of available entries answers a question about capacity. The number of tokens that actually occur answers a question about what the tokenizer does with particular text. The two measurements need to be kept apart when comparing vocabularies intended for different languages or different kinds of writing.

The authors also distinguish input length from tokenization time. The first is a property of the resulting sequence. The second measures the work of producing that sequence. A segmentation procedure can spend time finding a boundary that a simpler procedure would ignore. Conversely, improving the implementation of a segmentation algorithm can change its running time without making linguistic alignment the object of the change. This is why the paper includes separate measures for the size of the output and the speed of generating it.

There is a linguistic reason for keeping the measurements separate as well. A low token count can reflect long, recognizable pieces, or it can reflect long pieces whose internal boundaries matter for a particular use. A high token count can reflect a tokenizer isolating meaningful endings, or it can reflect a tokenizer breaking words into arbitrary fragments. Counting the tokens reveals how much input space the text occupies. Inspecting the pieces reveals which of those explanations is plausible.

#### How earlier work approached the trade-off

The authors place their study in a line of work that treats tokenization as a consequential design decision. Research by Domingo and colleagues examined its role in neural [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). Work by Fujii and colleagues considered downstream tasks in Japanese, where the tokenizer has to work with text whose word boundaries are not routinely marked by spaces. As the paper presents them, both lines of research motivate looking beyond the segmentation procedure in isolation and asking what happens when its output is used in a task.

The paper also describes research on how to characterize a segmentation formally. It points to Guo’s work on the properties of tokenization and to Kudo and Richardson’s work on SentencePiece. It cites Zouhar and colleagues for the tradeoff between inventory size and the granularity of the pieces, and Berglund and van der Merwe for a formal treatment of byte-pair encoding. Granularity here refers to how much of a word or string an individual token covers. Byte-pair encoding, or BPE, and SentencePiece appear in the paper as established approaches relevant to the design of [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/).

The rationale for sub-words is that a tokenizer need not have a separate entry for every complete form it encounters. It can represent uncommon or unfamiliar words using pieces that are already available. This is useful when a language produces many forms from a root. The Turkish study takes that possibility as a starting point. Once a word has been represented through smaller pieces, there is still a question about what those pieces correspond to. Availability in the tokenizer’s inventory and usefulness in a linguistic analysis are different criteria.

Several earlier projects show how this question changes with the language and the goal of the benchmark. The Arabic Tokenizers Leaderboard addresses variation across Arabic material, including dialectal and orthographic variation. The paper discusses AraNizer as an example of using sub-word methods to account for Arabic structure. It also notes a Scandinavian tokenizer benchmark that emphasizes adaptation to particular languages. The German work discussed by the authors evaluates boundary detection and efficiency for processing large text collections. These examples concern different corpora and goals, so the paper uses them as context for Turkish evaluation rather than as a single comparison of results.

For Turkish specifically, the authors describe work by Erkaya on how corpus size and vocabulary size affect sub-word segmentation. In the paper’s account, that work associates larger corpora with better representation of morphological structure and explores explicit morphological guidance when building a tokenizer. It considers tasks including [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/), [part-of-speech tagging](https://md.research.elamur.ai/free/en/topics/part-of-speech-tagging/), [question answering](https://md.research.elamur.ai/free/en/topics/question-answering/), and [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/). The relevance to the present study is that Turkish word structure had already been treated as something a tokenizer could be designed to capture and evaluated on.

The multilingual example is EuroLLM. According to the paper, it uses a 128,000-piece vocabulary and applies BPE with a fallback to bytes. The authors discuss this system in terms of fertility, the number of tokens per word, and the cost associated with a larger vocabulary. A multilingual tokenizer has to distribute its available pieces across different languages. Fertility helps reveal whether a particular language requires many pieces per word. The Turkish paper adds a different question to that kind of assessment. It asks how many of the pieces that occur in the benchmark text qualify as words or elementary linguistic units. The question is relevant to choices made in [multilingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/).

Other work cited by the authors places the emphasis elsewhere. A faster BPE implementation illustrates the engineering effort to make tokenization efficient at scale. Work by Rust and colleagues provides a case for tokenizers tailored to individual languages, including languages with rich word structure. The paper also discusses Selective Language Modeling, which scores tokens for utility and directs training toward those judged more useful. These approaches address speed, language coverage, or token usefulness at different points in a processing pipeline. The Turkish evaluation brings the resulting measurements together around one corpus and asks how the way text is split relates to performance on the questions that corpus contains.

### The method, step by step

#### Start with a common body of Turkish text

The framework starts with an existing dataset and existing tokenizers. Its central operation is to send the same body of Turkish text through each tokenizer, summarize the outputs, and assess their linguistic properties. The authors then compare those descriptions with downstream exam scores. The main experiment is an evaluation procedure. It does not require a new tokenizer to be trained for each measurement, and the authors do not report a common tokenizer-training run for the evaluated systems.

The data come from Turkish MMLU, abbreviated TR-MMLU. The benchmark follows a multiple-choice exam format, and the methodology describes its questions as native Turkish educational material. The questions cover specialized subjects as well as more general knowledge. The authors chose this material because it gives them Turkish sentences in which vocabulary, word formation, syntax, and context all matter. They can use the text to inspect tokenization and the benchmark scores to ask whether the properties of the tokens move together with performance on the questions.

The source exams include the University Entrance Examination and examinations from the Open Education Faculty, also called AUZEF. The paper describes questions that require contextual understanding and reasoning as well as factual recall. One example item asks readers to identify the organ that helps the liver function. The item shows how a test can depend both on reading the Turkish wording and on having the knowledge needed to choose among the alternatives. The word in the question that refers to the liver occurs in a grammatical form suited to the sentence. That form is part of the language the tokenizer has to represent regardless of whether the corresponding exam answer is correct.

The authors also present the benchmark’s provenance as a way to avoid artifacts from translation. A translated item can carry a phrasing or structure inherited from the source language. Starting with Turkish educational questions gives the evaluation access to wording produced for Turkish readers. The paper further says that benchmark construction excluded questions considered likely to overlap with pretraining material. The study uses TR-MMLU as its shared test bed for [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/).

From Turkish exam text to tokenizer comparisons The steps in order.

#### Keep occurrences and distinct pieces separate

For each tokenizer, the procedure produces a sequence of tokens. The total token count includes every occurrence in that sequence. If a piece appears repeatedly, each appearance contributes. This is the appropriate view when the question is about how long the processed text becomes. It preserves the contribution of familiar pieces that recur throughout the corpus.

The paper illustrates the distinction with a sentence about children playing and laughing in a garden. The Turkish form *bahçede* appears more than once. In the sub-word segmentation the authors give, *bahçe* and the ending *de* recur together. Each occurrence contributes to the length of the segmented sentence, although each piece has already occurred earlier in the sequence. A tokenizer may therefore produce frequent pieces and still generate a long sequence. Knowing that the pieces recur does not remove their cost in tokens.

For the linguistic percentages, the authors work with the distinct tokens observed. A distinct token, sometimes called a token type, contributes once to the denominator regardless of its frequency. That makes the question one about the variety of pieces produced on the dataset. A very common recognizable piece cannot keep adding to the numerator every time the same piece appears. A rare fragment contributes to the distinct-token calculation even if the rest of the corpus makes little use of it.

The full vocabulary is a third quantity. It includes pieces available for a tokenizer to use, including entries that the benchmark may never bring into play. The observed set of distinct tokens records what appears on the chosen material. The total count records how frequently the tokenizer emits any piece, including repeated uses. The vocabulary is a capacity measure, the observed set is a description of usage, and the total is a measure of how long the tokenized corpus is.

This distinction is especially important for reading %TR and %Pure. Neither percentage uses the full vocabulary size as its denominator. Neither weights a token by how many times it occurs. A tokenizer could have many entries for material that never appears in the test and those entries would not directly count against its linguistic percentages. A tokenizer could also emit a valid word very often, and for these percentages that word would still count as a single observed type.

#### Record size, output length, and time

Vocabulary size is the count of the unique entries the tokenizer can emit. The paper treats it as one side of the balance between having the pieces to represent longer strings and incurring the cost of a larger inventory. It is possible for a vocabulary to offer long pieces suitable for the task. Whether the tokenizer uses them on TR-MMLU is a separate question, measured through the actual output.

Total token count is based on the corpus after segmentation. Since the input is shared, it lets readers compare how much sequence length the same material requires under different tokenizers. The framework leaves open why one sequence is shorter than another. Determining whether the short representation comes from intact words, useful combinations, or cuts that hide relevant structure requires looking at the linguistic measures.

Processing time, reported in seconds, concerns the tokenizer run. It captures how quickly the segmentation procedure turns the benchmark text into the token sequence. It does not measure how long it takes the downstream system to answer the questions. Using the Hugging Face Tokenizers library and Python scripts, the authors obtain these computational measurements.

These measurements answer different questions even when the practical goal is efficiency. A system intended to process a large document collection may care about how much time segmentation takes. A system with limited space for a passage may care about how many output tokens the text requires. Both can also be affected by the inventory available to the tokenizer. The framework records each quantity so that an advantage on one can be read in its own units.

#### Check which pieces count as Turkish words

The first linguistic measurement, %TR, asks whether each distinct observed token qualifies as a word of the target language. A piece can qualify even if it contains more than one morpheme. The procedure counts qualifying pieces, divides by the number of distinct pieces inspected, and expresses the result as a percentage.

```
%TR = (Valid Unique Tokens ÷ Unique Tokens) × 100
```

`%TR` denotes the Turkish Token Percentage. `Valid Unique Tokens` is the number of distinct outputs recognized as Turkish words. `Unique Tokens` counts all distinct outputs under consideration, whether or not they pass that test. `÷` represents division and `×` represents multiplication. Multiplying by `100` expresses the share on a percentage scale, and `=` denotes equality.

The garden sentence gives the authors a way to show exactly which decisions contribute to the count. The illustrative segmentation retains pieces such as *Çocuklar*, *bahçe*, and *oynayacak*. The authors count those pieces as valid words. They also count *ve* and *gül* in that category. They exclude *de* and *ecek* as standalone words in this segmentation. The judgement concerns the pieces as evaluated in the example. It does not depend on how many times a piece like *bahçe* would appear in the longer sentence.

```
%TR = (5 ÷ 7) × 100 = 71.4%
```

Here `5` is the number of distinct pieces the example accepts as Turkish words, and `7` is the number of distinct pieces it assesses. `÷` takes the share, `× 100` expresses it as a percentage, and the paper gives `71.4%` as the result. `%TR` is the name of the measure, and `=` connects the expression and the reported value.

This measure rewards a piece like *Çocuklar* because it is a recognizable word form. A tokenizer earns that credit whether the word is morphologically simple or has a root and an ending. That choice is deliberate. It allows the test to answer the question of word validity before asking whether a different split would expose smaller meaningful units.

#### Check which pieces qualify as elementary units

The second linguistic measurement, %Pure, uses the same population of observed types and a different rule for the numerator. A pure piece must itself be meaningful and must qualify as indivisible into smaller meaningful parts. A word with a recognizable root and an ending can fail the test because the units inside it could be separated. An arbitrary fragment can fail because it does not represent a meaningful unit in the first place.

```
%Pure = (Pure Unique Tokens ÷ Unique Tokens) × 100
```

`%Pure` denotes the Pure Token Percentage. `Pure Unique Tokens` counts distinct outputs accepted as elementary linguistic units. `Unique Tokens` counts all distinct pieces assessed, as it does for `%TR`. `÷` divides the qualifying count by the denominator and `× 100` puts the share on a percentage scale. `=` denotes equality.

In the garden example, the paper accepts *bahçe*, *gül*, and *ve* as pure pieces. Forms such as *Çocuklar* and *oynayacak* remain words for the validity measure but fail the purity check because they combine morphemes. The output under consideration is the same in both calculations. The numerator changes because the second calculation asks a different question about each type.

```
%Pure = (3 ÷ 7) × 100 ≈ 42.9%
```

`3` counts the pieces classified as pure in this example, and `7` counts the distinct pieces inspected. `÷` and `× 100` convert the count into a percentage, with `≈` marking the reported approximation of `42.9%`. `%Pure` names the measure, and `=` sets it equal to the expression used to obtain that percentage.

Indivisibility in this definition is linguistic. A piece like *bahçe* contains letters that can be separated as characters. The measure asks whether a proposed division yields smaller units that carry meaning in the analysis. Similarly, a piece can be very short without being pure. The arbitrary fragments in the example built around *evlerimizden* illustrate how a short token can straddle a useful boundary or retain only part of a meaningful segment.

The method also calls for a decision about endings that have a grammatical role inside a word. A measure of word validity and a measure of morpheme alignment could, in principle, handle a bound ending differently. The paper gives examples of meaningful suffix boundaries and examples in which particular isolated suffix forms fail its judgements. The formulas specify how to aggregate those judgements. The treatment of individual pieces depends on the language resources and the criteria applied to them.

#### Use Turkish language resources to make the judgements

The paper identifies the ITU Turkish NLP Web Service and the Kalbur library as resources for morphological analysis and validation. At this stage, the tokenizer has already emitted the pieces to be checked. The resources support judgements about which strings have recognizable roots, morphemes, or other linguistically coherent analyses. They give the linguistic part of the evaluation a basis beyond the size and frequency of the pieces.

Using an analyzer is different from requiring the tokenizer to follow an analysis of the original word. The existing tokenizer supplies a sequence according to its own segmentation procedure. The linguistic tools assess that output. A tokenizer gets a score for the units it emits, whether it was designed with morphological knowledge or arrives at recognizable pieces by another route. This makes it possible to compare tokenizers with different design histories through the same evaluation.

The method’s two percentages also leave room for different combinations of linguistic properties. A tokenizer could produce many distinct, valid Turkish words, several of which are internally complex. It could then do well on word validity without leading on purity. Another tokenizer could produce fewer complete words while preserving more of the elementary units the analysis accepts. Neither result can be reconstructed from vocabulary size or total token count alone.

The last step is to examine whether the resulting system-level measurements vary with exam scores. The paper summarizes such relationships with a correlation matrix, a comparison of how pairs of quantities vary together across the systems. It also plots exam score and Turkish word percentage together while representing parameter count and purity visually. These analyses bring the tokenization measurements into contact with a downstream outcome. The authors identify `malibayram/tokenizer_benchmark` as the public repository for the datasets, scripts, configurations, and experimental resources.

### Experiments and results

#### Benchmark material and comparison systems

TR-MMLU contains 6,200 multiple-choice questions arranged in 62 sections. The authors describe those questions as drawn from a pool of 280,000 questions spanning 67 disciplines and over 800 topics. The pool describes the source material. The 6,200 questions describe the benchmark used for the comparison. The paper lists law, healthcare, history, and the natural sciences as examples of the benchmark’s subject coverage.

The text evaluated for tokenization is reported to contain 1,605,376 characters and 198,193 words. Those are counts of the underlying benchmark material. The output counts depend on the tokenizer. Reporting the underlying corpus size helps make clear that a difference in token count comes from processing a common text, rather than from giving one system more text to read.

The main comparison covers aya-expanse, gemma-2, Qwen2.5, and llama-3.1. These existing systems provide reference points for one another. The method does not introduce a new tokenizer trained for the main comparison, and the authors’ whitespace example serves to explain counting rather than supply a scored baseline. The paper places TR-MMLU scores next to each system’s %TR, %Pure, vocabulary size, time, and counts for all tokens and distinct tokens. It does not identify a separate split for the reported tokenizer comparison.

The exam score and the two linguistic percentages have different bases. The exam score summarizes performance on the multiple-choice benchmark. The linguistic values describe the distinct pieces emitted from its text, independent of which questions were answered correctly. The experiment therefore compares corpus-level properties with each corresponding system’s benchmark result. It does not identify a token’s individual contribution to a particular answer.

#### Downstream exam performance

Gemma-2 leads the comparison on TR-MMLU with a score of 72.10%. Aya-expanse scores 70.66%, and llama-3.1 scores 70.42%. Qwen2.5 scores 61.68%, the lowest of the systems in this comparison. The chart orders the systems by their reported exam scores. Its star marks the highest reported setting for that metric.

Exam scores for the evaluated systems on TR-MMLU Gemma-2 leads the exam comparison, with aya-expanse and llama-3.1 next and Qwen2.5 last.

**The numbers**

| System or setting | TR-MMLU score % |
| --- | --- |
| Gemma-2 (this paper) | 72.10 |
| Aya-expanse | 70.66 |
| Llama-3.1 | 70.42 |
| Qwen2.5 | 61.68 |

The relative performance of gemma-2 and llama-3.1 is the paper’s concrete example of why parameter count alone does not order the systems correctly. The conclusion gives gemma-2 a parameter count of 27.2 billion and llama-3.1 a count of 70.6 billion. Gemma-2 has the higher exam score and leads llama-3.1 on both of the linguistic percentages. The parameter figures describe the associated systems. They are distinct from the number of entries in their tokenizer vocabularies.

Qwen2.5, identified as the smallest system at 7.6B parameters, is also the weakest on this exam comparison. Those two observations can coexist with the gemma-2 and llama-3.1 result. Across these particular systems, the smallest one is last, and the larger of the two whose sizes the authors contrast is behind the smaller one. That is enough to show that size alone fails to reproduce the ranking.

#### Turkish word validity and purity

Aya-expanse produces the highest share of distinct pieces recognized as Turkish words, with a %TR of 50.67%. Gemma-2 follows at 48.63%, ahead of llama-3.1 at 45.80%. Qwen2.5 has the lowest %TR at 40.33%. The result concerns distinct token types appearing in the TR-MMLU material. A type that appears often carries the same weight in this ranking as a type that appears once.

Turkish word percentage among distinct TR-MMLU output tokens Aya-expanse has the highest share of distinct tokens recognized as Turkish words.

**The numbers**

| System or setting | %TR |
| --- | --- |
| Aya-expanse (this paper) | 50.67 |
| Gemma-2 | 48.63 |
| Llama-3.1 | 45.80 |
| Qwen2.5 | 40.33 |

The exam and Turkish word rankings agree about the position of Qwen2.5, and the same pair takes the leading positions in both. Their order at the top changes. The tokenizer with the highest word percentage belongs to the system with the second-highest exam score. The highest exam score belongs to a system whose tokenizer has a lower word percentage. This reversal is visible even before the authors compare the measurements with a correlation coefficient.

The purity comparison gives gemma-2 the lead, at 37.05%. The numerical result reported for llama-3.1 is 30.91%. These values concern the parts judged to be elementary linguistic units among each tokenizer’s observed types. The pair provides a direct example of how the purity measure distinguishes the two tokenizers. The paper also reports that gemma-2 has the highest purity across the comparison.

Gemma-2 and Llama-3.1 purity on TR-MMLU Gemma-2 produces a larger share of distinct pieces classified as elementary linguistic units.

**The numbers**

| System or setting | %Pure |
| --- | --- |
| Gemma-2 (this paper) | 37.05 |
| Llama-3.1 | 30.91 |

The purity result adds a dimension to the comparison of the leading systems. Gemma-2 achieves the highest exam score and also produces the highest fraction of elementary pieces under the paper’s criteria. Aya-expanse leads the validity measure, which allows credit for words that contain several morphemes. The measures need not place the same tokenizer first because they reward different properties. The garden example gives the linguistic reason, and the benchmark rankings show that the distinction affects the actual comparison.

#### Computational results and the relationship between metrics

The authors highlight Qwen2.5’s vocabulary of 151,665 tokens and its tokenization time of 3.31 seconds on the evaluated material. They describe its vocabulary as relatively compact and read the timing as an efficiency advantage. The lower Turkish word percentage and exam score show why the authors consider efficiency and linguistic fit together. A timing result addresses the cost of producing the tokens, while the linguistic value concerns the pieces that were produced. The paper discusses total and distinct token counts as additional parts of the comparison without giving a full set of per-system counts in its numerical discussion.

The correlation analysis reports a coefficient of 0.90 between %TR and TR-MMLU scores. For %Pure and TR-MMLU scores, it reports 0.68. A positive coefficient describes a tendency for the two quantities to increase together across the compared systems. The coefficient is on a different scale from the exam score and the token percentages. Its use here is to summarize how closely the system-level values vary together. On this set, %TR has the stronger reported association with exam performance.

Vocabulary size is positively associated with both linguistic measurements in the authors’ matrix. They report a correlation of 0.77 with %TR and 0.82 with %Pure. This means that larger vocabularies tended to accompany higher values of the two measures within the comparison. The result is compatible with a larger inventory making useful Turkish pieces available. The analysis does not separately vary vocabulary size, so it cannot say what the two percentages would do if entries were added to any one tokenizer.

The discussion also reports negative coefficients of -0.93 and -0.60 while describing the relationships of token count and processing time to the linguistic metrics. The prose identifies token count and time in that order, but it does not make the corresponding linguistic variable explicit for each figure. The authors interpret the pattern as evidence of a tradeoff involving fragmentation and computational cost. The precise pairing matters if the coefficients are to be used to distinguish an association with word validity from one with purity.

A second view of the results places %TR on the same plot as the exam score. The authors use marker size to represent parameter count and color to represent %Pure. This keeps other system properties visible in a plot that is primarily about word validity and downstream performance. The visual encoding draws on the same observations as the tokenizer comparison. It helps show why a high value on one axis does not specify where a system stands on the other measurements.

### What the ablations show

The paper reports no ablation in which a component is removed or changed while the rest of a system is held fixed, and instead offers illustrative segmentations, cross-system comparisons, and correlations among the measured properties.

#### The examples isolate differences between the scoring rules

The garden sentence offers the closest thing to a controlled change in how an output is judged. The token sequence is held fixed. The first calculation asks whether each distinct piece is a Turkish word, and the second asks whether it qualifies as an elementary linguistic unit. The difference in the resulting percentages comes from the classification criterion, because the denominator and the pieces under inspection stay the same.

The example shows which pieces account for the difference. *Bahçe* contributes to both scores under the authors’ analysis. *Çocuklar* contributes to word validity and is excluded from purity because it has internal morphological structure. An arbitrary fragment would fail for a different reason, namely that it lacks the linguistic status the measure requires. Separating those cases explains why a decline in purity can arise from keeping an entire valid word or from fragmenting a useful piece. The score alone does not distinguish between those routes.

The example built around *evlerimizden* adds a comparison of plausible boundary choices. One segmentation mostly tracks the root and endings, while another cuts across them. The example establishes what the authors want the assessment to notice. It supplies a reason to inspect boundaries and to avoid interpreting “shorter piece” as equivalent to “more meaningful piece.” It does not measure how well the compared systems answer a question when supplied with one version of that segmentation.

#### The system comparisons expose what each measurement misses

All four tokenizers are evaluated against the same Turkish source material. This controls the corpus when comparing what they emit: changes in the relative standing on %TR and %Pure cannot be attributed to one tokenizer receiving a different subject collection in that comparison. Each tokenizer still differs as a whole. The common corpus does not isolate vocabulary size, segmentation rules, or the data used in tokenizer development.

The comparison between aya-expanse and gemma-2 shows what would be lost if a reader used only %TR. Aya-expanse leads on Turkish word validity. Gemma-2 leads on purity and exam score. The result gives a direct reason to preserve the distinction among word validity, morphological granularity, and downstream performance. It does not rank all possible tokenizers on a single scale of linguistic quality, and the paper supplies no combined index for doing that.

The gemma-2 and llama-3.1 comparison illustrates a different limit on interpretation. The larger system trails on the exam and on both linguistic measures. This comparison is enough to disprove a simple ordering of these results by parameter count. It does not show how llama-3.1 would behave with the other tokenizer, or what would happen if gemma-2 were increased in size while the same tokenizer and training conditions were retained. Those questions require changes to one factor at a time.

Qwen2.5 makes the distinction between efficiency and the other outcomes visible. Its reported tokenization time is short in the authors’ account, while its Turkish word percentage and exam result are lowest in the comparison. The observation illustrates why speed should remain an individually reported property. It gives no basis for assigning the lower exam result to a design choice that made tokenization fast. Factors that affect the downstream system can vary independently of how quickly the tokenizer runs.

#### The correlations describe tendencies across systems

The main relationship assessed by the authors is whether a tokenizer’s linguistic measurements rise with the exam result of the associated system. Word validity shows a stronger positive association than purity in the reported matrix, even though gemma-2 is the leader on both purity and the exam. Those observations answer different questions. The leading system describes one position in the ranking. The correlation summarizes the joint pattern across the comparison.

The vocabulary correlations are another form of the same analysis. An inventory size can be related to both linguistic scores across the systems without demonstrating that a particular increase in vocabulary would improve either score. The composition of an inventory matters to the interpretation. More entries can accommodate different kinds of text or longer pieces. The reported correlations leave open which entries explain the observed association with Turkish.

Likewise, the plot combining exam performance, word validity, purity, and parameter size makes several variables visible together. It does not adjust for them. Marker size lets a reader see parameter count while examining the plotted scores. Color makes purity available in the same view. Neither device holds a variable constant or estimates what the result would have been if it alone had changed.

Taken together, the analyses explain why the authors evaluate several properties of the same tokenization output. The examples locate disagreement in the scoring definitions. The system comparison shows that the disagreement can change the rankings. The correlations describe how the tokenizer measurements accompany downstream results. An experiment replacing a tokenizer under common training and evaluation conditions would answer the further question of how much those properties contribute to exam performance.

### Limitations

#### Limits and directions identified by the authors

The authors make Turkish the benchmark language and describe adaptation to Finnish, Hungarian, and Uyghur as a possible extension. Applying the method in another language would require suitable text and linguistic resources. The same formula can express the share of valid words or pure units, but the classification of an individual piece depends on the language being examined. The study supplies a Turkish example of the framework and outlines how its scope could be widened through [multilingual and cross-lingual evaluation](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/).

The paper also describes AhmetSemih/tr_tokenizer and aliarda/turkish_tokenizer as development efforts with promising initial values on the two linguistic measures. The authors characterize this work as preliminary. They propose improvements involving more advanced morphological analysis, unsupervised learning, and adaptation to particular domains. These projects are discussed without the numerical results needed to place them alongside the main comparison on TR-MMLU.

The future directions acknowledge that a broad benchmark and a specialized application can make different demands on a tokenizer. The authors discuss tailoring token generation to a task or domain, and mention healthcare and legal language as areas where specialized terms could matter. TR-MMLU includes questions from those subject areas, but the experiment reports an aggregate comparison. It does not separately evaluate a tokenizer customized to either field.

The scope of the downstream evidence is also narrower than the range of possible applications in the conclusion. The authors discuss translation and sentiment analysis as tasks that might benefit from preserving linguistic structure. They also mention uses in [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) and [information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/). The reported downstream results come from answering Turkish multiple-choice questions. The applications in the conclusion motivate further evaluation in those settings.

#### Limits visible in the experimental design

The largest constraint on a causal reading is that each tokenizer belongs to a different system. Architecture, parameter count, and training conditions can vary alongside segmentation. A high exam score can accompany a tokenizer whose pieces align well with Turkish, yet the experiment leaves open how much credit belongs to the tokenizer. The authors’ comparison supports using the linguistic scores to describe the systems. It cannot identify the exam gain that would result from increasing one of those scores.

The same issue applies to size. Gemma-2’s smaller parameter count and higher exam score give a concrete counterexample to ranking these systems solely by size. The comparison does not establish how increasing size while holding the tokenizer and other conditions fixed would affect Turkish performance. It also does not identify which property of gemma-2 accounts for its position relative to llama-3.1.

The correlations summarize only the four systems in the main comparison. Each system contributes its own combination of exam performance and tokenizer properties. There is no reported estimate of uncertainty around the coefficients, and no wider set of systems on which the pattern is checked. The stronger association of %TR with exam results is a result for this comparison. Treating the relative strength of the two associations as a general property of Turkish evaluation would require evidence across a broader set of systems or tasks.

The unit of analysis is another constraint. The paper relates one set of corpus-level tokenizer measurements to each system’s exam score. It does not connect specific successful or unsuccessful answers to how the words in those questions were split. A system might have higher purity overall yet produce a poor segmentation of a key word in a particular item. It might also answer a question incorrectly in spite of segmenting the relevant words in a way the authors would consider linguistically sound. The aggregate measurements cannot tell these cases apart.

The benchmark represents Turkish educational questions across a range of subjects. Its use of native exam material addresses the authors’ concern about translation artifacts. The same provenance limits what can be inferred about other kinds of Turkish writing. A specialized text collection or a less formal genre can present a tokenizer with a different set of distinct pieces. Because the linguistic measures depend on the pieces observed, the corpus itself is part of the evaluation conditions.

The paper says that TR-MMLU excludes items likely to overlap with pretraining material. This is a stated feature of benchmark construction. The tokenizer comparison does not independently establish the pretraining exposure of each evaluated system. The benchmark provenance and exclusion procedure can be reported as design choices without assigning more certainty about exposure than the experiment supports.

#### Limits of the linguistic and computational measurements

Counting distinct tokens makes both linguistic percentages sensitive to the variety of fragments a tokenizer emits. A rare fragment and a recurring piece have equal influence as distinct types. This is useful when the goal is to assess the range of output pieces. It leaves out a different property: how frequently a reader of the token sequence would encounter a valid word or a pure unit. The experiment does not report corresponding percentages weighted by occurrences.

The percentages are also properties of the chosen output and linguistic judgements, rather than direct measures of complete word analyses. A high %Pure can show that many types are elementary units under the scoring procedure. The score does not report whether each whole word was split at every relevant boundary or whether the same piece is used appropriately in every context. The authors motivate purity with examples of entire word segmentations, but the corpus-level calculation gives credit to individual types.

The paper names the Turkish analyzers it relies on and provides examples of pieces that pass or fail. Some decisions remain hard to infer from those examples. The discussion of *evlerimizden* treats a sequence of suffix-aligned pieces as preserving useful structure while also rejecting particular isolated endings as pure or as words. The paper’s examples also discuss *ler* in connection with Turkish word validity, although it functions as the plural ending in the motivating word. Such cases matter because a bound form can be linguistically meaningful without standing by itself. The aggregation formulas are explicit, while the article’s methodology does not give a complete decision rule for every case of that kind.

There is a similar reporting issue in an illustration of total token count. The prose describes a whitespace split of the garden sentence with a count that disagrees with the pieces displayed alongside it. The example still shows the difference between repeated occurrences and distinct pieces. The discrepancy means the written count in that illustration should be kept separate from the measured size of the benchmark and the outputs obtained by running the tokenizers.

Timing has a narrower interpretation than end-to-end efficiency. The experiment times the production of the token sequence. It does not show the total time required to answer the exam questions, the computational cost of training, or the memory effects of using a particular inventory in the associated system. The reported time is a measurement for processing this corpus with the tokenizer setup. The paper’s discussion gives limited detail for comparing how timing would change across runtime environments.

Finally, the results show why care is needed when turning the measurements into a selection rule. Word validity favors pieces that are recognizable as Turkish forms. Purity favors those the analysis accepts as elementary. Vocabulary size describes capacity, token count describes sequence length, and time describes the cost of making the sequence. The comparison assigns no exchange rate between these properties. Which measurement deserves the most weight depends on a goal that the study’s single downstream benchmark only partly represents.

### What came after

No later study is identified as building on the paper’s results. The Turkish tokenizer projects described in the conclusion were already part of the authors’ ongoing work. The paper reports that they initially produced favorable values for Turkish word validity and purity. It gives no downstream exam results for those projects that could establish whether their linguistic scores accompanied better question answering.

The authors’ proposed next step for those tokenizers is to bring morphological analysis more closely into their design and refine how they generate useful pieces. The framework gives such a study a way to compare changes at the level of outputs. If a revision raised %TR while lowering %Pure, the two measurements would record that shift separately. The resulting tradeoff could then be evaluated on the task for which the tokenizer was revised. The paper outlines that progression without reporting a completed test of it.

The conclusion also proposes adapting segmentation to particular domains and extending the evaluation to other languages with rich word structure. A domain study would change the text against which the pieces are assessed. A cross-language study would also change the resources that determine word validity and morphological purity. Either direction would test how much of the Turkish result belongs to the evaluation framework and how much depends on the particular benchmark, tokenizers, and linguistic judgements used here.

## Cite

Cite as M. Ali Bayram, Ali Arda Fincan, Ahmet Semih Gümüş, Sercan Karakaş, Banu Di̇ri̇ and Savaş Yıldırım. 2025. Tokenization Standards for Linguistic Integrity: Turkish as a Benchmark. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2502.07057](https://doi.org/10.48550/arxiv.2502.07057) · [arXiv 2502.07057](https://arxiv.org/abs/2502.07057)

```bibtex
@misc{ali2025tokenization,
  title = {{Tokenization Standards for Linguistic Integrity: Turkish as a Benchmark}},
  author = {M. Ali Bayram, Ali Arda Fincan, Ahmet Semih Gümüş, Sercan Karakaş, Banu Di̇ri̇ and Savaş Yıldırım},
  year = {2025},
  doi = {10.48550/arxiv.2502.07057},
  eprint = {2502.07057},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2502.07057}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
