---
title: "Comparison of Current Approaches to Lemmatization: A Case"
description: "An Estonian lemmatization study compares character generation, learned edit rules, and Vabamorf across treebanks and examines where…"
canonical: "https://research.elamur.ai/free/en/papers/dorkin-2023-comparison-current-approaches-lemmatization-case/"
---
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/dorkin-2023-comparison-current-approaches-lemmatization-case/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Comparison of Current Approaches to Lemmatization: A Case Study in Estonian

# Comparison of Current Approaches to Lemmatization: A Case Study in Estonian

Paper · 2023 · Aleksei Dorkin and Kairit Sirts

**Authors:** [Aleksei Dorkin](https://md.research.elamur.ai/free/en/authors/aleksei-dorkin/) and [Kairit Sirts](https://md.research.elamur.ai/free/en/authors/kairit-sirts/) · **Year:** 2023 · **Venue:** Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.nodalida-1.28/)
- [PDF](https://aclanthology.org/2023.nodalida-1.28.pdf)

## Summary

A reader who encounters the Estonian verb *vabandavad* can look it up under *vabandama*, the dictionary form meaning “to apologize.” Finding that dictionary form automatically is the task of [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/). The task can require more than trimming an ending. A system may have to change letters within an ending, decide among several plausible dictionary forms, or reproduce spelling conventions that matter to the annotated answer. Dorkin and Sirts use Estonian to examine what happens when systems with different ways of producing an answer face the same task.

The authors compare a character generator trained from scratch, an EstBERT classifier that learns to select a pre-defined string edit, and the Estonian morphological analyzer Vabamorf. The generator builds a [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/) from the letters of the input and its grammatical tags. The classifier reads the sentence and selects an edit for each token. Vabamorf supplies candidate analyses and uses a separate procedure to select an answer. These designs give the systems different ways to succeed and different reasons to fail. A generator can produce a string freely, a classifier depends on the edits available to it, and a morphological analyzer depends on the candidates it can find and how well it can choose among them.

The token-trained generator gives the highest accuracy among systems that must commit to a single answer on both treebanks. On the Estonian Dependency Treebank validation set in its original form, it reaches 95.49%, compared with 95.04% for the classifier and 87.78% for Vabamorf. When the authors lower-case the data and remove special signs for derivation and compounding, all three improve. On validation data from the Estonian Web Treebank, the generator also does well when trained on the other treebank. Under that same change of training source, the classifier loses accuracy. Training the generator on repeated occurrences also works better than keeping only distinct types, even when the evaluation gives distinct types their own score.

The authors find that a large share of Vabamorf’s mistakes on the Estonian Dependency Treebank arise at the selection stage. When the system gets credit whenever its candidate list contains the annotated answer, its score on the original validation data rises to 99.31%. Its candidate coverage is lower on the web validation data. The authors also find that the systems share relatively few of the errors in the Estonian Dependency Treebank comparison. That leaves room for combining their answers, an approach the paper proposes on the strength of the error analysis.

## Deep dive: Comparison of Current Approaches to Lemmatization: A Case Study in Estonian

An Estonian lemmatization study compares character generation, learned edit rules, and Vabamorf across treebanks and examines where each approach fails. · about 31 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

#### What counts as getting back to the dictionary form

A [word form](https://md.research.elamur.ai/free/en/concepts/word-form/) is the version of a word that occurs in a text. The lemma is the form chosen to represent that word in a dictionary or an annotated corpus. In the paper’s Estonian verb example, the form in the text is a plural present-tense form, while the lemma is an infinitive. The letters shared by *vabandavad* and *vabandama* offer a clue to their relationship. The task is still to produce the particular string that the annotation calls for. Returning a shared fragment would leave the job unfinished.

This is where [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) enters the problem. Grammatical differences can change the letters of a word, and those changes give a lemmatizer evidence about how to recover its dictionary entry. The paper considers systems that use that evidence in different forms. A generator has access to grammatical tags alongside the characters. A classifier learns edits from examples of observed forms paired with lemmas. An analyzer can use lexical and morphological information to propose answers. Each approach makes a different part of the relationship between the inflected word and its lemma explicit.

A recurring issue is that a visible spelling can admit more than one analysis. A system might recover a legitimate dictionary form for the letters it sees while choosing the wrong one for the occurrence under consideration. The surrounding words, the word’s grammatical category, or other grammatical features can help resolve the choice. This distinguishes the task of producing a plausible lemma from that of finding the one the annotators selected for a particular occurrence. It also explains why methods that transform an isolated string still need some way to use contextual evidence.

The spelling of the target creates a separate complication. The Estonian treebanks represent information about derivation and compounding with special signs inside lemmas. Derivation concerns the formation of a word from another form, while compounding joins elements into a word. A result can therefore depend on whether a system reproduces a sign in the annotated position as well as on whether it gets the letters right. The authors describe the use of these signs as inconsistent. They treat the annotation convention as an experimental factor because a difference in accuracy can reflect success at predicting the convention.

Capitalization creates a related issue at the level of edits. A lower-cased form and a form with an upper-case initial can need the same morphological change to reach their lemmas. A transformation inventory that encodes case together with changes to the letters can record those as different classes. A classifier must then learn to distinguish classes whose linguistic work is mostly the same. The authors ask how the comparison changes if the evaluation sets aside both capitalization and the special signs. Their setup tests the consequences of including these features in the task definition.

#### The approaches available before the comparison

The paper describes character generation as an established approach to lemmatization. An encoder reads the input and makes a representation available to a decoder, which writes the lemma in order. The prediction at a given position can use what the decoder has already written. Earlier versions could use grammatical categories and features. The paper also cites [Lematus](https://md.research.elamur.ai/free/en/papers/bergmanis-2018-context-sensitive-neural-lemmatization-lematus/) as an example of supplying evidence from the surrounding text, with context representable as words, pieces of words, or characters. Character output thus leaves open a separate design choice about what evidence the system receives.

The flexibility comes from the way the generator expresses an answer. A whole transformation does not need to exist as a named entry in an inventory before the system can produce its result. The learner can put familiar characters together into an output that requires an unfamiliar combination of changes. The same freedom can produce an unsupported string. The paper points out that character generation can yield changes that do not correspond to real morphology. Its output space allows both possibilities, so that flexibility is a property of the method instead of a guarantee about any particular answer.

The pattern-based tradition starts from a different observation. For many forms, the same instruction can convert many words into their respective lemmas. If the right operation is to remove a final letter, for example, a system can learn a class for that operation and apply it wherever appropriate. The paper describes UDPipe2 as using sequences of string edits for these patterns. It also describes spaCy’s use of edit trees and connects that representation to [Lemming](https://md.research.elamur.ai/free/en/papers/muller-2015-joint-lemmatization-morphological-tagging-lemming/). The shared principle is to make the edit the object of prediction. How the edit is represented and how the class is chosen are design choices.

A fixed set of edits makes the decision more constrained. Once the system has picked an applicable pattern, the transformation specifies the resulting string. This can be useful when a proposed output should be traceable to a recognized operation. The constraint matters most when the needed operation is absent. In that situation a better reading of the sentence cannot by itself give the classifier an edit it was never equipped to select. Conversely, an edit may be in the inventory and still be hard to choose. The distinction between having an answer available and picking it turns up again in the analysis of Vabamorf.

Rule-based and dictionary-based methods provide another tradition. The authors describe systems that realize morphological rules with mechanisms such as cascades or finite-state transducers, and mention Apertium as an example of a platform offering analyzers of this kind. For dictionary lookup they point to resources such as [UniMorph](https://md.research.elamur.ai/free/en/papers/mccarthy-2020-unimorph-3-0-universal-morphology/) and UD Lexicons. An entry can associate an observed form with a lemma, a grammatical category, and features that help distinguish its analyses. The authors emphasize that tools of this kind can be precise without learning their rules and entries from the treebank used for an experiment.

The source of that precision is also a source of dependence. A language-specific dictionary can have an informative entry for a covered form and offer less help on an unfamiliar one. An analyzer can also produce several good candidates from the letters alone. A separate disambiguation procedure can then use the available evidence to pick an analysis for the occurrence. The paper adopts Vabamorf because it supplies an Estonian instance of this approach and can return a single answer after disambiguation. The authors can also inspect its candidate list to see what the scoring procedure would have observed if selection had gone differently.

#### Why repeated words are part of the experiment

The authors also distinguish between learning from tokens and learning from types. A token is an occurrence, so a recurring form contributes again each time it appears in the corpus. A type is a distinct item under the grouping used to remove repetitions. Keeping token occurrences lets the natural frequency of the corpus influence training. Using distinct types gives recurring items less influence. The choice matters because the training set can contain far more evidence about some forms than about others even when both approaches start from the same sentences.

The paper contrasts ordinary lemmatization practice with the convention it describes for morphological reinflection. In reinflection, the task goes from a lemma and specified grammatical features towards an inflected form. The authors note that it is customary there to present each combination once. That practice motivates a question for lemmatization, where the direction of the transformation is reversed. Would the generator benefit from seeing the variety of transformations with repetitions removed, or do the repetitions provide useful evidence? The authors examine that question separately from whether accuracy should be reported over occurrences or distinct items.

The domain contrast gives these comparisons a setting in which different weaknesses may become visible. One treebank includes newspaper writing, fiction, and scientific articles. The other draws on blogs and forums. The authors use them to ask how methods behave with different distributions of words and text, and to compare training on web material with supplying training from the other corpus. The issue is practical for Estonian, but it also sharpens the analytical question. A method can obtain its answer from productive spelling changes, familiar edit labels, or entries in a morphological resource, and the value of those sources can vary with the material it reads.

### The method, step by step

#### Preparing the forms and the answers

The examples come from two Estonian [treebanks](https://md.research.elamur.ai/free/en/topics/treebanks/) in [Universal Dependencies](https://md.research.elamur.ai/free/en/concepts/universal-dependencies/) version 2.10. The annotations associate token occurrences with the lemma expected for each. They also contain grammatical information of the kind used by the character generator. The authors use the treebanks’ training and validation partitions to fit and compare systems, and the paper separately gives the sizes of the test partitions. The principal results are on validation data.

For the Estonian Dependency Treebank, the authors first retain the corpus as annotated. The input keeps its casing and the answer can contain signs for derivation and compounding. In a second condition, called No Sym in the paper, they lower-case the data and remove those signs. Because both modifications are made together, No Sym defines a combined treatment. For the learned systems it changes the examples from which a predictor learns and the strings against which its answers are scored. It also changes which distinctions the learner has to express.

The direction of the task can be written with the mapping used to describe the classifier’s classes.

```
form → lemma
```

The term `form` denotes the observed spelling of the word, and `lemma` denotes the dictionary form sought for that occurrence. The arrow `→` gives the direction of the transformation. In the classifier it stands for the work that the selected edit performs. The same input and output describe the general task, while the generator and Vabamorf use their own procedures to arrive at the answer. The paper describes those procedures through their inputs, their predictions, and their output representations.

How the Estonian lemmatizers produce answers The steps in order.

#### Writing the lemma one character at a time

The generative system adapts the neural transducer of Wu and colleagues, which the paper describes as having been used for morphological reinflection. A transducer converts one sequence to another. Here the sequence being converted is the spelling of an observed form, and the result is a lemma. The system uses a character-level [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/). The input contains individual letters from the form together with morphological tags. The output is the corresponding lemma represented as a character sequence.

The input tags give the generator grammatical evidence about the particular word it has received. The general discussion in the paper mentions [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) and morphological information as ordinary sources of context in generative lemmatization. A part of speech identifies a grammatical category such as verb, while morphological features describe properties within an analysis. In the reported implementation, the input description specifies the form’s characters and its morphological tags. The paper discusses surrounding text in connection with earlier work, so reading a whole sentence should be distinguished from the tag input specified for this generator.

Once it has read the input, the decoder predicts the lemma in order. The paper calls this autoregressive prediction because earlier output characters condition later ones. For the example *vabandavad*, a correct sequence finishes as *vabandama*. The early characters preserve the shared part of the spellings, and the final characters give the required infinitive. The conceptual point is that the learner produces the finished string directly. Its prediction can be judged by the final spelling without assigning that prediction to a single class of whole-word edits.

This procedure also explains what the authors mean by a larger search space. At a position in the output, the continuation is a character prediction conditioned on the input and the output so far. The system can assemble a combination of changes that a catalogue of complete edits would have to name individually. A prediction can also go wrong at an early position, leaving the rest of the prediction conditioned on a different string from the annotated one. The paper evaluates the completed lemma, so all of that sequential work is ultimately reflected in whether the answer matches.

The authors train this system from scratch and make two versions of its training material. The token-trained version uses the occurrences in the corpus, including repetitions. The type-trained version removes repetitions for the distinct-type setting. Both are implementations of character transduction. Changing which examples remain changes how frequently the learner encounters particular items, as well as the size of the material it sees. The comparison therefore concerns the practical effect of using the type-based recipe, with those consequences taken together.

#### Choosing an edit for each token

The pattern-based implementation begins by deriving classes from known pairs of forms and lemmas. The authors reuse UDPipe2 code for building these transformations. Each class captures an instruction that operates on the input string, such as leaving it alone, deleting an ending, or making a deletion and adding letters. The selected class can be reused for another word when the same operation gives the required result. This is how the system shares a target across examples with different spellings.

For an example in which the annotated lemma has exactly the same spelling as the form, the class can be the identity edit. Its instruction is to return the input intact. For an example in which the form has an extra letter at the end, an edit that deletes the last letter can suffice. Changes of this kind are useful for seeing how the division of labor works. The edit code defines what will happen to the string, while the predictor learns when the operation is appropriate. A correct classification can therefore be applied mechanically to get the output.

The authors perform [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) with EstBERT. Fine-tuning starts from an already trained system and adapts its weights to a particular supervised task. The training objective here is to select the appropriate transformation class for each token in a sentence. The authors describe updating the full EstBERT network. They use the Hugging Face token-classification implementation, which they cite through [Transformers](https://md.research.elamur.ai/free/en/papers/wolf-2020-transformers-state-art-natural-language/). That implementation handles the token prediction; the rule-generation code comes from UDPipe2.

At prediction time the classifier reads a sentence, assigns an edit class to each token, and applies the edit to recover the lemma. The predicted label and the resulting word can therefore be examined independently. On a given form, two labels may carry instructions that reach the same spelling by different routes. Those labels are distinct choices during classification, even if applying either gives full credit under lemma accuracy. This distinction matters for interpreting what a label error means and for understanding why the paper scores the final words.

Normalization changes this method at the point where the class inventory is made. If the same edit must sometimes lower-case an initial letter, keeping case can give the learner separate patterns for examples that share the underlying morphological operation. Removing case before creating the classes makes those instances eligible to share an edit. Removing the special signs can likewise eliminate edit distinctions that owe their existence to the spelling of the annotations. The authors regenerate the classification task for the simplified data, so it is the set of available labels as well as the scoring target that changes.

#### Obtaining and choosing among candidate analyses

Vabamorf is an existing Estonian morphological analyzer, accessed through the EstNLTK library. Its analysis supplies possible readings of a form, including possible lemmas. The authors use its disambiguation facility to produce one lemma for each token. That facility is based on a hidden Markov method, referred to as HMM-based disambiguation in the paper. Here its role is to settle on a reading from the available analyses so that the rule-based system makes the same kind of single-answer commitment as the trained systems.

The two stages introduce a useful distinction between coverage and selection. If the correct lemma appears somewhere among the analyses, the analyzer has already made it available. The final answer still depends on whether its disambiguator chooses it. If the correct lemma is absent, any choice confined to the list will fail. The authors use the annotated answer to distinguish these situations after the fact. They can inspect candidate coverage without assigning every single-answer error to a single undifferentiated source.

In the oracle condition, Vabamorf gets credit as soon as its candidate list contains the annotated lemma. The word *oracle* refers to the use of the answer key to determine whether one of the candidates would have worked. Ordinary operation requires a choice without that information. Oracle scoring is therefore a diagnostic of the candidates Vabamorf offers on the evaluated data. The gap between this score and the single-answer score describes the room available to a better selector using those candidates.

#### Holding the target fixed during comparison

All systems ultimately return a spelling, so lemma accuracy gives the experiment a common endpoint. For the generator, the evaluated string is the decoded output. For the classifier, it is what the edit produces. For disambiguated Vabamorf, it is the lemma selected from the analyses. The prediction earns credit if it matches the annotated target in the evaluation condition. This comparison accommodates components with very different internal predictions and puts the judgment at the point where a user would receive the answer.

The authors also compare scoring over occurrences with scoring over distinct types. Token accuracy counts each occurrence, giving recurrent forms repeated opportunities to influence the result. Type evaluation measures performance on distinct items in the normalized Estonian Dependency Treebank validation material. The paper reports type scores for the two generative training recipes. Having both recipes evaluated this way lets the experiment ask whether token-trained generation benefits solely from being judged at token frequencies, or whether its advantage persists under a different unit of evaluation.

For the web treebank, the authors keep the validation set fixed while varying the training treebank for the learned systems. One setting uses web training data and the other uses the Estonian Dependency Treebank for training. The target domain is therefore the same on both sides of the comparison. This procedure exposes the effect of changing the source of supervision as a whole, including changes in the amount and composition of training material. Vabamorf appears alongside these results as the existing rule-based comparison, with oracle scores supplied separately.

### Experiments and results

#### The corpora and what the scores measure

The Estonian Dependency Treebank, abbreviated EDT, supplies 24,633 sentences and 344,953 tokens in its training split. Its validation split contains 3125 sentences and 44,686 tokens, and its test split contains 3214 sentences and 48,532 tokens. The Estonian Web Treebank, abbreviated EWT, supplies 4579 training sentences and 55,143 training tokens. Its validation split has 833 sentences and 10,012 tokens, and its test split has 913 sentences and 13,176 tokens. These figures describe the corpus partitions, while the reported system accuracies come from validation.

The range of writing in EDT and the web provenance of EWT make the corpus distinction substantive. The training sets also differ markedly in size. That matters for interpreting a comparison on web validation data because switching from EWT training to EDT training simultaneously changes the domain and the amount of supervision. The experiment captures what happens under that switch. It does not divide the effect into a genre component and a data-volume component.

The main comparative metric is lemma accuracy. A higher score means that a greater share of evaluated items received exactly the lemma required by the annotation for that setting. Unless the paper labels a result as type evaluation, the main comparisons use token occurrences. The oracle rows use a different condition for success, namely presence of the correct lemma in a list. Thus the numerical scale is the same, but the oracle rows answer a candidate-coverage question while ordinary accuracy answers a prediction question.

#### Results on the Estonian Dependency Treebank

On EDT validation with its original casing and signs, the token-trained generator reaches 95.49% lemma accuracy. The pattern-based classifier reaches 95.04%, and Vabamorf returns the correct single answer for 87.78% of tokens. Training the generator on distinct types gives 91.55% when it is still scored over validation tokens. In these original data, the best single-answer score belongs to generation trained on occurrences, with the contextual edit classifier close behind it.

When the authors use No Sym, the token-trained generator reaches 97.59%, the pattern-based classifier 96.34%, and disambiguated Vabamorf 91.66% on EDT validation. The type-trained generator also improves, to 95.64% on validation tokens. The chart includes the predictors that return one answer, so every row is evaluated by whether that answer matches the simplified annotation.

Single-answer lemmatization accuracy on normalized EDT validation The token-trained generator has the highest accuracy after lowercasing and removal of special signs.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Token-trained generator (this paper) | 97.59 |
| EstBERT edit classifier | 96.34 |
| Type-trained generator | 95.64 |
| Disambiguated Vabamorf | 91.66 |

The original and normalized columns describe different answer requirements. In the original task, the spelling can be wrong because of case or the placement of an annotation sign. The normalized task removes those distinctions in addition to changing what the learned systems see during training. A gain in this comparison means more exact matches under the simplified setup. It can encompass easier output spelling, easier learning, or both. For the edit classifier there is also direct evidence that the space of labels shrinks.

The table gives a further comparison on distinct types in EDT validation under No Sym. With that evaluation, the token-trained generator scores 97.61% and the type-trained generator 95.10%. This column compares the two training recipes under the same alternative scoring unit. The paper does not give corresponding type-evaluation scores for the edit classifier or Vabamorf. Its comparison across methods on EDT is therefore best read from the token columns, with the distinct-type column reserved for the question about generative training.

Vabamorf’s oracle scores put the single-answer results in perspective. On original EDT validation, the correct lemma is available among its candidates for 99.31% of occurrences, alongside its single-answer accuracy of 87.78%. On No Sym EDT validation, candidate coverage is 99.47% and single-answer accuracy is 91.66%. Accordingly, its position in the ordinary ranking depends considerably on what it does after generating candidates. The higher oracle figures reflect access to the answer key when scoring the list.

#### Results on the Estonian Web Treebank

On EWT validation with EWT training data, the token-trained generator scores 95.88%, the type-trained generator 94.63%, and the edit classifier 95.02%. The Vabamorf single-answer entry in this column is 91.75%. The best result for a system giving one answer therefore comes from the generator trained over occurrences, as it does on EDT validation. The in-domain scores also show that the type-trained generator and the edit classifier can change relative position across datasets and settings.

With EDT as the training source and EWT validation as the target, the token-trained generator reaches 96.28% and the type-trained generator reaches 95.97%. Each exceeds the score obtained with its corresponding EWT-trained version. The edit classifier moves in the opposite direction, from 95.02% with EWT training to 87.97% with EDT training. The striking pattern is the divergence under the same change of training source. The generator remains effective on the web material, while the classifier is much more sensitive to the switch in this experiment.

Training source and lemmatization accuracy on EWT validation EDT training gives both generators higher web accuracy while the edit classifier does better with EWT training.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Token-trained generator from EDT (this paper) | 96.28 |
| Token-trained generator from EWT | 95.88 |
| Type-trained generator from EDT | 95.97 |
| Type-trained generator from EWT | 94.63 |
| EstBERT edit classifier from EDT | 87.97 |
| EstBERT edit classifier from EWT | 95.02 |

The paper lists Vabamorf at 91.74% single-answer accuracy in the EDT column of the EWT table and 91.75% in the EWT column. The analyzer is described as an existing rule-based system run through EstNLTK. The table’s training columns identify the source of training for the learned systems, and the paper gives no corresponding treebank training procedure for Vabamorf. Its oracle coverage on EWT validation is 96.98% in both columns.

The web results support two distinct observations about the analyzer. First, the candidate list leaves substantial scope for improving the single-answer result, as on EDT. Second, its oracle coverage on web validation is lower than in either EDT oracle condition. A choice among existing analyses has fewer opportunities to recover the reference lemma on that data. The authors attribute this partly to forms encountered in web writing, including new coinages and more recent borrowings that may be missing from the lexicon. Their observation about web suitability hinges in particular on this coverage comparison.

#### What the overall ranking captures

The strongest ordinary scores in the study come from the token-trained character generator, which the paper describes as substantially smaller than the EstBERT classifier. The table comparison puts a system trained from scratch next to one adapted from a large pretrained network. On the Estonian material studied here, the smaller system’s direct prediction of lemma characters works well enough to lead the comparison. The study compares complete implementations with different inputs and output formats. The ranking describes the performance of those implementations as configured.

The ranking also depends on the question being asked. Single-answer accuracy identifies which system most frequently returns the annotated string on its own. Oracle coverage gives Vabamorf credit for having the required answer somewhere among its candidates. Type evaluation asks whether the generator’s training choice pays off when the data are counted differently. Each score is tied to its validation split and its definition of a successful response. Reading them together gives a more informative account of where the errors originate than treating them as interchangeable entries in a leaderboard.

### What the ablations show

#### Simplifying the annotated target

The Original and No Sym conditions on EDT provide the paper’s clearest intervention on the task itself. The authors change how the data represent casing and signs, then compare the systems under the new requirements. Every system in the main table obtains higher token accuracy under the simplified setting. This shows that case and annotation symbols, taken together, contribute difficulty for the generator and the analyzer as well as for the edit classifier. The effect extends beyond the design that first motivated the comparison.

For the pattern-based system the structural result is more revealing than the ranking. The authors report that the combined simplification cuts the number of transformation classes in half. Case and sign distinctions therefore occupy a substantial part of the inventory. A class can express a grammatical change together with an orthographic one, in which case its examples are spread among related labels. Creating the inventory after normalization lets the classifier reuse some of those examples under a common operation.

The pattern-based system has the smallest reported accuracy improvement from the simplification, in spite of the large change in how many classes it needs. These observations describe different aspects of the system. A smaller inventory measures how many distinctions the classifier is asked to express. An accuracy change measures the effect on final matches when the input representation, target spelling, and classification problem all change together. A large reduction in labels can coexist with a comparatively modest change in matches if many of the removed distinctions were already handled correctly or occurred infrequently. The paper establishes the joint result and leaves that distribution of effects open.

#### Changing which examples are repeated

The comparison of token and type training tests whether removing repetitions helps character generation. On EDT, the token-trained system leads in accuracy both in the original setting and with No Sym. Both training variants are also evaluated over distinct types in the No Sym validation data, and the token-trained system still leads. On EWT validation the token-trained system leads its type-trained counterpart with either source of training material. The consistency across these settings is the basis for the authors’ conclusion that they see no accuracy disadvantage to training over tokens.

The distinct-type evaluation addresses a specific concern about the token-trained result. A learner that profits from seeing common occurrences repeatedly might seem to have an advantage mainly because common occurrences also dominate the score. Evaluating the two learners over distinct validation items changes that part of the measurement. The continued advantage under type scoring shows that alignment with the frequency weighting of token accuracy cannot account for the whole result. It leaves room for repetition to help the learned mapping in ways that extend across the distinct items evaluated.

The training intervention changes the amount and weighting of evidence at the same time. Repeated occurrences supply additional examples to the token-trained system, whereas retaining distinct types shifts emphasis away from frequent entries. The comparison gives the net result of adopting either recipe on these treebanks. It does not identify whether the main contribution comes from corpus frequency, the larger number of examples, or the information carried by the additional occurrences. This matters if the aim is to generalize the result to settings with a different kind of repetition.

#### Checking Vabamorf before and after disambiguation

The oracle experiment changes the decision being graded while preserving Vabamorf’s supply of candidates. In one condition the disambiguator chooses the answer. In the other the scorer checks the whole list for the annotated lemma. The original EDT validation data give a particularly clear example of the gap between these two measurements. It is possible for the analyzer to have high candidate coverage even when the result a reader actually receives is frequently wrong.

Vabamorf single-answer accuracy and oracle coverage on original EDT validation The annotated lemma appears among Vabamorf’s candidates more often than its disambiguator selects it.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Vabamorf with disambiguation | 87.78 |
| Vabamorf oracle (this paper) | 99.31 |

This comparison locates an important source of error in ordinary Vabamorf use on EDT. When one of its candidates agrees with the annotation and the selected result differs, the candidate generator has done enough to make a correct answer possible. The choice of reading accounts for the failure on that token. Improving selection could therefore help on many occurrences without first extending the morphological analysis. The paper’s figures give a ceiling for that specific intervention through the candidates already on offer.

Web validation illustrates where selection alone has less room to help. Vabamorf’s oracle result is 96.98% there, below its EDT coverage. An answer absent from the list remains unavailable even to a selector given ideal guidance. The authors explain the lower coverage in terms of the web corpus containing forms that may lie outside the analyzer’s lexical resources. In practical terms the analysis points to two different bottlenecks, and their relative importance depends on the corpus. The evidence for lower coverage is direct, while the account of the words responsible is the authors’ interpretation.

#### Seeing what the edit labels encode

The most frequent transformation class in EDT training is the identity operation. It accounts for 54.1% of the rule occurrences in that split. Thus much of the classifier’s work consists of recognizing when the observed form should be preserved. The next common operations are short deletions. Dropping the last letter accounts for 8.3% of EDT training rule occurrences, dropping the last two for 5.2%, and dropping the last three for 3.4%. The operation that substitutes *ma* for the final letter accounts for 3.3%. These frequencies describe training labels, rather than accuracy on examples assigned to each class.

The distribution helps explain why a reusable edit inventory is an attractive representation. An identity class covers different words without memorizing a separate unchanged answer for each one. Short deletions can also be applied across many forms. The authors describe a long tail in the same inventory, with some transformations seen only rarely. The infrequently encountered items include edits for suppletive forms, where the relation between a form and its lemma can require a less ordinary spelling change. A classifier must learn to choose among both the heavily represented operations and those with very little supporting evidence.

A second observation concerns different rules that can give the same answer. The paper illustrates this with *vabandavad*, the plural present-tense example. One edit deletes the final three letters and appends *ma*. Another removes the last letter and changes the letter in front of the retained *a* to *m*. Both operations produce *vabandama*. The descriptions differ in which characters they preserve, but the output on this particular input is identical. Two different classification decisions can therefore express the same successful lemmatization.

The authors observe that the classifier can make a prediction of this kind. A label differs from the one derived for the example, yet the applied edit still yields the correct lemma. This explains why label accuracy alone would give an incomplete account of the system. The evaluation of final spellings gives credit to useful edits even when the reference transformation follows a different route. The authors suggest that such cases could be used to investigate what the predictor has learned about morphological relationships. Their example shows how the phenomenon arises, without quantifying how often it occurs.

#### Comparing which tokens the systems miss

The authors compare error sets on the EDT validation split at the level of token occurrences. A token belongs to a system’s error set if the system returns a lemma that disagrees with the annotation. The intersection then identifies tokens for which several methods fail on the same occurrence. This comparison asks a different question from whether their average accuracies are close. Methods that make errors at similar rates can still differ considerably in which items they miss.

In the paper’s accounting, 302 out of 5194, or 5.8%, of the pooled EDT validation errors lie in the intersection of all three systems’ error sets. For an occurrence outside the shared intersection but within the pool, at least one of the compared single-answer systems can supply the annotated answer. The methods therefore have imperfectly overlapping weaknesses. This observation is what supports the authors’ proposal to combine them. It gives a reason to look for a method of selecting among their answers on the cases where they differ.

The overlap analysis itself uses the answer key to decide who was right. A practical combination would face a fresh occurrence and see only the systems’ predictions or candidates. It would need a criterion for trusting a minority answer when the other outputs agree, and for choosing among distinct answers when the systems disagree. The analysis establishes that another answer is sometimes available when a method fails. It leaves the problem of recognizing those occasions for future evaluation.

The transfer comparison on EWT supplies a complementary view of the systems’ differences. The rule inventory gives the classifier a possible route to failure if an edit needed in web material is missing or poorly supported by EDT training. The generator can compose output characters without choosing an inventory entry. These properties are consistent with the observed divergence under cross-domain training. The paper does not count how many web errors require absent edits, so the transfer scores diagnose a difference in behavior while leaving its exact cause unresolved.

### Limitations

#### Limits identified by the authors

The authors describe a tradeoff in how freely the learned systems can produce an answer. Character generation can return a string that lacks a valid morphological interpretation. The paper demonstrates its strength through whole-lemma accuracy, while recognizing that the ability to write flexible outputs includes the ability to write linguistically unsupported ones. A large output space is helpful when a familiar catalogue of edits would be too restrictive. Its value on an individual example depends on the learned generator choosing an appropriate sequence.

The edit classifier has a different boundary. It selects an operation from the classes made available to it. If none of those operations can give the annotated lemma, classification cannot recover that answer. The existence of equivalent edits softens the implication for some examples because a different available label can lead to the right output. Even so, the system depends on having some usable edit and enough evidence to select it. The paper’s examples establish both the constraint imposed by the inventory and the possibility of multiple routes to the same target.

For Vabamorf, the authors distinguish lexical coverage from the quality of disambiguation. They regard the analyzer as suitable for more formal Estonian and less suitable for noisy web writing, where it can encounter forms absent from its resources. Their oracle experiment gives direct evidence that the web candidate lists cover a smaller share of annotated answers. On EDT the lists cover most targets, and the authors identify stronger disambiguation as a promising way to improve single-answer performance within the coverage already available.

The paper also identifies inconsistent use of the signs for derivation and compounding as an obstacle to clean evaluation. A normalized result measures accuracy after those signs and casing have been set aside. A use case that needs the signs reproduced would still require the original task, including its annotation difficulties. The comparison therefore offers results for readers with different requirements. Only the scores on original data measure performance while retaining all the distinctions the authors remove in No Sym.

#### Limits visible in the experimental setup

The strongest claims concern particular configurations on two Estonian treebanks. The generator and classifier differ in multiple ways. One sees the form’s characters together with morphological tags and is trained from scratch. The other uses a sentence-based EstBERT classifier and learns to assign edit labels after pretraining. The system comparison therefore supports a choice between the tested implementations for these data. It does not isolate the effect of character generation from grammatical inputs, the training recipe, or the representation of context.

The same issue applies to the source of the generator’s grammatical information. Its reported setup receives morphological tags alongside the word form. A separate experiment would be needed to measure its behavior when grammatical information must itself be predicted under other conditions, or when it is withheld. The study gives no such tag intervention. Its results describe generation with the inputs specified by the authors, which matters when interpreting the accuracy as evidence about processing text outside the treebank setup.

The normalization comparison combines lowercasing with removal of special signs. It therefore cannot tell how much of the result belongs to either change on its own. It also changes the training and scoring conditions together for the learned systems. An accuracy difference can reflect removal of distinctions from the target, a change in the ease of learning from the resulting examples, or interaction between the two. The halving of the rule inventory is an observed consequence of the combined treatment. It does not allocate that reduction between signs and case.

The web transfer experiment shifts domain and training-set size together. EDT contains substantially more training tokens and sentences, while EWT represents the target genre. The higher web scores of the EDT-trained generators establish that transfer works well for those systems under this combination of conditions. They do not establish whether EDT would still be the stronger source at matched data volumes, or whether changes in the proportion of different genres would alter the result. The classifier’s lower transfer score is likewise a result for this particular switch.

The accuracy comparisons in the results tables are on validation data. The test sets are described by size, and the paper gives no corresponding test accuracies for the main comparison. The paper also reports point estimates rather than uncertainty across repeated fits. Small separations in the tables should therefore be read as the reported outcomes for these partitions and setups. The recurrent lead of the token-trained generator across conditions gives the study a broader pattern than any one close comparison, within the same Estonian evaluation.

Some analyses also have a narrower scope than the main ranking. The distinct-type validation column compares the two generative training settings on normalized EDT. It supplies no equivalent ranking of the rule-based and edit-classification systems under type scoring. The inventory frequencies describe how frequently EDT training rules occur. They give no direct measure of accuracy for rare classes, or of the frequency with which predicated edits agree in their outputs despite differing as labels. The example of equivalent edits supports the possibility of that behavior, without establishing its prevalence.

Finally, the oracle and overlap analyses describe opportunities that use information available after scoring. An oracle verifies a correct candidate by consulting the annotation, and a shared-error count comes from comparing each answer with the reference. Neither operation measures what a selector can recover from unseen text by itself. The paper supplies no ensemble accuracy and no estimate of how well a new selector could exploit the differences among systems. The proposed benefit of combining approaches remains open.

### What came after

No subsequent study is documented as extending this particular comparison. The paper’s forward-looking proposal is to combine the lemmatizers because their errors overlap only partially. A related proposal is to investigate cases where different edit labels yield the same correct lemma. The paper establishes the observations behind these proposals. Whether either leads to a better lemmatizer or a reliable test of morphological knowledge remains an open question.

## Cite

Cite as Aleksei Dorkin and Kairit Sirts. 2023. Comparison of Current Approaches to Lemmatization: A Case Study in Estonian. Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{dorkin2023comparison,
  title = {{Comparison of Current Approaches to Lemmatization: A Case Study in Estonian}},
  author = {Aleksei Dorkin and Kairit Sirts},
  booktitle = {Proceedings of the 24th Nordic Conference on Computational Linguistics (NoDaLiDa)},
  year = {2023},
  url = {https://aclanthology.org/2023.nodalida-1.28/}
}
```

> 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)
