Manuscript Offprint
arXiv:2609.05022MoirfEolas and CríochScore: Developing Resources for and the Evaluation of Tokenization Alignment with Irish Morphology
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
This paper presents new tokenization resources for Irish and evaluation measures of alignment with the morphological boundaries of the language. We present MoirfEolas, a dataset of over 35,000 Irish words mapped to their respective eclipses, prefixes and suffixes as well as an evaluation metric CríochScore, that evaluates the alignment of tokenizations with the morphological boundaries present in MoirfEolas. We evaluate common tokenization algorithms using CríochScore as well as intrinsic metrics present in the tokenization literature. We find that the Unigram Language Model aligns with Irish morphology more often than the other algorithms evaluated. We also find trade-offs between morphological-alignment of tokenization with both compression as well as vocabulary efficiency, providing practical insights for Irish natural language processing development. This dataset contributes towards combating the Irish language's low-resource status; moreover, the construction process reported in this paper can be emulated by other languages to create specialised morphological resources.
1 Introduction
Tokenization is the process of breaking data down into discrete units referred to as tokens and forms a crucial preprocessing step in preparing data for input into large language models. Despite the lack of attention shown to this fundamental step, choice of tokenization algorithm has been shown to affect downstream performance of models (Ali et al., 2024). Current subword-based approaches to tokenization have become the de-facto approach; these algorithms break text down into characters, subwords, or whole words, enabling the modeling of rare and out-of-vocabulary words.
Morphologically complex languages exhibit high degrees of lexical variation which may not be adequately captured by tokenizer vocabularies. Research into tokenization for such languages often explores the alignment of tokens with morphological boundaries (Arnett & Bergen, 2025; Arnett et al., 2025) with conflicting findings as to whether alignment affects language modeling performance (Arnett & Bergen, 2025); while morphological pre-tokenization has shown to improve performance downstream (Osváth et al., 2026; Hou et al., 2023; Erkaya, 2022, inter alia), results reported by Vemula et al. (2025) show that tokenizer choice has a greater effect on downstream performance than morphological alignment of tokens.
Tokenization also has an effect for low-resource languages where the limited data available creates a 'vocabulary bottleneck' in multilingual language models (Chai et al., 2024). This bottleneck creates tokenization length disparities where underrepresented languages are encoded at greater lengths, with more and smaller tokens being used to represent them than for higher-resourced languages. This disparity snowballs into issues surrounding the context window, cost, processing times and storage requirements in language modeling (Petrov et al., 2023; Arnett et al., 2024).
We create resources for the evaluation of the morphological alignment of tokenization for Irish, a low-resource and morphologically complex language. Evaluation of commonly-used subword tokenization algorithms is conducted using these resources as well as intrinsic metrics proposed in the tokenization literature. Irish is the first official and national language of the Republic of Ireland. It displays high amounts of inflection— most commonly through suffixation (Uí Dhonnchadha, 2002). Initial mutations are a feature of Irish through eclipsis, where a consonant is added to the beginning of a word (see Appendix A.1 for details), and lenition, where a ‘h’ is inserted after the initial character of a word¹. We create the MoirfEolas dataset, mapping Irish words to their respective eclipses, prefixes and suffixes. As well as this, we present CríochScore, an intrinsic tokenization evaluation metric that ascertains the morphological alignment of tokenization segmentations with Irish morphology. Both the dataset creation and evaluation methodology are designed specifically for the Irish language, but can be easily adapted to other languages². This work contributes to tackling the low-resource status of the Irish language, ultimately supporting the Digital Plan for Irish (Ní Chasaide et al., 2022), a government strategy for improving language technologies for the nation’s official language. Moreover, this work addresses a gap in Irish natural language processing research by evaluating the fundamental step of tokenization and how this step handles the unique features of the Irish language and its morphology.
2.1 Tokenization Algorithms
Subword tokenization algorithms have largely replaced word-based approaches to tokenization. We outline the following prevalent tokenization algorithms, along with models that implement them.
BPE (Sennrich et al., 2016) is based on a compression algorithm and utilises a merge-based vocabulary construction process. The algorithm begins with a base vocabulary of each of the distinct characters in the training corpus and merges commonly co-occurring characters until the pre-defined vocabulary size is reached. It is used in GPT³ and Galactica (Taylor et al., 2022). Byte-level BPE (Radford et al., 2019) is an augmented BPE process that operates on raw bytes instead of characters, used in GPT-2, 3, 4, 4o, code-davinci-001/002, text-davinci-003, gpt-3.5-turbo³, RoBERTa (Liu et al., 2019) and BART (Lewis et al., 2019). WordPiece (Schuster & Nakajima, 2012) is also a merge-based algorithm that selects the co-occurring characters that maximise the likelihood of the training data, i.e. it merges characters with maximum mutual information value, using an n-gram language model to score the likelihood of possible pairs. It is used by BERT (Devlin et al., 2019) and ELECTRA (Clark et al., 2020).
The Unigram Language Model (LM) is a pruning method that is initialised with a large base vocabulary from a training corpus. This is iteratively pruned by calculating the likelihood increase after removal of a subword unit, using the expectation maximisation algorithm to compute the probability of each unit to optimise the vocabulary. This pruning process ceases once the pre-defined vocabulary size is reached (Kudo, 2018).
SentencePiece is a library for tokenization. Unlike other tokenization algorithms, SentencePiece treats the input text as a raw sequence of Unicode characters with many default pre-tokenization steps such as splitting on whitespace, splitting by number, splitting by Unicode script which can be switched off in application. This design enables the construction of an end-to-end tokenization system that is language-independent and does not rely on any language-specific preprocessing. SentencePiece implements both BPE and Unigram LM algorithms (Kudo & Richardson, 2018). The BPE-implementation is used by LaMDA
¹Lenition is not investigated as this process mutates the morpheme within a word ²All code for replicating dataset creation and morphological evaluation is available here: https://github.com/jndkns01/tknzn4Irish ³https://openai.com/
(Thoppilan et al., 2022), Gemma, Gemma 2 (Team et al., 2024), Llama and Llama 2 (Touvron et al., 2023). The Unigram LM-implementation is used by XLNet (Yang et al., 2020), ALBERT (Lan et al., 2020) and T5 (Raffel et al., 2023).
2.2 Tokenization of Irish
Research into tokenization for Irish has remained word- and rule-based rather than subword-based. Finite-state tokenization and morphological analysis tools were designed with special handling of multi-word expressions and contractions, to effectively preserve their semantic and syntactic coherence (Uí Dhonnchadha, 2002; Kilgarriff et al., 2006; Cassidy, 2023) but remain word-based. Work on Old Irish has concentrated on harmonising annotation schemes and resolving tokenization inconsistencies across corpora through rule-based and character-level approaches (Doyle et al., 2019; Doyle & McCrae, 2025).
Subword tokenization has been discussed in the development of a transformer model for the Irish language, with algorithm choice being described as 'the biggest driver of translation performance' (Lankford et al., 2021). As well as this, in the development of a BERT-based model for the Irish language—gaBERT—experimentation was done with SentencePiece⁴ and WordPiece vocabularies, with both Irish and English data to account for the use of code-switching in the Irish-language. The authors found that the choice of subword model effected downstream performance of the gaBERT model (Barry et al., 2022). Besides these essentially extrinsic evaluations of tokenization for Irish, intrinsic evaluation of tokenization for the language has not been investigated until now.
2.3 Evaluation of Tokenization
There is no clear consensus on the best method for evaluating tokenization, however, common approaches distinguish between intrinsic and extrinsic analysis. Intrinsic evaluation provides information about the quality of the tokens produced, whereas extrinsic evaluation compares different tokenization algorithms on the same downstream task. Several intrinsic metrics have been proposed, however, these metrics are not always indicators of downstream performance.
Rényi Efficiency/Entropy is a generalisation of Shannon entropy that evaluates the efficiency of a tokenizer's unigram distribution by penalising overly skewed token frequency distributions (i.e. penalising low-frequency and high-frequency tokens), encouraging a more balanced vocabulary. A higher Rényi efficiency (RE) indicates a more evenly distributed vocabulary, one which reduces the risk of sparse learning from rare tokens or loss of distinction from overly frequent ones. It has been shown to correlate strongly with downstream machine translation performance as measured by BLEU (Zouhar et al., 2023); however, this metric has been criticised, with counterexamples achieving a high RE but poor downstream machine translation performance (Cognetta et al., 2024).
Corpus Token Count measures the total number of tokens used to represent a corpus. A lower Corpus Token Count (CTC) is indicative of greater compression (Schmidt et al., 2024). Text compression has been used as an indicator of the quality of subwords produced by a given tokenizer in the development of the BPE algorithm (Sennrich et al., 2016). Moreover, it has been found that there is a correlation between compression and performance on downstream generative tasks and for smaller models of ~10 million parameters (Goldman et al., 2024) but Schmidt et al. (2024) found that CTC should not be used as an indicator for good downstream performance, as experimental results show that compression does not correlate with an effective tokenizer.
Fertility is the average number of tokens-per-word i.e. the degree of segmentation. A fertility of 1 is considered desirable and would indicate that each word in the input text is contained in the tokenizer's vocabulary (Rust et al., 2021). However, a low fertility value might not be ideal for languages with complex morphology, as a higher fertility (i.e. more segmentations within a word) allows for capturing of morphemes and other re-occurring subwords (Brahma et al., 2025).
⁴Unspecified whether the BPE or Unigram LM SentencePiece implementation
Average Token Length is the average number of characters per-token. A higher average token length has been associated with gold-standard morphological segmentation for the English language (Bostrom & Durrett, 2020).
2.3.1 Morphological metrics
MorphScore (Arnett & Bergen, 2025; Arnett et al., 2025) is an evaluation framework that evaluates the morphological-alignment of segmentations produced by a tokenizer with morphologically separated words, sourced from Universal Dependencies. This framework covers 86 languages, providing support for the evaluation of tokenization of many low-resource language. Version 1 of MorphScore allowed for two possible subwords (affix and stem), while version 2 allows for three possible subwords. MorphScore has been criticised due to its lack of more-granular affix boundaries which are a feature of highly agglutinative languages, such as Turkish, where suffix-suffix boundaries are prevalent (Poelman et al., 2025). This framework calculates recall and precision (including macro, micro and standard deviation), micro- and macro-F1, and mean token character ratio.
Suffix Recall was proposed for the Turkish language, and measures the proportion of suffixes that are correctly identified and segmented as distinct tokens (Erkaya, 2022). Suffix Precision was also proposed to measure the accuracy of suffix tokenization alignment by measuring the ratio of tokens that are true suffixes within a tokenizer's vocabulary, indicating how many suffix-tokens are valid morphological units rather than spurious tokens (Erkaya, 2022).
3 MoirfEolas
The MoirfEolas dataset (from the Irish 'Moirfeolaíocht' meaning 'morphology' and 'Eolas' meaning 'information') is constructed using the Irish-side of the ParaCrawl V9 (Bañón et al., 2020) corpus containing 57,587 sentences with a total of 1,447,047 space-separated words, in tandem with linguistically-informed handcrafted lists of Irish eclipses, prefixes and suffixes and further prefix and suffix entries from Irish UniMorph data⁵ (McCarthy et al., 2020). UniMorph contains 197 prefixes and 73 suffixes while the handcrafted lists contain 317 prefixes, 217 suffixes and 13 eclipses. After combining the resources and removing duplicates, 330 prefixes, 213 suffixes and 13 eclipses were gathered.
A greedy-longest match method was employed to identify these eclipses, prefixes and suffixes within each unique word in the ParaCrawl corpus, resulting in the MoirfEolas dataset of over 35,000 words. The dataset contains 216, 178, and 13 unique prefixes, suffixes, and eclipses, respectively. The dataset was cleaned of English entries utilising existing morphological analysis tools for the language (Uí Dhonnchadha & Van Genabith, 2006), as well as manually inspected for any incorrect mappings, resulting in the removal of over 15,000 words. Incorrect mappings generally arise from eclipses including hyphens, due to spelling variations prevalent in the data i.e. using hyphens or not using hyphens when eclipsing words. This hyphen may not always be included in-text, resulting in incorrect mappings for the eclipses 'n(-)' preceding a vowel in words such as 'neart' meaning strength.
4 CríochScore
The CríochScore evaluation metric (from the Irish 'Críoch' meaning 'end' or 'boundary') utilises the MoirfEolas dataset to measure the level of alignment between the morphology boundaries of a word (involving eclipses, prefixes and suffixes) with the tokenization of a word, as shown in Figure 1. The scoring criteria utilised in CríochScore are as follows:
- Tokenized Correctly: A score of 1 if the prefix, suffix or eclipsis is completely segmented from the stem and not broken down further.
- Tokenized in Parts: A score of 0.5 if the prefix, suffix or eclipsis is completely segmented from the stem but is broken down further.
⁵https://github.com/unimorph/gle

