---
title: "A Stochastic Finite-State Morphological Parser for Turkish (2009)"
description: "How a stochastic finite-state parser learns probabilities for Turkish word forms, ranks spelling suggestions, and supports speech recognition."
canonical: "https://research.elamur.ai/free/en/papers/sak-2009-stochastic-finite-state-morphological-parser/"
---
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/sak-2009-stochastic-finite-state-morphological-parser/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2009](https://md.research.elamur.ai/free/en/papers/2009/) / A Stochastic Finite-State Morphological Parser for Turkish

# A Stochastic Finite-State Morphological Parser for Turkish

Paper · 2009 · Haşim Sak, Tunga Güngör and Murat Saraçlar

**Authors:** [Haşim Sak](https://md.research.elamur.ai/free/en/authors/hasim-sak/), [Tunga Güngör](https://md.research.elamur.ai/free/en/authors/tunga-gungor/) and Murat Saraçlar · **Year:** 2009 · **Venue:** Proceedings of the ACL-IJCNLP 2009 Conference Short Papers · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

Proceedings of the ACL-IJCNLP 2009 Conference Short Papers · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/P09-2069/)
- [PDF](https://aclanthology.org/P09-2069.pdf)

## Summary

A Turkish word can be unfamiliar as a whole even when its root and suffixes are familiar. A vocabulary that stores complete words misses such forms unless they have already been added. A morphological parser can recognize them by checking how their parts fit together. Haşim Sak, Tunga Güngör, and Murat Saraçlar give that parser a further ability. Alongside the possible analyses of a [word form](https://md.research.elamur.ai/free/en/concepts/word-form/), it can return probability estimates. The estimates give applications a way to choose among forms that the rules of Turkish [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) permit.

The authors start with a finite-state parser that encodes both the permitted sequences of morphological elements and the changes in spelling that accompany their combination. They analyze a newspaper corpus of 200 million words, use a separate disambiguation system to select a reading for each analyzable token, and follow the corresponding paths through the part of the parser that governs morphological sequences. How frequently each transition is used determines its probability, with smoothing to give unobserved transitions some weight. The authors then combine the weighted sequence rules with the spelling rules. An unfamiliar complete word can receive a score if the parser has a path for its analysis.

In spelling correction, the parser filters proposed repairs for validity and ranks the surviving words by their probabilities. It can consider ordinary character edits, restore Turkish letters written with ASCII substitutes, and look for missing spaces. For the input *nasilsin*, it places *nasılsın* first in the example. On a manually chosen test set, the system detects spelling errors with precision of 0.81 and recall of 0.93. Those figures measure the decision to flag a word. The ranked example shows a separate part of the task, choosing which repair to display first.

The speech experiment shows where greater vocabulary coverage helps and where it falls short. On the broadcast news test set, the morphology-based system has an out-of-vocabulary rate of 2.8%, compared with 7% for Word-50K and 4.7% for Word-100K. Its word error rate is nonetheless higher than those of the two word-based systems. The authors point to the difficulty of optimizing a recognizer with ambiguous morphological paths and to the way those paths share probability. A system that combines word-based and morphological alternatives fares better than Word-50K and comes close to Word-100K. The experiments establish that the parser can supply probability estimates for productive word forms. They also show how much an application depends on the way it uses those estimates.

## Deep dive: A Stochastic Finite-State Morphological Parser for Turkish

How a stochastic finite-state parser learns probabilities for Turkish word forms, ranks spelling suggestions, and supports speech recognition. · about 33 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

#### Why a word list leaves gaps

The paper starts from two properties of Turkish. Inflection gives a word different grammatical forms, and derivation builds further words from existing material. Turkish uses sequences of attached elements for both. A root in a lexicon can therefore underlie many complete spellings, some of which may be absent even from a large collection of text. The practical question is how to recognize a form when it arrives for the first time and how much probability to give it when there is no observed frequency for the whole spelling.

These are different questions for an application. A spell checker needs to decide whether a string is a possible word. A spelling corrector that has generated several possible repairs also needs to decide which one to present first. A speech recognizer needs to consider words the speaker might have said and compare them against alternatives during decoding. A grammar that recognizes a rich set of spellings can help all three decisions, but grammatical validity alone supplies the direct answer only to the first.

A static vocabulary is one way to make the problem manageable. Each entry is a complete form that can be counted and assigned a score. In a system that uses individual word frequencies, a common form has direct evidence for a high score. A form outside the vocabulary has no entry through which it can participate. For a language with productive inflection and derivation, the authors argue that this restriction is especially consequential. A word list commits the system to a set of surface forms in advance, even where the relations among those forms are regular enough for a parser to describe.

The authors aim to assign scores through those regularities. Evidence about a root or a suffix sequence can affect the score of a complete word that was never recorded in the training corpus. The resulting vocabulary is still constrained. The parser has to know the root and permit the relevant sequence, and its spelling rules have to yield the form in question. The change is in what has to be recorded in advance. The system can store a root and rules for its continuations, then derive some of the complete words as they are needed.

#### What earlier systems already supplied

The [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) tradition on which the authors build already offered a way to turn this linguistic description into a working system. The paper cites earlier Turkish morphological parsers by Kemal Oflazer and Tunga Güngör. It adopts the two-level formalism associated with Kimmo Koskenniemi, and draws its rules and descriptions of suffix sequences from Oflazer’s PC-KIMMO implementation. Oflazer’s account supplies the background for treating the internal description of a word and its written form as related representations. [Two-level Description of Turkish Morphology](https://md.research.elamur.ai/free/en/papers/oflazer-1993-two-level-description-turkish-morphology/)

The two representations answer complementary questions. On the internal side, the parser needs to record which root and grammatical elements make up a word. On the written side, it needs to determine which letters those elements produce in combination. An abstract suffix can cover forms whose letters differ according to where it occurs. The grammar can use a single representation for that suffix while the spelling rules determine its realization in a particular word. This lets the parser preserve a common grammatical analysis across different written forms and identify distinct analyses that happen to produce the same spelling.

Earlier Turkish work had also considered spelling checking and correction. As the paper describes it, Ayşin Solak and Kemal Oflazer had studied spelling checking, and Oflazer had developed error-tolerant finite-state recognition with an application to correction. The gap the authors identify is the ranking of possible repairs. An error-tolerant procedure can produce a list of valid words near an input. When that list contains several entries at the permitted edit distance, another source of evidence is needed to choose their order. The paper investigates the probabilities learned by the morphological parser as that source.

The probability estimation also has a finite-state precedent. The authors discuss Jason Eisner’s approach to estimating transition probabilities when several paths might explain an observation. It uses expectation-maximization, an iterative procedure that estimates how often transitions are used under the current probabilities and then updates those probabilities from the resulting counts. The Turkish parser study can simplify this step because it uses a separate disambiguator to choose a training analysis first. Once that analysis is fixed, the authors say it identifies a single path through their sequence grammar. [Parameter Estimation for Probabilistic Finite-State Transducers](https://md.research.elamur.ai/free/en/papers/eisner-2002-parameter-estimation-probabilistic-finite-state/)

The paper’s contribution sits between these precedents. It keeps a grammar designed for recognizing and generating Turkish words, then learns how frequently the paths through that grammar are used. This makes a probabilistic distinction among words within the scope of the existing linguistic description. It also allows the application to retain distinctions within a word. A single spelling can correspond to several readings, and each can carry its own score.

That last property matters because the label *word probability* can conceal two different levels of description. An application may encounter a spelling and want one score for it. The parser works with routes that encode roots and grammatical tags, so multiple routes may lead to that spelling. The training procedure relies on the distinction to count the route taken in context. In recognition, the same distinction introduces a practical question about how competing routes should be handled. The paper uses both applications to see what can be gained from a grammar that preserves the distinction.

### The method, step by step

#### Turning a word into a path

A finite-state transducer is a graph that connects sequences of symbols. Its states mark positions in a process and its arcs, or transitions, carry labels. A transition can read a symbol on one side and produce a symbol on the other. Following an accepted path through the graph relates the sequence read on the input side to the sequence produced on the output side. For a morphological parser, the sequences can be a spelling and its internal description. More than one accepted path for a spelling gives the parser more than one analysis to return.

The authors construct their parser from two transducers. The morphotactics transducer governs which morphological elements and tags can follow one another. It encodes the structure of combinations, such as the positions available for a noun’s number, possessive marking, and case. The morphophonemics transducer handles how the internal symbols correspond to the characters of the surface form. This division gives a place to describe both the ordering of elements and the spelling changes that occur when they are combined.

The paper writes the composition of these components as follows.

```
mp ◦ mt
```

The symbol `mp` denotes the morphophonemics transducer and `mt` denotes the morphotactics transducer. The operator `◦` means finite-state composition. Composition connects the components by matching the labels on the side they share. The resulting transducer represents the correspondence between surface spellings and complete grammatical analyses. A form has to satisfy the letter correspondences as well as the sequence constraints to obtain an analysis.

The authors adapt their sequence description and two-level spelling rules from the PC-KIMMO implementation. They use the `twolc` rule compiler to turn the spelling rules into finite-state form. The root lexicon is newly compiled and has 55,278 words drawn from the Turkish Language Institution dictionary. They use the OpenFST library to carry out finite-state operations and run the parser. The paper also reports that the stochastic parser is made available for research use.

The lexicon and the transducers serve different purposes. The lexicon supplies the roots on which analyses can be built. The morphotactics says what can attach and in which order. The morphophonemics says what the combination looks like on the written side. Distributing the work across these parts avoids the need to enter each inflected form as a separate lexical item. A spelling admitted by several combinations can still be represented by several paths through the composed parser.

#### Why the paper chooses an analysis before counting

The paper illustrates ambiguity with *kedileri*. All of its readings start from *kedi*, and all end in the same written form. In one reading the noun is plural and a singular possessor gives the sense “his or her cats.” Another reading is a plural noun in the accusative, with no possessor. A further reading is also plural but has a plural possessor, giving “their cats.” The singular noun with a plural possessor gives “their cat.” A reader can see the general problem without knowing Turkish. The same ending can provide evidence for the number of the things possessed, the number of their possessors, or a case marking, depending on the combination of tags.

The tags preserve distinctions that a surface spelling conceals. `A3pl` and `A3sg` distinguish the noun’s plural and singular readings in the example. `P3sg` and `P3pl` mark the corresponding possessor distinctions, and `Pnon` represents the absence of a possessive marker. `Nom` and `Acc` identify nominative and accusative case. The example also distinguishes abstract suffix symbols, such as `lAr` and `SH`, from the letters that appear in *kedileri*. A tag sequence specifies the grammatical route even where two routes use the same spelling or the same abstract suffix.

Suppose the training data recorded only the spelling *kedileri*. Incrementing the counts for every compatible path would give each reading credit for the same occurrence. Assigning the occurrence to a particular path requires a decision about the reading in its context. The authors already have an averaged perceptron-based morphological disambiguator for this task. It chooses among the analyses supplied by the parser. Its decision is treated as the observed analysis when learning the transition weights.

This makes the training sequence important. The original, unweighted parser first generates the alternatives. The disambiguator chooses a reading from those alternatives. Only then does the stochastic parser learn from the resulting paths. The learned scores are therefore based on decisions made by a system that can use contextual evidence, although the eventual score assigned by the weighted parser concerns the word and its analysis in isolation. Context helps determine what gets counted during training. The stored weights summarize the resulting counts.

How the parser learns transition probabilities The steps in order.

The general corpus comes from online newspapers and contains 200 million words. The parser can analyze about 96.7% of its tokens. The coverage figure matters at this stage because the disambiguator needs candidates from the parser. The training procedure can use the selected paths for the forms that receive an analysis. If a spelling yields no valid path, it contributes no such path to the count. The procedure carries the inventory of roots and the limits of the grammar into the data used to estimate their probabilities.

#### Counting the transitions taken by a reading

The authors want a count for each arc in `mt`. A count of surface words would group all appearances of a written form together. A count of tags alone would likewise overlook the fact that a tag can be reached from different states in a sequence grammar. By retaining the identity of each arc, the procedure ties the count to a particular transition in the grammar. Repeated use of a transition increases its count whether it appears in repeated occurrences of the same word or along paths for different words.

The counting procedure implements that idea inside the finite-state representation. A weight is a vector of integers with one coordinate per arc in the morphotactics transducer. An arc receives the basis vector for its coordinate. A basis vector has a unit entry in the coordinate assigned to that arc and zero entries elsewhere. Adding it to a path’s running total records a traversal at the right position, leaving the counts for other arcs unchanged.

The paper describes the bookkeeping as a counting semiring. In a weighted transducer, the operations of a semiring specify how to combine the weights along a path and how to combine the weights of alternative paths. For this procedure the authors define both operations using vector addition.

```
u ⊗ v = u ⊕ v = u + v
```

The symbols `u` and `v` denote weight vectors in the counting representation. The operator `⊗` combines weights along a path. The operator `⊕` combines weights across alternatives, and `+` means addition coordinate by coordinate. The equals signs say that the two operations have the same implementation here. If the same arc occurs repeatedly on a selected path, adding its vector at each occurrence records that multiplicity. Under the paper’s single-path assumption, the count for a selected analysis does not have to distribute evidence among alternative routes.

The paper uses a small transducer for each selected sequence. It emits the tags of that sequence without consuming a corresponding input string.

```
ε × xᵢ
```

The symbol `ε` denotes the empty symbol. The expression `xᵢ` denotes the morphosyntactic tag sequence selected for the corpus token indexed by `i`. The notation `×` pairs the input and output sides in this expression. The tags are on the output side, and the input side is empty. The little transducer’s arc weights are zero vectors of the same dimension as the count vectors in the grammar, so it supplies a constraint on which tags to follow without contributing any traversal counts of its own.

The authors then match the selected tag sequence against the counting version of the morphotactics transducer.

```
(ε × xᵢ) ◦ (mt × ε)
```

The parentheses group the two components passed to the composition operator `◦`. The left component emits the selected tags `xᵢ` for occurrence `i` from the empty symbol `ε`. The right component uses the tags from `mt`, the morphotactics transducer, on its matching side and has the empty symbol on its output side. The `×` notation pairs the two sides of each component. After matching the tags at the interface, the composed transducer has empty labels on its outer input and output sides. The counting weights remain on the matched route.

The paper describes minimizing this result to a single state that carries the traversal vector. The useful output is the vector itself. Its coordinates tell how often the selected route used each arc, including any repeated traversal of the same arc. Adding these vectors over the corpus produces the totals used for probability estimation. A repeated analysis contributes each time it occurs. A less frequent analysis can still contribute evidence to arcs that it shares with more frequent forms.

This is where the decision to disambiguate first reduces the estimation problem. With an unresolved spelling, path counts would depend on how likely the competing readings were, and estimating those probabilities could in turn depend on the path counts. The procedure described by Eisner addresses this kind of dependency with expected counts. Sak, Güngör, and Saraçlar take the selected tag sequence as given for counting. The remaining task is to follow the matching path exactly and add up its traversals.

#### Turning counts into probabilities

The training count for an arc describes how often the selected analyses use it. To get a transition probability, the authors compare the count with counts for transitions leaving the same state. This is a local comparison. A state represents a position in the grammar, and the distribution at that state describes how the paths in the training data continued from that position. An arc’s count can support a high probability at one state even if its raw count is small beside counts at frequently visited states elsewhere in the transducer.

The unsmoothed maximum-likelihood estimate described in the paper gives each outgoing arc a probability proportional to its observed traversal count. The implementation uses add-one smoothing, which gives an allowed transition some probability even when the disambiguated corpus did not use it. The resulting rule for the outgoing arcs can be written as follows.

```
p(a | q) = (c(a) + 1) / Σᵦ∈A(q)(c(b) + 1)
```

Here `q` is a state, `A(q)` is the set of arcs leaving it, and `a` is a member of that set. The symbol `p(a | q)` is the probability of taking arc `a` from state `q`, with `|` read as “given.” The function `c` returns the accumulated count of the arc in its parentheses. The `1` in each smoothed count is the unit added by the procedure. The symbol `Σ` sums the smoothed counts for each arc `b` in `A(q)`, with `∈` indicating membership. The plus signs add the smoothing count, the slash divides by the total, and the equals sign gives the normalized probability. This expresses the paper’s description of normalization over outgoing transitions.

Smoothing operates on the arcs already present in the grammar. A permissible continuation with no training traversal can still receive a score through that arc. The procedure depends on the original grammar to decide which continuations are permissible. An unknown root, for example, does not become a lexical entry through smoothing. This distinction is particularly important for productive morphology. There can be sparse evidence for an allowed route even when the parser has all the linguistic pieces required to recognize it.

After the transition probabilities have been assigned, the authors compose the weighted morphotactics with the morphophonemics. The spelling component still checks the relation between the abstract sequence and the surface form. The weights come from the sequence component. The paper’s first figure shows the paths for *kedileri* in this weighted representation. Each path preserves one of the grammatical readings and carries its own score.

The weights displayed for the parser are negative log probabilities. A path can be scored by accumulating those costs along the route. Adding logarithmic costs corresponds to multiplying the probabilities of its transitions. A smaller negative log cost represents a more probable path. This matters later in the spelling example, where the numerical scores are displayed in increasing order even though the intended ranking is from more probable to less probable.

In reading the figures and examples, the distinction between a path and a complete spelling remains important. A path has a determinate sequence of arcs, so it has a route-specific score. A spelling like *kedileri* can reach several such paths. The paper shows those routes separately in its parser figure, and its speech analysis discusses the consequences of sharing probability among them. The availability of a ranked analysis is a capability of the parser. How a downstream system turns several analyses into one decision depends on how that system uses the transducer.

#### From a suspicious spelling to possible repairs

The spelling system first queries the parser with the input word. Failure to find an analysis is its signal that the word may have been misspelled. For a flagged input, candidate generation explores nearby strings. A candidate can be formed by inserting a character, deleting one, substituting one character for another, or transposing adjacent characters. The paper limits these ordinary operations to an edit distance of 1. The operation can occur at any applicable position in the string.

The authors express deletion through a regular expression that can be compiled into a transducer.

```
Σ* (Σ : ε) Σ*
```

In this expression `Σ` is the alphabet, and the asterisk `*` lets the portion it follows match any string over that alphabet, including an empty string. The parentheses group the deletion step. The colon in `Σ : ε` separates the input side from the output side. The input is a character from `Σ`, and `ε` means that the output at that position is empty. The outer portions represent the material before and after the deletion, passed through intact. Juxtaposition places those parts and the deletion in sequence. Here `Σ` names the alphabet, distinct from its use as a summation sign in the probability formula.

There is also a route for a common kind of spelling variation that ordinary single edits could miss. The authors describe Turkish characters being replaced with nearby ASCII characters when keyboards or message systems make the Turkish letters unavailable. The correspondences are *ç* and *c*, *ğ* and *g*, *ı* and *i*, *ö* and *o*, *ş* and *s*, and *ü* and *u*. The correction system considers which Turkish spellings could have produced the input under those substitutions. With *nasilsin*, it can propose *nasılsin*, *nasilsın*, and *nasılsın*. These are candidates generated by the restoration mechanism. The grammar still has to check them.

The possible restorations demonstrate why the ordinary edit limit does not give the complete account of candidate generation. In *nasilsin*, restoring either occurrence of *ı* is a single replacement. The intended *nasılsın* restores both occurrences. Character restoration can propose the complete form through one treatment of ASCII substitutions, even though the form would lie outside the ordinary single-edit neighborhood. The paper also handles the case of a missing space by trying splits of the input into two strings and checking whether both are valid words.

The authors combine the transducers for ordinary edits and Turkish character restoration by taking their union. In this setting, a union admits paths supplied by either component. They compile the combined transducer in advance and use determinization and minimization to optimize it. Determinization aims to make transitions more predictable given the symbols being read. Minimization reduces the representation by merging equivalent structure. The precompiled transducer can then be reused across inputs.

For a particular input, composition with the edit-and-restoration transducer constructs the candidate alternatives. Composition with the morphological parser retains those with valid analyses. The survivors carry estimated probabilities that can be used to order the suggestions. The procedure thus puts the linguistic constraints after generation, where they can filter candidates from any of the allowed operations. It uses the parser’s probabilities to decide which valid results to show first.

This division matters when interpreting an example. The restoration rule explains why a candidate appears. The grammar explains why it survives. The learned probability explains its position among the surviving spellings. A highly ranked correct form depends on all of those steps. A form omitted at generation or rejected by the grammar never reaches the ranking stage, regardless of how likely a reader would consider it.

#### From individual words to speech transcription

The authors also use the stochastic parser in a broadcast news recognizer. They take the closure of the transducer, a finite-state operation that permits repetitions. Where the parser represents paths for individual words, its closure makes successive words available as a sequence. Each word is weighted using its own path. This is a unigram approach, meaning that it assigns a score to a word without conditioning that score on preceding words. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

A word-based unigram system starts with a vocabulary of complete spellings and scores them from the transcription training data. The morphology-based system can represent further complete forms using known roots and permitted continuations. It estimates its morphological weights using the same general training procedure as the newspaper-based parser, applied to the news transcriptions used for speech experiments. This gives the speech comparison a shared source of written training material for the word-based and morphological components.

The recognizer also has an acoustic component that evaluates how the alternatives fit the speech signal. It uses hidden Markov techniques trained on broadcast news recordings. The lexical and acoustic sources of evidence have distinct roles. The acoustic component provides scores for what the recording could contain. The word or morphology transducer supplies what sequences of words the recognizer can consider and how much weight those sequences receive. Adding spellings through morphology can therefore change both what is available and what competes with the desired transcription.

A combined system takes the union of the morphology-based transducer and a word-based unigram transducer. The direct word paths and morphological paths are then available within the same search. The morphological paths also carry analyses, which the authors identify as a reason to use them in speech recognition. The evaluated unigram system makes those analyses available during recognition, while the paper leaves the scoring of hypotheses using context over morphological features as a future step.

### Experiments and results

#### The resources and their measurements

The paper reports several figures that describe the components before it evaluates the applications. Its root lexicon has 55,278 words. The finite-state parser analyzes about 8700 words per second on a 2.33 GHz Intel Xeon processor. That rate describes running the parser on the hardware named in the paper. It is a component throughput figure. The spelling task also requires generating and filtering candidates, and the speech task has its own search and runtime measurements.

The online newspaper corpus contains 200 million words. The parser returns analyses for about 96.7% of its tokens. Here a token is an occurrence in running text, so repeated spellings each count as an occurrence. The figure measures the proportion for which an analysis is available. The fact that the parser can offer several readings for *kedileri* illustrates why coverage and selecting the right reading are distinct measurements.

For that selection step, the paper reports about 97.05% disambiguation accuracy on the disambiguator’s test set. The figure describes choosing a reading from the parser’s candidates. It is a separate result from the newspaper coverage figure. The paper uses those components together to obtain training paths, but the two reported percentages address different decisions on differently described data. There is no common denominator specified for treating them as an end-to-end measure of correctly analyzed newspaper tokens.

These resource figures also give context to the speech experiment’s data. The large newspaper collection trains the general stochastic parser described in the method. The broadcast news comparison uses its own training text from transcriptions of recordings. The size of the newspaper corpus therefore describes the general resource, while the size of the transcription corpus describes the text that supplies counts for the speech experiment.

#### Detecting and correcting spelling errors

The spelling detection test contains 225 correct words and 43 words that are commonly misspelled. The authors chose the words manually and selected correct forms with relatively complex morphology. The correct words matter to the test because the system declares an error when the parser fails to find an analysis. A valid but difficult form can therefore exercise the part of the checker concerned with avoiding unnecessary flags, just as a misspelling exercises its ability to flag an actual error.

Precision is the share of flagged items that are errors. The system’s detection precision on this test set is 0.81. Recall is the share of actual errors that the system flags. Its detection recall is 0.93 on the same set. The measurements attach to the decision that initiates correction. They say how the parser’s acceptance criterion behaves on the selected words, including how frequently it raises an alert for a genuine spelling problem and how frequently it finds the errors present.

The paper offers a concrete example for the next stage. The misspelling *nasilsin* yields these ranked suggestions with their negative log scores.

- *nasılsın*, 14.2, a question asking how someone is doing.
- *nakilsin*, 15.3, describing someone as a transfer.
- *nesilsin*, 21.0, describing someone as a generation.
- *nasipsin*, 21.2, describing someone as a share.
- *basilsin*, 23.9, describing someone as a bacillus.

The intended *nasılsın* leads the displayed list. The scores are negative log probabilities assigned to the suggestions, so the smallest score gives the highest ranking. The example makes clear why filtering for validity alone leaves the correction task unfinished. The surviving words can carry very different meanings while still being sufficiently similar in spelling to appear in the same search. The learned scores supply an ordering among those valid alternatives.

It also shows how the generator and ranker interact. The top word requires restoration of Turkish letters from their ASCII forms. If the correction system considered only ordinary single edits, it would lack the candidate that leads the list. Once the restoration mechanism proposes it, the morphological parser can recognize it and give it a score. The numbers in the example illustrate this outcome for a particular input. The precision and recall figures, in turn, belong to the earlier detection decision across the selected test items.

The spelling section contains no aggregate comparison between probability ranking and a competing ranking rule. Its empirical results comprise the detection scores and the worked suggestion list. The earlier checking and correction systems give the problem its context. The paper does not present them as baselines run on these test words. In particular, the score of 14.2 belongs to the candidate *nasılsın* for this example. It is neither a fraction of test words corrected nor a direct comparison with the order another system would produce.

#### Broadcast news transcription

The speech task uses an acoustic component trained on 183.8 hours of broadcast news speech. The test set contains 3.1 hours of speech, comprising 2,410 utterances. The text used to train the unigram word systems and the stochastic parser for this comparison consists of 1.2 million words from transcriptions of the news recordings. Thus the training figures for audio and text describe different inputs to the recognizer. The audio supports acoustic scoring, and the transcription text supplies the word or transition counts.

The word-based baselines are Word-50K and Word-100K, both unigram systems distinguished by vocabulary size. The morphology-based system uses the closure of the stochastic parser. The combined system, called *word+morphology*, admits both word-based and morphological alternatives through a union. This gives the experiment a comparison among two sizes of complete-word vocabulary, a system built from roots and grammar, and a system with both sources available.

An out-of-vocabulary rate, or OOV rate, describes the share of test words outside the forms available to a system. The paper reports a test OOV rate of 7% for Word-50K and 4.7% for Word-100K. The morphology-based system’s test OOV rate is 2.8%. The paper gives those rates for the two baselines and the standalone morphological system. It does not give a corresponding OOV rate for the union.

Out-of-vocabulary rates on the broadcast news test set The morphology-based system leaves fewer test words outside its vocabulary than either word-based baseline.

**The numbers**

| System or setting | OOV % |
| --- | --- |
| Word-50K | 7 |
| Word-100K | 4.7 |
| Morphology-based (this paper) | 2.8 |

The coverage comparison supports the paper’s motivation for generating forms through morphology. Increasing the size of the word list reduces the share of unseen forms in the test set. Allowing forms through a morphological grammar reduces it further in this experiment. The comparison concerns whether the test reference words are available as candidates. The recognizer still has to find the correct sequence using its acoustic evidence, word scores, and search procedure.

For that part of the evaluation, the paper uses word error rate, or WER, which measures the word-level edits needed to match the reference transcription relative to the number of reference words. It plots word error rate against the real-time factor. The latter compares the time spent on recognition with the duration of the speech. Presenting the measures together shows the tradeoff between recognition errors and the time required to search for a transcription.

The plotted operating points come from varying the pruning beam width. A beam restricts the set of partial hypotheses that the recognizer continues to explore. A broader search can carry more hypotheses forward and takes computational work. A tighter beam can remove alternatives earlier, including alternatives that would have scored well had their paths been extended. Varying the beam allows the authors to compare the word-based, morphological, and combined systems across search settings.

The paper reports that the morphology-based system has a higher word error rate than the word-based systems in spite of its lower OOV rate. It offers two explanations. The ambiguous transducer is harder to optimize for recognition than the word-based alternatives. Moreover, the probability assigned through the grammar is distributed among possible analyses and paths, which the authors regard as a weakness of the estimates in this task. These are explanations offered for the observed result. The experiment varies the beam and the lexical system, so it gives the overall behavior of the systems under those choices.

The combined system performs better than Word-50K and is close to Word-100K in the paper’s account of the speech comparison. The authors describe it as addressing much of the weakness seen with the standalone morphology-based system. The result is relevant both to decoding and to the representation carried through decoding. The combination can draw on direct estimates from complete words and still make morphological paths available. Those paths can provide analyses that a word list on its own does not carry.

The numerical OOV rates give a direct comparison of coverage at the reported vocabulary settings. The WER result is presented as curves and described in terms of relative performance, with the operating points depending on the pruning beam. The paper’s discussion gives the direction of the comparison and the closeness of the combined system to Word-100K. It supplies no single numerical WER value in that discussion that would characterize a system independently of the search setting.

### What the ablations show

The paper contains no formal component-removal ablation. Its analyses instead compare complete systems, vary search effort, and use worked examples to show what the transducer represents. These comparisons address distinct questions. The vocabulary baselines test the effect of changing the inventory of complete words. The morphology comparison tests a change in how words are represented and scored. The union tests the outcome when both kinds of path are available to the recognizer.

#### Coverage and recognition move differently

The Word-50K and Word-100K comparison establishes a reference for what a larger complete-word vocabulary does on this task. The lower OOV rate for Word-100K shows that more of the test text is available to the recognizer when it uses that list. The comparison with morphology then goes beyond a change in the size of a list. The morphological representation can produce words from the roots and continuations in its grammar, admitting some complete forms without requiring a stored entry for each one.

The standalone morphology result shows that these additional possibilities do not guarantee a better transcription. At the vocabulary level, admitting a reference word makes it possible to recover it. At the decoding level, that word and its paths must receive scores good enough to survive comparison against competing hypotheses. The result demonstrates that the two measurements can move in different directions in the same experiment. It puts a boundary around what the coverage result establishes.

The authors’ explanations suggest two places to look for this difference. The first concerns computation. A recognition graph with alternate analyses for the same spelling preserves information about those analyses, and the paper reports that the ambiguity obstructs the optimizations available in the word systems. The second concerns probability estimates. Paths for different analyses of a form share the probability that might otherwise be attached more directly to the spelling. The system comparisons leave the contributions of these two effects unresolved because the morphology setting changes the graph and the probability estimates together.

#### What the combined system tests

The *word+morphology* setting tests whether using both representations in one recognizer can improve on the standalone morphological result. Its performance relative to Word-50K and Word-100K supplies evidence about the combination as a whole. The result is consistent with the authors’ account that direct word estimates compensate for weaknesses of the morphological paths while those paths continue to provide useful coverage and structural information.

The comparison leaves open which words benefit from the combined search and which are supplied best by the direct word paths. The paper reports performance at system level. Establishing the source of a particular gain would require tracing which words take morphological paths, how their analyses compete, and what happens to their scores when the same surfaces are available as direct word entries. The aggregate curves are designed to compare recognition behavior across settings and runtime, so they do not perform that tracing.

The beam changes add a controlled view of search effort. Each operating point uses a particular pruning width, making it possible to examine error against runtime for a given kind of lexical graph. This is useful for the authors’ argument about optimization because the practically relevant question is what recognition accuracy a graph can deliver under a search budget. The sweep does not independently control ambiguity. A curve reflects the interaction of the graph, its weights, and the search settings.

#### What the worked examples establish

The paths for *kedileri* illustrate the distinction between the ambiguity faced at training time and the ambiguity retained at application time. In corpus training, the disambiguator chooses a tag sequence and directs its occurrence to a particular path. The resulting parser can still represent the other readings when it encounters the spelling again. This is central to the design. The weighted system learns from selected readings while preserving all readings licensed by its grammar.

The *nasilsin* example makes a similar distinction between making a candidate available and making it preferable. The presence of *nasılsın* illustrates the reach of the Turkish character restoration. The first position of that candidate illustrates what the assigned scores do after filtering. The other candidates show why the latter step matters. A validity threshold can retain words that are plausible as strings but poor guesses for what the writer intended.

Neither worked example supplies a distribution across many ambiguous or misspelled words. The first explains why path counts have to refer to readings. The second demonstrates a sequence of candidate generation, recognition, and ranking for one input. Taken with the system comparisons, they show where the architecture acts and where the experiments measure its consequences. The strongest numerical comparison concerns vocabulary coverage. The strongest evidence concerning transcription comes from comparing complete recognition systems, with causal explanations about their internal differences left for future testing.

### Limitations

#### Limits the authors identify

The authors explicitly restrict their spelling probabilities to unigrams. The corrector can use the estimated plausibility of a candidate as a word, but the score cannot change with the words around it. That restriction matters when several valid candidates fit the same misspelled string. The word most plausible in isolation may fit poorly in a particular sentence. The authors suggest that probabilities over morphemes could bring context into the decision. They leave that extension outside the reported spelling test.

They also limit ordinary edits to a distance of 1. The authors say that allowing longer edits is straightforward in the finite-state approach. The evaluated generator covers its ordinary one-edit operations, character restoration, and missing-space splits. A form requiring a more distant ordinary repair falls outside that part of the candidate search. Character restoration gives a wider reach for its specific kind of error, as *nasilsin* shows, while the number of general edits remains restricted.

The authors identify ambiguity as a particular difficulty in speech recognition. They attribute part of the standalone morphology system’s higher WER to the cost of the ambiguous graph and part to the distribution of probability across analyses and paths. Both difficulties are tied to a property the authors also value. Analyses are available while the recognizer considers a word. That richer representation can support later scoring of hypotheses, while the unigram system in the experiment has to search and score the paths it already contains.

The paper calls its speech results preliminary. It proposes learning scores over morphological features and using them to rescore hypotheses during recognition. The proposal would use information that the transducer retains, potentially including distinctions among readings of the same spelling. The evaluated comparison measures the unigram systems and their union. The effect of contextual rescoring on those results remains a question for a subsequent experiment.

#### Limits of the evaluation design

The spelling test was manually assembled, with a deliberate focus on relatively complex correct words and commonly misspelled forms. This supplies targeted cases for a finite-state checker, since complexity can make both legitimate words and plausible errors challenging to handle. It leaves performance on a naturally occurring stream of writing unmeasured. In such a stream, the frequency of misspellings and the kinds of errors present would affect how to interpret the rate of alerts and the usefulness of the suggestions.

The detection rule also has consequences that follow from its design. A correct word without an analysis can trigger a flag, because acceptance depends on the parser’s lexical and grammatical coverage. A wrong string that happens to be a valid word can pass the same check, because the checker uses grammatical acceptance to decide whether the form is suspicious. For example, the candidate list demonstrates that strings similar to an intended word can themselves be valid. Whether a valid form is the right choice in a sentence is a question the isolated-word decision does not answer.

The paper measures detection and illustrates ranking. It leaves the overall success of correction unquantified. The reader cannot infer from the precision and recall how often the intended replacement occurs near the top of the list. That outcome depends on whether the generator can reach it, whether the parser accepts it, and how it scores against other survivors. The displayed *nasilsin* example shows that these steps can work together. It gives no basis for estimating their success rates across error types, including ordinary edits, ASCII substitutions, and the omission of spaces.

The training procedure also depends on the readings chosen by the disambiguator. A wrong choice moves evidence to the path for the wrong analysis, even when each possible path is valid for the spelling in isolation. The disambiguator’s reported accuracy gives some context for this dependence. The paper leaves open how sensitive the learned probabilities are to remaining errors, because it does not compare the weights learned from automatically selected readings with weights learned from verified training analyses. It also gives no comparison against a procedure that spreads counts among competing readings.

Likewise, add-one smoothing is an implementation choice whose individual contribution is unmeasured. Its stated purpose is clear. It keeps an existing arc available with a positive probability even when training never traverses it. The experiments evaluate the parser with that choice in place. They leave open how much smoothing affects coverage of usable recognition hypotheses, spelling suggestion order, or word error rate. The same distinction applies to transition counting itself. The paper explains what the counts represent and shows how the resulting system behaves, but it does not compare alternative ways to weight the grammar.

The coverage figures need their dataset labels. The newspaper token coverage describes the general parser on online newspaper text. The broadcast news OOV rates describe what the evaluated systems make available on a speech transcription test set. The lexicon size describes the parser’s root inventory, whereas the word baselines are identified by sizes of complete-word vocabularies. The measurements address related aspects of coverage, yet each has a different unit or setting. The paper gives no cross-domain test that would establish how the same ranking or coverage effects transfer to other text or speech.

Finally, the speech comparison changes multiple things when it moves from the word systems to morphology. The available words change, their scores change, and the transducer searched by the recognizer changes. The WER and real-time comparison records the combined outcome. It cannot determine how much of the result comes from each factor or establish that an alternative treatment of ambiguity would recover the potential suggested by the OOV figure. The paper’s most precise result is that greater lexical coverage and lower recognition error are separate outcomes in this setup. The hybrid result shows how those outcomes can be brought closer together in the reported task.

### What came after

The subsequent use of the parser’s ideas in published work is undocumented here. The authors’ own proposed follow-up was to score speech hypotheses using the morphological features available during recognition. That proposal would put the analyses carried by the transducer to work beyond the unigram probabilities tested in the paper. Its motivation comes directly from the broadcast news result. The grammar made more reference words available, and the recognizer still needed better evidence to choose among the alternatives. The paper leaves the effect of feature-based rescoring unmeasured.

## Cite

Cite as Haşim Sak, Tunga Güngör and Murat Saraçlar. 2009. A Stochastic Finite-State Morphological Parser for Turkish. Proceedings of the ACL-IJCNLP 2009 Conference Short Papers.

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

```bibtex
@inproceedings{sak2009stochastic,
  title = {{A Stochastic Finite-State Morphological Parser for Turkish}},
  author = {Haşim Sak, Tunga Güngör and Murat Saraçlar},
  booktitle = {Proceedings of the ACL-IJCNLP 2009 Conference Short Papers},
  year = {2009},
  url = {https://aclanthology.org/P09-2069/}
}
```

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