Figure 1: CríochScore calculation (E=eclipsis, P=prefix, S=suffix)
- Tokenized Incorrectly: A score of 0 if the prefix, suffix or eclipsis is not completely segmented from the stem.
Each word-level score is normalised by the number of evaluated morphological components, N, within the word (1). The overall CríochScore for a given tokenizer is the average of all word-level CríochScores, CríochScore_w.
5 Evaluation
A total of six tokenization algorithms are evaluated using the CríochScore metric and further absorption analysis is performed to ascertain how morphemes are handled within the algorithms. HuggingFace implementations of the Unigram LM, SentencePiece Unigram LM, WordPiece, BPE, SentencePiece BPE and Byte-level BPE are evaluated across vocabulary sizes 8k, 16k, 32k and 64k⁶ using the Irish side of the cleaned ParaCrawl V9 corpus (Bañón et al., 2020). This corpus was selected as the largest parallel corpus of sufficient quality, according to a survey of Irish natural language processing corpora (Walsh et al., 2025) using quality annotation labels proposed by Kreutzer et al. (2022), and thus is a valuable resource for both intrinsic and extrinsic (through machine translation) evaluation of tokenization for Irish. Each subsequent tokenizer vocabulary is then evaluated using CríochScore against entries in the MoirfEolas dataset.
Furthermore, intrinsic metrics from the literature are employed to provide more context as to how the Irish language is handled by the tokenization algorithms. Corpus Token Count, Rényi Efficiency, Fertility as well as Prefix-, Suffix- and Eclipsis-level Recall and Precision are calculated by adapting previous work on Turkish to Irish. MorphScore was explored for this research, but ultimately was not used, as entries for the Irish language were limited (2576), and prefix entries labelled 'preceding_- part' contained a mixture of prefixes, eclipses, and lenited consonants, which would require more granular boundaries for cases of morpheme clusters (e.g. eclipses preceding prefixes)⁷.
⁶A vocabulary size of 43k was the maximum available for SentencePiece-Unigram LM for this corpus. ⁷https://huggingface.co/datasets/catherinearnett/morphscore/blob/main/irish_data.csv
6 Results and Discussion
6.1 CríochScore
The CríochScore evaluation results are reported in Table 1. The Unigram LM with a vocabulary size of 8k aligned most often with Irish morphological boundaries, as evidenced by the overall CríochScore of 40.55%. SentencePiece-BPE at 16k following closely behind with a score of 40.39%. BPE with a vocabulary of 64k aligned least often with the morphological boundaries with a value of 9.6%. While no algorithm achieved very high scores, this does not necessarily imply that such tokenizers do not perform well on downstream tasks. BPE aligns well with prefixes (especially for a vocabulary of 8k), however it displays some of the lowest CríochScore values across all categories evaluated; Byte- and SentencePiece-implementations of BPE align more often with Irish morphological boundaries than vanilla-BPE.
Unigram and its SentencePiece implementation performed relatively well across all categories, showcasing the algorithm's suitability to capturing the morphology of Irish, only being outperformed by BPE at 8k in prefix handling. Unigram also handles multiple morphological components the best, where a word contains more than one of the evaluated morphological components (eclipsis, prefix and suffix). Each of the highest scores achieved used a vocabulary size of 8k, indicating that this smaller vocabulary size enables efficient token-boundary alignment with Irish morphology, segmenting eclipses, prefixes and suffixes correctly more often than tokenizers with larger vocabularies.
As the table shows, the CríochScore for words containing only an eclipsis (and no prefix or suffix) are all 50%. On further inspection of these tokenizations, this was the result of a data oddity, where each of these words (13) contained an eclipsis paired with a hyphen (-) or apostrophe ('). These eclipses-punctuation pairs were split at the punctuation symbol, resulting in a score of 50%, e.g. the word t-aláram (i.e. aláram 'alarm', with an additional eclipsis 't-' added for grammatical reasons) is tokenized as 't', '-' 'aláram'—effectively aligning with the eclipsis boundary between '-' and 'a', but also separating the leading character 't' from '-' , resulting in a CríochScore value of 0.5. Overall, prefix-boundaries are aligned with more often by each tokenizer than suffix-boundaries. Interestingly, while MoirfEolas contains more unique prefixes than suffixes, suffixes appear more frequently in the corpus indicating a potential word-initial positional bias in tokenization.
6.2 Intrinsic Metrics
The other intrinsic metrics are displayed in Table 2 and provide further context as to the behaviour of the tokenizers' handling of Irish morphology. The impact of increasing vocabulary size is again prevalent in this layer of the evaluation: corpus token count, fertility, RE, affix- and eclipses-level precision are seen to decrease as vocabulary size increases. Larger vocabulary sizes contain more whole-words as tokens, with fewer segmentations being made as indicated by the higher average token lengths and lower fertility values seen in the table. This aligns with the findings from Table 1, showing that tokenizer algorithms with larger vocabularies tend to misalign with morphological boundaries more often than smaller vocabularies. Moreover, the higher amount of whole-word storage exhibited by the larger vocabularies evaluated may harm downstream model generalisability (Reddy et al., 2025).
Overall, the table clearly indicates that Unigram is segmenting words at a higher rate than the other evaluated algorithms, as seen by its higher fertility rate and lower average token length across all sizes. This finding aligns with Brahma et al. (2025)'s hypothesis that morphologically complex languages may necessitate higher fertility to adequately capture the morphology of the language within tokenizer vocabularies and the observed CríochScore results. Unigram does, however, have the highest corpus token count values, indicating a tradeoff between compression and morphological alignment. Another trade-off emerges from the Rényi Efficiency (RE) results; Unigram has lower values than BPE varieties, with RE values decreasing as vocabulary size increases.
| T | V | Cróoch | CróochE | CróochP | CróochS | CróochE+P | CróochE+S | CróochP+S | CróochE+P+S |
|---|---|---|---|---|---|---|---|---|---|
| Unigram | 8 | 40.55 | 50 | 57.32 | 38.05 | 35.21 | 47.8 | 44.29 | 33.83 |
| 16 | 27.64 | 50 | 48.63 | 33.09 | 26.5 | 40.21 | 37.39 | 27.56 | |
| 32 | 27.8 | 50 | 39.93 | 28.08 | 21.21 | 32.5 | 30.98 | 21.19 | |
| 64 | 12.71 | 50 | 38.62 | 27.37 | 20.6 | 32.5 | 30.32 | 20.86 | |
| WordPiece | 8 | 34.73 | 50 | 56.86 | 32.86 | 6.43 | 22.7 | 42.22 | 15.05 |
| 16 | 20.41 | 50 | 48.05 | 28.01 | 6.43 | 19.16 | 33.84 | 12.75 | |
| 32 | 26.42 | 50 | 39.87 | 20.3 | 6.43 | 14.99 | 24.94 | 9.89 | |
| 64 | 33.15 | 50 | 27.69 | 11.27 | 6.43 | 10.4 | 15.82 | 7.2 | |
| SP-ULM | 8 | 28.98 | 50 | 57.55 | 40.37 | 21.21 | 34.29 | 46.37 | 27.08 |
| 16 | 12.23 | 50 | 48.57 | 33.93 | 16.73 | 29.17 | 38.69 | 20.33 | |
| 32 | 35.81 | 50 | 39.24 | 28.14 | 14 | 25.37 | 30.49 | 16.67 | |
| 43 | 26.75 | 50 | 38.04 | 26.73 | 13.12 | 24.15 | 28.91 | 15.85 | |
| SP-BPE | 8 | 28.36 | 50 | 57.21 | 35.13 | 16.81 | 27.89 | 44.92 | 20.39 |
| 16 | 40.39 | 50 | 50.4 | 28.24 | 11.88 | 22.49 | 37.56 | 15.71 | |
| 32 | 29.15 | 50 | 41.88 | 19.59 | 10.3 | 16.82 | 28.6 | 11.4 | |
| 64 | 19.1 | 50 | 31.58 | 10.6 | 8.19 | 11.17 | 19.24 | 7.4 | |
| BPE | 8 | 32.95 | 50 | 59.15 | 30.9 | 20.69 | 28.51 | 43.18 | 21.67 |
| 16 | 33.78 | 50 | 53.43 | 24.11 | 15.4 | 23.21 | 36.84 | 16.62 | |
| 32 | 21.08 | 50 | 45.37 | 16.25 | 11.36 | 16.43 | 28.57 | 11.16 | |
| 64 | 9.6 | 50 | 25.06 | 8.34 | 6.43 | 9.16 | 12.86 | 5.87 | |
| Byte-BPE | 8 | 35.98 | 50 | 57.27 | 35.33 | 16.81 | 28.03 | 45.04 | 20.41 |
| 16 | 29.36 | 50 | 50.74 | 28.47 | 11.88 | 22.71 | 37.71 | 15.85 | |
| 32 | 21.27 | 50 | 41.88 | 19.93 | 10.3 | 16.85 | 28.53 | 11.31 | |
| 64 | 13.98 | 50 | 32.72 | 12.19 | 8.71 | 12.01 | 20.05 | 7.97 |
Table 1: Cróoch results (%) for Tokenizers (T) across vocabulary sizes (V) ranging from 8k to 64k where SP = SentencePiece, ULM = Unigram LM, E = eclipsis, P = prefix and S = suffix.
Suffix recall decreases slightly for all tokenizers as vocabulary size increases, though it remains high overall. This indicates that suffix material is generally recoverable, but not necessarily through clean suffix segmentation: recall does not penalise fragmentary tokenization, whereas precision does. The low precision values show that suffixes are typically recovered through suffix fragments rather than as clean suffix-tokens. High recall thus suggests that suffixes, or parts of them, are present in the vocabularies, but it does not imply that suffixes are segmented correctly or consistently across words. The same general pattern holds for prefixes, although recall tends to be lower and precision scores are often higher than for suffixes. Eclipses present the strongest contrast, with near-perfect recall but near-zero precision. This indicates that eclipses, which are usually only one or two characters in length, are almost always present in the vocabularies, but are almost never segmented independently from the stem or prefix. Rather than functioning as stable morpheme tokens, they appear to behave more like noise-level consonant material.
6.3 Absorption Analysis
As previously stated, eclipses are almost always absorbed/merged into a token with subsequent characters. This is to be expected due to the nature of eclipses as a high-frequency phenomenon, where a limited set of characters are regularly concatenated to a specific set of word-initial characters (see Table 4 for eclipses mappings and examples). Both SentencePiece implementations as well as WordPiece 64k and BPE 64k absorb 100% of eclipses into a token with subsequent characters. Even at smaller vocabulary sizes, all evaluated tokenizers tend to fully absorb prefixes into subsequent subwords and suffixes into preceding subwords, not distinguishing the morphological boundary represented by these affixes. This is also seen across all evaluated tokenizers as the vocabulary size increases, in line with the observation that larger vocabularies have longer subwords that misalign with the morphological boundaries of the Irish language. Unigram implementations have lower prefix and suffix absorption rates that are partially offset by higher suffix split absorption, where a part of a suffix is separate from the stem/root of the word but the remaining part(s)
| Tokenizer | V | CTC | Fertility | ATL | RE | S_R | S_Pr | P_R | P_Pr | E_R | E_Pr |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Unigram | 8 | 245.05 | 3.42 | 2.46 | 45.6 | 91.57 | 3.17 | 81.48 | 7.13 | 100 | 1.74 |
| 16 | 202.32 | 2.83 | 2.98 | 42.52 | 89.33 | 2.6 | 79.17 | 5.51 | 100 | 0.91 | |
| 32 | 170.81 | 2.39 | 3.53 | 40.1 | 84.27 | 2.04 | 75.93 | 4.5 | 100 | 0.54 | |
| 64 | 169.71 | 2.37 | 3.55 | 39.96 | 84.83 | 2.03 | 77.31 | 4.43 | 100 | 0.53 | |
| WordPiece | 8 | 222.82 | 3.11 | 2.7 | 52.86 | 91.01 | 5.47 | 71.3 | 12.43 | 84.62 | 2.16 |
| 16 | 191.17 | 2.67 | 3.15 | 47.59 | 88.2 | 3.9 | 65.74 | 9.23 | 76.92 | 1.26 | |
| 32 | 158.58 | 2.22 | 3.8 | 43.51 | 88.2 | 3.13 | 65.74 | 7.66 | 53.85 | 0.87 | |
| 64 | 120.33 | 1.68 | 5.01 | 40.46 | 84.83 | 2.64 | 61.57 | 7.2 | 46.15 | 0.39 | |
| SP-ULM | 8 | 239.88 | 3.35 | 2.51 | 42.55 | 90.45 | 7.32 | 76.39 | 9.39 | 100 | 1.4 |
| 16 | 201.06 | 2.81 | 3 | 39.45 | 87.64 | 4.49 | 77.78 | 7.4 | 100 | 0.75 | |
| 32 | 162.78 | 2.27 | 3.7 | 37.04 | 84.83 | 3.03 | 75.46 | 5.37 | 100 | 0.49 | |
| 43 | 155.52 | 2.17 | 3.87 | 36.44 | 84.27 | 2.67 | 75 | 4.99 | 100 | 0.44 | |
| SP-BPE | 8 | 225.79 | 3.15 | 2.67 | 52.71 | 89.89 | 6.79 | 72.69 | 14.99 | 92.31 | 2.56 |
| 16 | 195.05 | 2.72 | 3.09 | 47.55 | 89.33 | 4.55 | 70.83 | 11.76 | 92.31 | 1.5 | |
| 32 | 161.81 | 2.26 | 3.72 | 43.52 | 87.64 | 3.28 | 68.52 | 10.1 | 92.31 | 1.09 | |
| 64 | 122.73 | 1.71 | 4.91 | 40.66 | 82.58 | 2.79 | 62.96 | 9.72 | 76.92 | 1.05 | |
| BPE | 8 | 210.45 | 2.94 | 2.86 | 51.99 | 89.89 | 4.21 | 71.76 | 13.3 | 100 | 2.43 |
| 16 | 181.54 | 2.54 | 3.32 | 47.08 | 87.64 | 3.01 | 69.91 | 11.54 | 100 | 1.53 | |
| 32 | 150.26 | 2.1 | 4.01 | 43.23 | 87.64 | 2.41 | 68.52 | 10.37 | 100 | 1.11 | |
| 64 | 113.1 | 1.58 | 5.33 | 40.27 | 79.78 | 2.31 | 55.09 | 8.27 | 38.46 | 0.45 | |
| Byte-BPE | 8 | 227.21 | 3.17 | 2.65 | 53.05 | 89.89 | 6.91 | 72.69 | 15.01 | 92.31 | 2.61 |
| 16 | 195.9 | 2.74 | 3.08 | 47.86 | 89.33 | 4.67 | 70.83 | 11.63 | 92.31 | 1.52 | |
| 32 | 162.35 | 2.27 | 3.71 | 43.77 | 87.64 | 3.32 | 68.52 | 10.01 | 92.31 | 1.09 | |
| 64 | 132.92 | 1.86 | 4.53 | 41.38 | 85.39 | 2.86 | 65.28 | 10.43 | 84.62 | 1.05 |
Table 2: Intrinsic metric results where CTC = corpus token count (k), ATL = average token length, RE = Rényi Efficiency (%), S = suffix, P = prefix, E = eclipsis, R = recall (%) and Pr = precision (%).
is merged with preceding subwords e.g. for the word 'labhraíonn' with the suffix 'áionn', the suffix is partially absorbed in the following tokenization: 'labhraf' 'onn', this would result in a CríochScore of 0 as the tokenization does not align with the suffix-boundary but part of the suffix is separated. As the Irish language displays a high-degree of suffixation (Uí Dhonnchadha, 2002), Unigram-based tokenizers appear to be the more appropriate choice for alignment with Irish morphology.
7 Conclusion
We introduce MoirfEolas and CríochScore, dedicated resources for the evaluation of tokenization boundary alignment with Irish morphology. The approach used to construct the MoirfEolas dataset offers a model for languages with similar morphological forms as the Irish language. The CríochScore metric allows for intrinsic evaluation of tokenizer alignment with morphology, building on existing metrics such as MorphScore and Suffix Recall. We evaluate commonly-used tokenizers' alignment with the morphological boundaries of the Irish language and find that Unigram implementations, particularly with smaller vocabulary sizes, produce the most aligned vocabularies, and smaller tokens than merge-based methods (BPEs, WordPiece). We also obtain practical insights for the development of Irish natural language processing applications, where there are tradeoffs between morphological alignment and compression as well as vocabulary efficiency. This evaluation represents an initial investigation into tokenization of the Irish language, where downstream evaluation is necessary to verify the practical insights gathered as well as morphological-alignment's role in improving performance.
References
Mehdi Ali, Michael Fromm, Klaudia Thellmann, Richard Rutmann, Max Lübbering, Johannes Leveling, Katrin Klug, Jan Ebert, Nicolas Doll, Jasper Buschhoff, Charvi Jain, Alexander Weber, Lena Jurkschat, Hammam Abdelwahab, Chelsea John, Pedro Ortiz Suarez, Malte Ostendorff, Samuel Weinbach, Rafet Sifa, Stefan Kesselheim, and Nicolas Flores-Herr. Tokenizer choice for LLM training: Negligible or crucial? In Kevin Duh, Helena Gomez, and Steven Bethard (eds.), Findings of the Association for Computational Linguistics: NAACL 2024, pp. 3907–3924, Mexico City, Mexico, June 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-naacl.247. URL https://aclanthology.org/2024.findings-naacl.247/.
Catherine Arnett and Benjamin Bergen. Why do language models perform worse for morphologically complex languages? In Owen Rainbow, Leo Wanner, Marianna Apidianaki, Hend Al-Khalifa, Barbara Di Eugenio, and Steven Schockaert (eds.), Proceedings of the 31st International Conference on Computational Linguistics, pp. 6607–6623, Abu Dhabi, UAE, January 2025. Association for Computational Linguistics. URL https://aclanthology.org/2025.coling-main.441/.
Catherine Arnett, Tyler A. Chang, and Benjamin Bergen. A bit of a problem: Measurement disparities in dataset sizes across languages. In Maite Melero, Sakriani Sakti, and Claudia Soria (eds.), Proceedings of the 3rd Annual Meeting of the Special Interest Group on Under-resourced Languages LREC-COLING 2024, pp. 1–9, Torino, Italia, May 2024. ELRA and ICCL. URL https://aclanthology.org/2024.sigul-1.1/.
Catherine Arnett, Marisa Hudspeth, and Brendan O'Connor. Evaluating morphological alignment of tokenizers in 70 languages, 2025. URL https://arxiv.org/abs/2507.06378.
Marta Bañón, Pinzhen Chen, Barry Haddow, Kenneth Heafield, Hieu Hoang, Miquel Esplà-Gomis, Mikel L. Forcada, Amir Kamran, Faheem Kirefu, Philipp Koehn, Sergio Ortiz Rojas, Leopoldo Pla Sempere, Gema Ramírez-Sánchez, Elsa Sarrías, Marek Strelec, Brian Thompson, William Waites, Dion Wiggins, and Jaume Zaragoza. ParaCrawl: Web-scale acquisition of parallel corpora. In Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault (eds.), Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 4555–4567, Online, July 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.417. URL https://aclanthology.org/2020.acl-main.417/.
James Barry, Joachim Wagner, Lauren Cassidy, Alan Cowap, Teresa Lynn, Abigail Walsh, Micheal J. Ó Meachair, and Jennifer Foster. gaBERT — an Irish language model. In Nicoletta Calzolari, Frédéric Béchet, Philippe Blache, Khalid Choukri, Christopher Cieri, Thierry Declerck, Sara Goggi, Hitoshi Isahara, Bente Maegaard, Joseph Mariani, Hélène Mazo, Jan Odijk, and Stelios Piperidis (eds.), Proceedings of the Thirteenth Language Resources and Evaluation Conference, pp. 4774–4788, Marseille, France, June 2022. European Language Resources Association. URL https://aclanthology.org/2022.lrec-1.511/.
Kaj Bostrom and Greg Durrett. Byte pair encoding is suboptimal for language model pre-training. In Trevor Cohn, Yulan He, and Yang Liu (eds.), Findings of the Association for Computational Linguistics: EMNLP 2020, pp. 4617–4624, Online, November 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.findings-emnlp.414. URL https://aclanthology.org/2020.findings-emnlp.414/.
Maharaj Brahma, N J Karthika, Atul Singh, Devaraj Adiga, Smruti Bhate, Ganesh Ramakrishnan, Rohit Saluja, and Maunendra Sankar Desarkar. MorphTok: Morphologically Grounded Tokenization for Indian Languages, 2025. URL https://arxiv.org/abs/2504.10335.
Lauren Cassidy. Linguistic Analysis and Automatic Dependency Parsing of Tweets in Modern Irish. Phd thesis, Dublin City University, 2023. URL https://doras.dcu.ie/29326/1/Lauren_Cassidy_PhD_thesis.pdf.
Yekun Chai, Yewei Fang, Qiwei Peng, and Xuhong Li. Tokenization falling short: On subword robustness in large language models. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (eds.), Findings of the Association for Computational Linguistics: EMNLP 2024, pp. 1582–1599, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-emnlp.86. URL https://aclanthology.org/2024.findings-emnlp.86/.
Kevin Clark, Minh-Thang Luong, Quoc V. Le, and Christopher D. Manning. Electra: Pre-training text encoders as discriminators rather than generators, 2020. URL https://arxiv.org/abs/2003.10555.
Marco Cognetta, Vilém Zouhar, Sangwhan Moon, and Naoaki Okazaki. Two counterexamples to tokenization and the noiseless channel. In Nicoletta Calzolari, Min-Yen Kan, Veronique Hoste, Alessandro Lenci, Sakriani Sakti, and Nianwen Xue (eds.), Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pp. 16897–16906, Torino, Italia, May 2024. ELRA and ICCL. URL https://aclanthology.org/2024.lrec-main.1469/.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Jill Burstein, Christy Doran, and Thamar Solorio (eds.), Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://aclanthology.org/N19-1423/.
Adrian Doyle and John P. McCrae. An assessment of word separation practices in Old Irish text resources and a universal method for tokenising Old Irish text. In Brian Davis, Theodorus Fransen, Elaine Uí Dhonnchadha, and Abigail Walsh (eds.), Proceedings of the 5th Celtic Language Technology Workshop, pp. 1–11, Abu Dhabi [Virtual Workshop], January 2025. International Committee on Computational Linguistics. URL https://aclanthology.org/2025.cltw-1.1/.
Adrian Doyle, John P. McCrae, and Clodagh Downey. A character-level LSTM network model for tokenizing the Old Irish text of the Würzburg glosses on the Pauline epistles. In Teresa Lynn, Delyth Prys, Colin Batchelor, and Francis Tyers (eds.), Proceedings of the Celtic Language Technology Workshop, pp. 70–79, Dublin, Ireland, August 2019. European Association for Machine Translation. URL https://aclanthology.org/W19-6910/.
Erencan Erkaya. A comprehensive analysis of subword tokenizers for morphologically rich languages. Master’s thesis, Bogaziçi University, 2022.
Omer Goldman, Avi Caciularu, Matan Eyal, Kris Cao, Idan Szpektor, and Reut Tsarfaty. Unpacking tokenization: Evaluating text compression and its correlation with model performance. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Findings of the Association for Computational Linguistics: ACL 2024, pp. 2274–2286, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.findings-acl.134. URL https://aclanthology.org/2024.findings-acl.134/.
Jue Hou, Anisia Katinskaia, Anh-Duc Vu, and Roman Yangarber. Effects of sub-word segmentation on performance of transformer language models. In Houda Bouamor, Juan Pino, and Kalika Bali (eds.), Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 7413–7425, Singapore, December 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.emnlp-main.459. URL https://aclanthology.org/2023.emnlp-main.459/.
Adam Kilgarriff, Michael Rundell, and Elaine Uí Dhonnchadha. Efficient corpus development for lexicography: building the new corpus for ireland. Language Resources and Evaluation, 40(2):127–152, 2006. ISSN 1572-0218. doi: 10.1007/s10579-006-9011-7. URL https://doi.org/10.1007/s10579-006-9011-7.
Julia Kreutzer, Isaac Caswell, Lisa Wang, Ahsan Wahab, Daan van Esch, Nasanbayar Ulzii-Orshikh, Allahsera Tapo, Nishant Subramani, Artem Sokolov, Claytone Sikasote, Monang Setyawan, Supheakmungkol Sarin, Sokhar Samb, Benoît Sagot, Clara Rivera, Annette Rios, Isabel Papadimitriou, Salomey Osei, Pedro Ortiz Suarez, Iroro Orife, Kelechi Ogueji, Andre Niyongabo Rubungo, Toan Q. Nguyen, Mathias Müller, André Müller, Shamsuddeen Hassan Muhammad, Nanda Muhammad, Ayanda Mnyakeni, Jamshidbek Mirzakhalov, Tapiwanashe Matangira, Colin Leong, Nze Lawson, Sneha Kudugunta, Yacine Jernite, Mathias Jenny, Orhan Firat, Bonaventure F. P. Dossou, Sakhile Dlamini, Nisansa de Silva, Sakine Çabuk Balli, Stella Biderman, Alessia Battisti, Ahmed Baruwa, Ankur Bapna, Pallavi Baljekar, Israel Abebe Azime, Ayodele Awokoya, Duygu Ataman, Orevaoghene Ahia, Oghenefego Ahia, Sweta Agrawal, and Mofetoluwa Adeyemi. Quality at a glance: An audit of web-crawled multilingual datasets. Transactions of the Association for Computational Linguistics, 10:50–72, 2022. doi: 10.1162/tacl.a.00447. URL https://aclanthology.org/2022.tacl-1.4/.
Taku Kudo. Subword regularization: Improving neural network translation models with multiple subword candidates. In Iryna Gurevych and Yusuke Miyao (eds.), Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 66–75, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1007. URL https://aclanthology.org/P18-1007/.
Taku Kudo and John Richardson. SentencePiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. In Eduardo Blanco and Wei Lu (eds.), Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pp. 66–71, Brussels, Belgium, November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-2012. URL https://aclanthology.org/D18-2012/.
Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. Albert: A lite bert for self-supervised learning of language representations, 2020. URL https://arxiv.org/abs/1909.11942.
Seamus Lankford, Haithem Alfi, and Andy Way. Transformers for low-resource languages: Is féidir linn! In Kevin Duh and Francisco Guzmán (eds.), Proceedings of Machine Translation Summit XVIII: Research Track, pp. 48–60, Virtual, August 2021. Association for Machine Translation in the Americas. URL https://aclanthology.org/2021.mtsummit-research.5/.
Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Ves Stoyanov, and Luke Zettlemoyer. Bart: Denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension, 2019. URL https://arxiv.org/abs/1910.13461.
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach, 2019. URL https://arxiv.org/abs/1907.11692.
Arya D. McCarthy, Christo Kirov, Matteo Grella, Amrit Nidhi, Patrick Xia, Kyle Gorman, Ekaterina Vylomova, Sabrina J. Mielke, Garrett Nicolai, Miikka Silfverberg, Timofey Arkhangelskiy, Nataly Krizhanovsky, Andrew Krizhanovsky, Elena Klyachko, Alexey Sorokin, John Mansfield, Valts Ernstreits, Yuval Pinter, Cassandra L. Jacobs, Ryan Cotterell, Mans Hulden, and David Yarowsky. UniMorph 3.0: Universal Morphology. In Nicoletta Calzolari, Frédéric Béchet, Philippe Blache, Khalid Choukri, Christopher Cieri, Thierry Declerck, Sara Goggi, Hitoshi Isahara, Bente Maegaard, Joseph Mariani, Hélène Mazo, Asuncion Moreno, Jan Odijk, and Stelios Piperidis (eds.), Proceedings of the Twelfth Language Resources and Evaluation Conference, pp. 3922–3931, Marseille, France, May 2020. European Language Resources Association. ISBN 979-10-95546-34-4. URL https://aclanthology.org/2020.lrec-1.483/.
Ailbhe Ní Chasaide, Neasa Ní Chiarán, Elaine Uí Dhonnchadha, Teresa Lynn, and John Judge. Digital Plan for the Irish Language Speech and Language Technologies 2023-2027.
Available at https://assets.gov.ie/241755/e82c256a-6f47-4ddb-8ce6-ff81df208bb1.pdf, 2022.
Mátyás Osváth, Máté Norbert Molnár, Roland Gunics, and Noémi Ligeti-Nagy. The impact of tokenization algorithms on hungarian language model performance. In Stelios Piperidis, Núria Bel, Henk van den Heuvel, Nancy Ide, Simon Krek, and Antonio Toral (eds.), Proceedings of the Fifteenth Language Resources and Evaluation Conference (LREC 2026), pp. 2545–2556, Palma, Mallorca, Spain, May 2026. European Language Resources Association (ELRA). doi: 10.63317/29hx92kq2dxe.
Aleksandar Petrov, Emanuele La Malfa, Philip H.S. Torr, and Adel Bibi. Language model tokenizers introduce unfairness between languages. In Proceedings of the 37th International Conference on Neural Information Processing Systems, NIPS '23, Red Hook, NY, USA, 2023. Curran Associates Inc.
Wessel Poelman, Thomas Bauwens, and Miryam de Lhoneux. Confounding factors in relating model performance to morphology. In Christos Christodoulopoulos, Tanmoy Chakraborty, Carolyn Rose, and Violet Peng (eds.), Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 7273–7298, Suzhou, China, November 2025. Association for Computational Linguistics. ISBN 979-8-89176-332-6. doi: 10.18653/v1/2025.emnlp-main.369. URL https://aclanthology.org/2025.emnlp-main.369/.
Alec Radford, Jeff Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. Language models are unsupervised multitask learners, 2019. URL https://api.semanticscholar.org/CorpusID:160025533.
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer, 2023. URL https://arxiv.org/abs/1910.10683.
Varshini Reddy, Craig W. Schmidt, Yuval Pinter, and Chris Tanner. How much is enough? the diminishing returns of tokenization training data, 2025. URL https://arxiv.org/abs/2502.20273.
Phillip Rust, Jonas Pfeiffer, Ivan Vulić, Sebastian Ruder, and Iryna Gurevych. How good is your tokenizer? on the monolingual performance of multilingual language models. In Chengqing Zong, Fei Xia, Wenjie Li, and Roberto Navigli (eds.), Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 3118–3135, Online, August 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.acl-long.243. URL https://aclanthology.org/2021.acl-long.243/.
Craig W Schmidt, Varshini Reddy, Haoran Zhang, Alec Alameddine, Omri Uzan, Yuval Pinter, and Chris Tanner. Tokenization is more than compression. In Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 678–702, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.40. URL https://aclanthology.org/2024.emnlp-main.40/.
Mike Schuster and Kaisuke Nakajima. Japanese and korean voice search. In 2012 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5149–5152, 2012. doi: 10.1109/ICASSP.2012.6289079.
Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. In Katrin Erk and Noah A. Smith (eds.), Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1715–1725, Berlin, Germany, August 2016. Association for Computational Linguistics. doi: 10.18653/v1/P16-1162. URL https://aclanthology.org/P16-1162/.
Ross Taylor, Marcin Kardas, Guillem Cucurull, Thomas Scialom, Anthony Hartshorn, Elvis Saravia, Andrew Poulton, Viktor Kerkez, and Robert Stojnic. Galactica: A large language model for science, 2022. URL https://arxiv.org/abs/2211.09085.
Gemma Team, Thomas Mesnard, Cassidy Hardin, Robert Dadashi, Surya Bhupatiraju, Shreya Pathak, Laurent Sifre, Morgane Rivière, Mihir Sanjay Kale, Juliette Love, Pouya Tafti, Léonard Hussenot, Pier Giuseppe Sessa, Aakanksha Chowdhery, Adam Roberts, Aditya Barua, Alex Botev, Alex Castro-Ros, Ambrose Slone, Amélie Héliou, Andrea Tacchetti, Anna Bulanova, Antonia Paterson, Beth Tsai, Bobak Shahriari, Charline Le Lan, Christopher A. Choquette-Choo, Clément Crepy, Daniel Cer, Daphne Ippolito, David Reid, Elena Buchatskaya, Eric Ni, Eric Noland, Geng Yan, George Tucker, George-Christian Muraru, Grigory Rozhdestvenskiy, Henryk Michalewski, Ian Tenney, Ivan Grishchenko, Jacob Austin, James Keeling, Jane Labanowski, Jean-Baptiste Lespiau, Jeff Stanway, Jenny Brennan, Jeremy Chen, Johan Ferret, Justin Chiu, Justin Mao-Jones, Katherine Lee, Kathy Yu, Katie Millican, Lars Lowe Sjoesund, Lisa Lee, Lucas Dixon, Machel Reid, Maciej Mikula, Mateo Wirth, Michael Sharman, Nikolai Chinaev, Nithum Thain, Olivier Bachem, Oscar Chang, Oscar Wahltinez, Paige Bailey, Paul Michel, Petko Yotov, Rahma Chaabouni, Ramona Comanescu, Reena Jana, Rohan Anil, Ross McIlroy, Ruibo Liu, Ryan Mullins, Samuel L Smith, Sebastian Borgeaud, Sertan Girgin, Sholto Douglas, Shree Pandya, Siamak Shakeri, Soham De, Ted Klimenko, Tom Hennigan, Vlad Feinberg, Wojciech Stokowiec, Yu hui Chen, Zafarali Ahmed, Zhitao Gong, Tris Warkentin, Ludovic Peran, Minh Giang, Clément Farabet, Oriol Vinyals, Jeff Dean, Koray Kavukcuoglu, Demis Hassabis, Zoubin Ghahramani, Douglas Eck, Joelle Barral, Fernando Pereira, Eli Collins, Armand Joulin, Noah Fiedel, Evan Senter, Alek Andreev, and Kathleen Kenealy. Gemma: Open models based on gemini research and technology, 2024. URL https://arxiv.org/abs/2403.08295.
Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, YaGuang Li, Hongrae Lee, Huaixiu Steven Zheng, Amin Ghafouri, Marcelo Menegali, Yanping Huang, Maxim Krikun, Dmitry Lepikhin, James Qin, Dehao Chen, Yuanzhong Xu, Zhifeng Chen, Adam Roberts, Maarten Bosma, Vincent Zhao, Yanqi Zhou, Chung-Ching Chang, Igor Krivokon, Will Rusch, Marc Pickett, Pranesh Srinivasan, Laichee Man, Kathleen Meier-Hellstern, Meredith Ringel Morris, Tulsee Doshi, Renelito Delos Santos, Toju Duke, Johnny Soraker, Ben Zevenbergen, Vinodkumar Prabhakaran, Mark Diaz, Ben Hutchinson, Kristen Olson, Alejandra Molina, Erin Hoffman-John, Josh Lee, Lora Aroyo, Ravi Rajakumar, Alena Butryna, Matthew Lamm, Viktoriya Kuzmina, Joe Fenton, Aaron Cohen, Rachel Bernstein, Ray Kurzweil, Blaise Aguera-Arcas, Claire Cui, Marian Croak, Ed Chi, and Quoc Le. Lamda: Language models for dialog applications, 2022. URL https://arxiv.org/abs/2201.08239.
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models, 2023. URL https://arxiv.org/abs/2302.13971.
Elaine Uí Dhonnchadha. A two-level morphological analyser and generator for Irish using finite-state transducers. In Manuel González Rodríguez and Carmen Paz Suarez Araujo (eds.), Proceedings of the Third International Conference on Language Resources and Evaluation (LREC'02), Las Palmas, Canary Islands - Spain, May 2002. European Language Resources Association (ELRA). URL https://aclanthology.org/L02-1147/.
Elaine Uí Dhonnchadha and Josef Van Genabith. A part-of-speech tagger for Irish using finite-state morphology and constraint grammar disambiguation. In Nicoletta Calzolari, Khalid Choukri, Aldo Gangemi, Bente Maegaard, Joseph Mariani, Jan Odijk, and Daniel Tapias (eds.), Proceedings of the Fifth International Conference on Language Resources and Evaluation (LREC'06), Genoa, Italy, May 2006. European Language Resources Association (ELRA). URL https://aclanthology.org/L06-1103/.
Saketh Reddy Vemula, Sandipan Dandapat, Dipti Misra Sharma, and Parameswari Krishnamurthy. Rethinking tokenization for rich morphology: The dominance of unigram over bpe and morphological alignment, 2025. URL https://arxiv.org/abs/2508.08424.
Abigail Walsh, Mark Andrade, Ornait O'Connell, Éanna O'Connor, and Jane Adkins. Survey of irish text corpora for nlp. In Proceedings of the 1st Workshop on Multilingual Data Quality
Signals (WMDQS) at COLM 2025. Workshop on Multilingual Data Quality Signals, 2025. URL https://wmdqs.org/submissions-2025/9.pdf.
Zhilin Yang, Zihang Dai, Yiming Yang, Jaime Carbonell, Ruslan Salakhutdinov, and Quoc V. Le. Xlnet: Generalized autoregressive pretraining for language understanding, 2020. URL https://arxiv.org/abs/1906.08237.
Vilém Zouhar, Clara Meister, Juan Gastaldi, Li Du, Mrinmaya Sachan, and Ryan Cotterell. Tokenization and the noiseless channel. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki (eds.), Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 5184–5207, Toronto, Canada, July 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.acl-long.284. URL https://aclanthology.org/2023.acl-long.284/.
A Appendix
A.1 Eclipses Rules in the Irish Language
Each eclipses in the Irish language appears before specific characters in the language. The eclipsis process adds a consonant to the stem of a word known as an ‘urú’, according to phonological rules. This process is used in specific cases such as after certain prepositions, numbers, possessive determiners etc. Each eclipsis, its subsequent characters and example usage in the language are displayed in Table 3.
A.2 Absorption Analysis Results
The results of the absorption analysis carried out are displayed in Table 4. Absorption represents when an eclipsis, prefix or suffix is merged into a token with a words preceding or subsequent characters e.g. for the prefix ‘neamh’ in the word ‘neamhspleách’ meaning independent, the prefix is said to be absorbed if the tokenization of the word is ‘neamhsp’, ‘leách’ or ‘neamhsple’, ‘ách’ etc. Split absorption represents when an eclipsis, prefix or suffix is segmented and part of the component is absorbed/merged into a token with a words preceding or subsequent characters e.g. for the suffix ‘aíonn’ in the word ‘labhraónn’, the suffix is said to be split absorbed if the word is tokenized as ‘labhra’, ‘íonn’ or ‘labhraío’, ‘nn’ etc. Eclipsis mapping is also reported in Table 4, which represents when an eclipsis is tokenized according to the mapping rules displayed in Table 3 e.g. for the eclipsis ‘g’ in the word ‘gcrfochnaithe’, if the tokenization of this word begins with the token ‘gc’.
A.3 MorphScore Unsuitability
As mentioned in Section 5, MorphScore was explored as an evaluation avenue in this research. On examination of the Irish language data included within the framework, we ultimately decided to not implement it. There were three main issues surrounding the data that led to this decision:
-
Limited data: 2576 entries in MorphScore for Irish compared to over 35,000 in MoirfEolas
-
It appears that the morphologically-aligned subwords in MorphScore are based off of a manipulation of the lemma and stem of a word. The stem appears to be a substring common to both the word and the lemma and then the subwords are centered around this stem i.e. ‘preceding_ part’ is a subword of the characters before the stem and ‘following_ part’ is a subword of the characters after the stem. This stem creation leads to morphologically-inaccurate subwords in many instances.
-
Multiple affixes not accounted for i.e. MorphScore only allows for up to three subwords while the Irish morphology explored in this research necessitates up to 4 subwords
| Eclipsis | Other Forms | Subsequent Character(s) | Example Usage |
|---|---|---|---|
| b | - | P, p | i bpáirt'in part' |
| bh | - | F, f | go bhfuil'that' |
| d | d' | Fh, fhT, t | D'fhreastal mé ar...'I attended...' |
| g | - | C, c | ... i gcomparáid le...'...in comparison with...' |
| h | h- | a, e, i, o, uA, E, I, O, uá, é, í, ó, úÁ, É, Í, Ó, Ú | go huile 's go hiomlán'entirely' |
| m | - | B, b | ... i mBáile Atha Cliath.'...in Dublin City.' |
| n | n- | a, e, i, o, uA, E, I, O, uá, é, í, ó, úÁ, É, Í, Ó, ÚD, dG, g | seacht n-oileán'seven islands' |
| t | t- | a, e, i, o, uA, E, I, O, uá, é, í, ó, úÁ, É, Í, Ó, ÚS, s | An tsráid mhór'The main street' |
Table 3: Eclipsis compositions and examples in the Irish Language.
| Tokenizer | V | E Absorbed | E Mapping | S Absorbed | S Split Absorbed | P Absorbed | P Split Absorbed |
|---|---|---|---|---|---|---|---|
| Unigram | 8 | 50.45 | 4.23 | 36.86 | 22.54 | 40.55 | 4.13 |
| 16 | 60.97 | 2.53 | 40.42 | 24.96 | 51.95 | 3.83 | |
| 32 | 72.9 | 1.61 | 44.61 | 26.48 | 61.2 | 3.63 | |
| 64 | 72.87 | 1.59 | 45.56 | 26.29 | 61.74 | 3.92 | |
| WordPiece | 8 | 98.25 | 33.33 | 51.84 | 15.71 | 46.47 | 3.79 |
| 16 | 99.4 | 22.09 | 59.2 | 13.81 | 59.23 | 2.6 | |
| 32 | 99.72 | 11.76 | 70.15 | 10.55 | 71.14 | 1.1 | |
| 64 | 100 | 4.17 | 84.41 | 5.03 | 81.01 | 0.44 | |
| SP-ULM | 8 | 100 | 0 | 38.56 | 20.14 | 40.4 | 3.92 |
| 16 | 100 | 0 | 42.63 | 23.34 | 53.45 | 3.01 | |
| 32 | 100 | 0 | 48.05 | 24.38 | 64.91 | 2.83 | |
| 43 | 100 | 0 | 50.56 | 23.48 | 67.03 | 2.83 | |
| SP-BPE | 8 | 100 | 0 | 61.53 | 3.87 | 38.75 | 7.62 |
| 16 | 100 | 0 | 70.01 | 2.66 | 48.77 | 5.6 | |
| 32 | 100 | 0 | 79.56 | 1.74 | 60.69 | 3.36 | |
| 64 | 100 | 0 | 89.26 | 0.79 | 72.9 | 1.68 | |
| BPE | 8 | 79.87 | 26.31 | 66.05 | 4.39 | 40.53 | 6.4 |
| 16 | 84.81 | 19.23 | 74.33 | 3.03 | 49.07 | 4.93 | |
| 32 | 91.76 | 11.68 | 83.23 | 1.82 | 59.87 | 2.97 | |
| 64 | 100 | 2.15 | 91.71 | 0.87 | 82.15 | 0.88 | |
| Byte-BPE | 8 | 88.55 | 32.35 | 61.26 | 3.91 | 38.7 | 7.51 |
| 16 | 92.7 | 24.05 | 69.62 | 2.73 | 48.85 | 5.52 | |
| 32 | 96.26 | 16.12 | 79.12 | 1.82 | 61.29 | 3.25 | |
| 64 | 98.01 | 9.77 | 87.67 | 0.95 | 71.75 | 1.91 |
Table 4: Absorption Analysis results for the tokenizers evaluated across vocabulary sizes (V) where E, S and P are eclipses, suffixes and prefixes respectively and where Mapping represents the eclipses being merged with their respective subsequent character(s) displayed in Table 3.
| Component | Index | Word | Lemma | Stem | preceding_part | following_part |
|---|---|---|---|---|---|---|
| Eclipses | 2722 | dtugtar | tabhair | ta | dtug | r |
| 11225 | gcinn | ceann | nn | gci | ||
| 30914 | ndeachadar | téigh | h | ndeac | adar | |
| 2230 | seandaoine | seanduine | seand | aoine | ||
| Prefix | 8008 | comhionnannis | comhionnannas | comhionanna | is | |
| 27027 | mbunscoil | bunscoil | bunscoil | m | ||
| 11331 | osclóimid | oscail | osc | lóimid | ||
| Suffix | 14158 | t-idirghabhálaf | idirghabhálaf | idirghabhálaf | t- | |
| 30469 | dtiocfaidh | tar | t | d | iocfaidh |
Table 5: Subset of MorphScore Irish Entries deemed incorrect
Each of the below examples are displayed in Table 5, categorised by the morphological component (eclipses, prefix, suffix) mishandled by the MorphScore scheme. Each of these entries are collected from the Irish portion of MorphScore data, exploring issues 2 and 3 described above. In addition to examining the morphological composition of the words and how the MorphScore subwords do not align, the MoirfEolas subwords are listed. In 5 out of 9 of the below worked examples, even though MoirfEolas contains more subword boundaries than MorphScore, the required number of subwords are equal. As well as this, 3 out of 9 of the below examples need an additional subword and 1 example needs less subwords than the MorphScore entries as per MoirfEolas.
A.3.1 Eclipses
dtugtar: There is an issue with the lemma -> stem -> subwords calculation causing an incorrect stem of 'ta'. This is a result of being an irregular verb with a lemma quite different to the verb-form used in this case. The incorrect stem is a substring of the verbal suffix 'tar'—the autonomous present tense ending for verbs—added to the word. With the subword boundaries being calculated around the stem, the eclipsis 'd' is absorbed into leading characters of the word and an incorrect 'following- part' subword created. MorphScore subwords are thus 'dtug' 'ta' 'r' whereas the MoirfEolas subwords are 'd' 'tug' 'tar'.
gcinn: There is an issue with the lemma -> stem -> subword calculation causing an incorrect stem of 'nn' leading to eclipsis absorption into the leading characters of the word 'cinn' meaning 'choice'. MorphScore subwords are thus 'gci' 'nn' whereas the MoirfEolas subwords are 'g' 'cinn'.
ndeachadar: There is an issue with the lemma -> stem -> subword calculation resulting in a stem of 'h'. This again leads to eclipsis absorption into leading characters and the incorrect 'following_ part' entry of 'adar' as the expected segmentation is surrounding the incorrect stem of 'h'. MorphScore subwords are thus 'ndeac' 'h' 'adar' whereas the MoirfEolas subwords are 'n' 'deachadar'.
A.3.2 Prefixes
seandaoine: This compound word contains a prefix 'sean' meaning 'old' and the plural noun 'daoine' meaning 'people' which results in the word 'old people'. Both parts of this word are common in isolation. The lemma -> stem -> subword calculation is incorrect as it doesn't capture this nuance and therefore snowballs into an incorrect entry for 'following_ part'. MorphScore subwords are thus 'seand' 'aoine' whereas the MoirfEolas subwords are 'sean' 'daoine'.
comhionannais: This is a compound word meaning 'equality' with the prefix 'comh' meaning 'joint/mutual' and the adjective 'ionann' meaning 'same/equal'. The lemma -> stem -> subword calculation is incorrect and does not capture this, leading to no entry for 'preceding_ part'. The addition of the suffix 'ais' to 'ionann' changes the word to the generative singular case, particularly meaning 'sameness' or 'identity'. This is not captured by MorphScore which has an incorrect entry for 'following_ part'. MorphScore subwords are thus 'comhionanna' 'is' whereas the MoirfEolas subwords are 'comh' 'ionann' 'ais'.
mbunscoil: This compound word means 'primary/elementary school' with the prefix 'bun' meaning 'primary/elementary/basic' and then 'scoil' meaning 'school'. The eclipsis added to the word is segmented correctly however the prefix is not separated. MorphScore subwords are thus 'm' 'bunscoil' whereas the MoirfEolas subwords are 'm' 'bun' 'scoil'.
A.3.3 Suffixes
osclóimid: The 'l' in this form of the verb 'oscail' meaning 'to open' is still a part of the verb, appearing in almost all conjugations of 'to open', and therefore should be included in the stem. The lemma -> stem -> subword calculation does not include it. The verbal suffix 'óimid'—the first person plural future tense ending for verbs that are multi-syllable—should be separated from the root of the verb 'oscl' in this case. Due to the subword boundaries in MorphScore, the 'l' is absorbed into the verbal suffix resulting in an incorrect 'following_ part' entry. MorphScore subwords are thus 'osc' 'lóimid' whereas the MoirfEolas subwords are 'oscl' 'óimid'.
t-idirghabháláí: This is a compound word, containing an eclipsis, prefix, and suffix where 4 subwords are needed to capture the morphology of the word but MorphScore only allows for 3 subwords. The lemma and stem in MorphScore do not adequately capture the compound nature of the word where 'idir' is a prefix meaning between and 'gabhál' means 'taker' or 'catcher'. The word 'gabhál' is also lenited in this case, with an infix of 'h' after the 'g'. Together these words mean 'intercept' or 'intervention'. The addition of the suffix 'ai' personifies the word to mean 'interceptor' or 'intervener'. The eclipsis 't-' is added following the determiner 'an' meaning 'the' and is the only morpheme captured by the MorphScore segmentations. MorphScore subwords are thus 't-' 'idirghabháláí' whereas the MoirfEolas subwords are 't-' 'idir' 'ghabál' 'ai'.
dtiocfaidh: This irregular verb meaning 'will come' with an eclipses causes issues in the MorphScore segmentations. The lemma -> stem -> subword calculation leads to an incorrect stem of 't' as the lemma is 'tar' but the base of the verb in both the conditional and future tense is 'tioc', so 't' is the only shared character between both the lemma and stem in MorphScore. While the 'preceding_ part' is correct in this instance, it is only because the segmentation happens around this incorrect stem. Subsequently there is also an incorrect entry for 'following_ part', where the correct entry is the future tense verbal suffix 'faidh'.
MorphScore subwords are thus 'd' 't' 'iocfaidh' whereas the MoirfEolas subwords are 'd' 'tioc' 'faidh'.