---
title: "Serial Combination of Rules and Statistics: A Case Study in"
description: "How Czech tagging improves when grammar rules rule out implausible readings before a statistical tagger chooses among the survivors."
canonical: "https://research.elamur.ai/free/en/papers/hajic-2001-serial-combination-rules-statistics-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/hajic-2001-serial-combination-rules-statistics-case/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2001](https://md.research.elamur.ai/free/en/papers/2001/) / Serial Combination of Rules and Statistics: A Case Study in Czech Tagging

# Serial Combination of Rules and Statistics: A Case Study in Czech Tagging

Paper · 2001 · Jan Hajic, Pavel Krbec, Pavel Kveton et al.

**Authors:** [Jan Hajic](https://md.research.elamur.ai/free/en/authors/jan-hajic/), Pavel Krbec, Pavel Kveton, Karel Oliva and Vladimir Petkevic · **Year:** 2001 · **Venue:** Proceedings of the 39th Annual Meeting of the Association for Computational Linguistics · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

Proceedings of the 39th Annual Meeting of the Association for Computational Linguistics · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/P01-1035/)
- [PDF](https://aclanthology.org/P01-1035.pdf)
- [DOI 10.3115/1073012.1073047](https://doi.org/10.3115/1073012.1073047)

## Summary

A Czech word can have several grammatical readings even when its spelling is known and a dictionary recognizes it. The same form may serve different cases of a noun, or it may belong to more than one part of speech. The words that settle the ambiguity can be separated by intervening material, so looking at the immediate neighbors may leave the question open. Jan Hajič and his colleagues approach [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) by giving different parts of the decision to grammar rules and to a statistical tagger. The rules inspect the sentence and remove readings for which they find a grammatical reason for exclusion. The tagger chooses a complete sequence from the readings still available.

The order of those operations matters. A Czech morphological analyzer first supplies the plausible tags for each token. Handwritten rules then work on those lists, sometimes using evidence well outside the token’s immediate neighborhood. The authors aim to retain the correct tag almost everywhere, even if doing so leaves many tokens ambiguous. A hidden Markov tagger, trained on manually annotated material from the Prague Dependency Treebank, resolves what remains. It weighs sequences of neighboring tags and also estimates how likely a word form is given its tag and the preceding tag. A rule can therefore contribute to the result by ruling out a single reading, without having to settle all the other choices in the sentence.

Across the test sets, the candidate lists from the morphological analyzer had a precision of 28.97% and a recall of 100.00%. After the rules ran, precision rose to 36.43% and recall was 99.66%, giving an F-measure of 53.36% against 44.92% for the original lists. Those scores describe lists that can still contain several readings per token. The full tagger returns a single reading for every token, so its scores measure completed decisions. Its statistical stage achieved an average accuracy of 95.16% on its own with the stronger smoothing setting. With the rule stage in front, average accuracy reached 95.38%. The authors report a 4.58% relative reduction in error against that standalone setting.

The paper also shows where the design can fail. A rule that expects an unambiguous preposition to govern a nominal expression wrongly removes a prepositional reading in the Czech phrase *do kdy*, where the preposition is followed by an adverb meaning “when.” Once a correct reading disappears from a list that still contains alternatives, the statistical stage has no way to choose it. The result establishes the value of the rules as a group in this Czech evaluation and illustrates the importance of making each deletion condition as precise as the construction it describes.

## Deep dive: Serial Combination of Rules and Statistics: A Case Study in Czech Tagging

How Czech tagging improves when grammar rules rule out implausible readings before a statistical tagger chooses among the survivors. · 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

#### What a Czech tag has to say

A tag in this study describes more than the broad grammatical role typically suggested by the term part of speech. Czech [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) gives many word forms grammatical properties that the tag needs to record. For a nominal expression, case can be part of the distinction between readings even when both readings belong to the same part of speech. An evaluation can therefore count a prediction as wrong even when the tagger has correctly identified a form as nominal. The system still has to choose the case and any other distinctions encoded by the full tag.

There are two sources of ambiguity worth keeping apart. A form can have several readings because an inflectional pattern regularly uses the same spelling for different grammatical purposes. The authors discuss forms in which nominative, accusative and vocative coincide within a number. Once that pattern is known, the same problem can be recognized in other words belonging to the relevant inflection class. In other cases, the overlap is specific to particular words. A spelling can coincide with another lexical item or with a function word whose behavior has to be considered separately. An account of the inflection class alone gives little help with that kind of ambiguity.

The Czech form *se* illustrates the second problem. In the paper’s discussion, it can be a form of the preposition meaning “with,” or it can have a reflexive reading. The prepositional reading depends on the local conditions under which the basic form *s* takes the form *se*. That makes some contexts amenable to a focused grammatical test. The selection has to be made for each occurrence. Finding the spelling in a dictionary tells the analyzer which readings to offer, while the surrounding words help determine which reading belongs in the sentence.

Rich inflection also complicates estimation from annotated examples. The paper reports that the languages it examines usually have about 1,000–2,000 distinct tags in their inventories, though several thousand tags may be both possible and plausible. A large inventory distributes observations over many combinations. Seeing a tag often in isolation does not guarantee seeing it often after a particular sequence of tags, and a familiar word form can still be rare in a particular grammatical context. Fine-grained tagging thus increases both the work required of the final decision and the amount of evidence needed to estimate it reliably.

Czech word order creates a separate difficulty. The word that supplies evidence about an ambiguous form need not appear at a fixed distance. A subject and the rest of the clause can be arranged in more than one order, and a preposition can have intervening material before the nominal element that supplies the case evidence. The authors distinguish these cases from local phenomena such as the conditions on prepositional *se*. A fixed window is useful for recurrent neighboring patterns, while a rule that searches for a grammatical configuration can follow evidence across a variable span. These are different ways of defining a context, even when both operate over the same sentence.

#### Statistical and grammatical approaches before the study

The authors describe several existing approaches to statistical tagging of inflective languages. They include straightforward hidden Markov tagging, memory-based methods and feature-based approaches such as maximum entropy. In the paper’s account, these are ways to estimate a decision from observed examples, with different choices about how to represent the evidence. The attraction of a hidden Markov tagger for this project was practical as well as methodological. The authors could train it on a large annotated collection, and they report that the available alternatives they considered could not handle the volume and ambiguity of the data in a reasonable time.

The field’s experience with [English](https://md.research.elamur.ai/free/en/topics/english/) supplied a point of reference. The authors discuss Ratnaparkhi’s [maximum-entropy tagging work](https://md.research.elamur.ai/free/en/papers/ratnaparkhi-1996-maximum-entropy-model-part-speech/) as an example of the performance English tagging had reached. The earlier Czech work they discuss used much less annotated training material than the current study, and Czech tagging had farther to go by the authors’ account. The comparison motivates the effort without making English and Czech tags interchangeable. The distinctions inside a Czech tag and the variability of the available cues are part of the reason the study treats Czech disambiguation as a problem of its own.

The consequences also depend on what uses the tags. The authors suggest that some tasks may tolerate tagging errors that cause serious trouble for subsequent [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/) or [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/). A score averaged over tokens can look high while many sentences contain at least one wrong tag. If the downstream task needs a coherent grammatical analysis, it can encounter errors in a sizable share of the units it processes. This gives the authors a reason to investigate improvements even when the starting tagger already makes most token decisions correctly.

Handwritten disambiguation had a different history. The authors trace it to Constraint Grammar and describe applications to English, [French](https://md.research.elamur.ai/free/en/topics/french/), Brazilian Portuguese and Turkish. A grammar of this kind can express a relation between readings, inspect a span of text and reject an analysis that violates its conditions. Some practitioners argued that handwritten systems could outperform learned ones. Hajič and his colleagues point out the difficulty of assessing many such claims across projects, where the systems could be tested on different data or evaluated in different ways. They also emphasize the linguistic work involved in building enough rules for a grammar to settle difficult sentences completely.

That last requirement changes once a statistical system is available to make the remaining decisions. A grammar writer may be confident that a candidate is impossible in a particular configuration while having far less reason to select a unique alternative. Pursuing a definitive decision would require an additional rule or a stronger assumption about the sentence. A partial disambiguator can act on the narrower claim. In designing the Czech experiment, the authors put a premium on such safe rejections because any surviving uncertainty could be passed forward in its original form.

#### Why the combination is serial

System combination already had precedents. The paper discusses work on combining rules and statistical learning for noun phrase bracketing, along with earlier disambiguation systems for other types of languages. It also describes a Czech tagging experiment in which statistical classifiers operated independently and their outputs were combined. That arrangement is parallel in the authors’ terminology. Each classifier makes its decisions before the system brings the results together.

In a serial arrangement, the earlier component changes the problem the later one receives. Here the grammar does not have to produce a tagging that can compete with another complete tagging. It specifies which candidate tags are still available at each position. The statistical tagger already accepts a restricted set of tags from the morphological analyzer, so the grammar can pass along a narrower version of a representation the tagger knows how to use. No separate procedure is needed to translate a grammatical veto into a score or decide when it should outweigh a competing vote.

That design gives the two components corresponding responsibilities. The rules can represent syntactic evidence whose position in the sentence varies, provided the conditions are reliable enough to justify deletion. The statistical stage uses recurring patterns to make choices wherever the grammar has left alternatives. A conservative rule stage makes this arrangement possible. If it removed correct readings frequently, the candidate restrictions would prevent the tagger from benefiting fully from the statistical evidence it has learned.

### The method, step by step

#### From word forms to a constrained sentence

At the start of tagging, the input is a sequence of tokens. The morphological processor associated with the Prague Dependency [Treebank](https://md.research.elamur.ai/free/en/topics/treebanks/) uses an extensive Czech dictionary to supply the grammatical readings available for each token. The resulting candidate lists contain tags for the actual word forms in the sentence. They represent lexical and morphological plausibility before the disambiguator asks how the readings fit together in context.

A token with several candidates is an unresolved choice. The grammar can make that choice easier by taking a reading away, and it can leave a list untouched if there is no applicable rule. It can also leave a single candidate when the context justifies doing so. The same sentence may contain all of these outcomes. The important property of the interface is that the result at every position is still a list of tags for that token, so the statistical tagger can use it just as it uses the original morphological lists.

Serial disambiguation of a Czech sentence The steps in order.

The restoration step handles a special kind of conflict. If the rule pass leaves a position with no candidate, the system reinstates the full list originally returned by morphology for that position. The tagger can then use those alternatives when constructing the sentence’s sequence. At a position where some candidates remain, the statistical stage works with the narrowed list. A faulty deletion can therefore survive the repair if it leaves any alternative behind. This distinction is central to the authors’ concern with rule recall.

#### How a rule finds a place to act

A rule has a description of the configuration it seeks and an action to perform when the configuration is found. The description can refer to ambiguity itself. For example, the rule can ask whether one word is unambiguously a finite verb and whether another word could be either a finite verb or something else. It can then inspect the material in between for punctuation or a coordinating conjunction that might divide the words into separate clauses. In the configuration described in the paper, the action is to delete the finite-verb interpretation at the ambiguous word.

This example is easiest to understand as a conditional claim about two nearby pieces of a clause, with “nearby” defined grammatically. The words can appear in either order and can have intervening tokens. The unambiguous finite verb provides an anchor, and the absence of the specified separators is part of the evidence that the other form should receive a different reading. Were the intervening material to contain a separator named by the rule, the rule’s condition would fail. The tagger could still choose between the readings using other evidence.

A rule can also work by identifying which candidates to keep. When the authors describe a rule that selects a reading directly, its effect on the candidate representation is to discard the rest. Both styles therefore have the same kind of output. The difference lies in the linguistic statement being implemented. One condition can establish that a particular candidate is excluded. Another can establish which candidates are acceptable and implicitly exclude everything outside that set.

Formally, the authors describe the rule system as a restarting automaton with deletion. An individual rule can be viewed as a finite-state procedure. It starts at the left edge, scans for a configuration, and deletes tags when it finds a place to act. The next rule is applied from the left edge again, using the changed representation. A rule may consequently see evidence that was unavailable on an earlier pass. The result of one deletion can narrow a candidate list enough to make the description of another rule match.

The authors distinguish the capacity of an individual rule from that of the entire restarting system. An individual scan can be described in finite-state terms. Repeated scans over a representation that changes between passes give the complete system greater formal power. For understanding the tagging procedure, the practical point is that rules can pass information to one another through their deletions. There is no need for the statistical stage to participate in those intermediate grammatical decisions.

#### Reliability, scope and rule development

The rule writers assign rules to reliability classes. They put the rules judged safest first and apply the less reliable classes later. Within a class, the rules are applied cyclically and can be tried in any order until there is no further ambiguity they can resolve. The authors give a restriction on a nominative reading after an unambiguous preposition as an example of a highly reliable rule. Some more involved agreement conditions illustrate the kind of grammatical evidence for which the writers have less confidence.

The reliability hierarchy reflects the cost of an irreversible pruning decision. Removing an incorrect tag gives the next stage a smaller search space. Removing the correct one renders an accurate decision unavailable at that position, subject to the empty-list repair. Leaving an uncertain candidate in place delegates the decision to a tagger built to handle ambiguity. The authors can therefore demand stronger evidence for deletion than for merely ranking one reading above another.

Locality is a separate property. A highly reliable rule can search a broad context, and a local pattern can still require a careful restriction on when it applies. The paper’s rules use the sentence as their working context. The architecture allows rules with a broader scope in principle, but the development reported here uses sentence material. The benefit in the experiment comes from letting a rule inspect as much of that sentence as the configuration requires, without prescribing a fixed distance between the relevant tokens.

Some rules begin with linguistic analysis. The writers propose a generalization, check it against corpus examples, implement it, and test the resulting rule on corpus material. Other rules begin with a pattern identified in the corpus and then formulated as a linguistic generalization. Both routes require a decision about the exact context in which a deletion is justified. A broadly worded condition can apply often and still be a poor rule if it wrongly excludes a legitimate reading in an exceptional construction.

The corpus also helps distinguish what belongs in a general rule from what needs lexical treatment. A regular ambiguity shared by an inflection class can be approached as a recurring grammatical problem. An ambiguity that exists because particular words happen to share a form can demand narrower evidence. The authors include a component for collocations and idioms as well. They point out that an expression with a common idiomatic interpretation can also be used literally, which makes its presence weaker evidence than it might initially appear. Familiarity with the expression alone does not settle the tags in each occurrence.

The evaluated system contains 80 rules. The first implementation expressed rules procedurally, and the authors describe work on an interpreted language organized around grammatical features. They also see the rule-writing effort as a way to formulate generalizations about Czech syntax. In the tagging experiment, the operational requirement is that the generalizations be specific enough to change candidate lists safely.

#### How the tagger ranks the surviving sequences

The statistical stage uses a hidden Markov model in a source-channel formulation. It divides the score into a term for the sequence of grammatical tags and a term for how well those tags account for the observed word forms. For a fixed sentence, the decoder searches the space of sequences allowed by the candidate lists and selects the sequence with the highest product of the two terms.

```
T̂ = argmax over T ∈ 𝒞(W) of P(T) × P(W | T)
```

Here W is the sequence of observed word forms, T is a proposed tag sequence, and T̂ is the sequence selected by the decoder. The expression 𝒞(W) means the set of complete tag sequences permitted by the candidate lists for W. The symbol ∈ means that T must belong to that set. P(T) is the tag-sequence probability, and P(W | T) is the probability assigned to the observed forms conditional on that sequence. The vertical line marks conditioning, × indicates multiplication, and argmax returns the sequence that attains the largest score. For standalone tagging, the candidate lists are those from morphology. For serial tagging, they are the lists left by the rules, with the repair for empty positions.

The term for the tag sequence uses a tag trigram, a kind of [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/). Its longest history consists of the tags at the preceding positions. This lets a proposed tag be scored differently depending on the choices made immediately before it. Because those choices are themselves part of the sequence being evaluated, the tagger evaluates a complete analysis of the sentence. An individual tag may occur in several proposed sequences, with a different context and a different contribution in each.

```
P(T) = ∏ᵢ Pₛ(tᵢ | tᵢ₋₂, tᵢ₋₁)
```

In this expression, T is the candidate tag sequence and i indexes token positions in it. The symbol tᵢ denotes the tag at the current position. The tags tᵢ₋₂ and tᵢ₋₁ are the preceding tags in order from the earlier to the more recent. Pₛ denotes a smoothed conditional probability, and ∏ᵢ means that the factors are multiplied across the sequence. The vertical line separates the predicted tag from the tags used as its history.

The term for the words supplies a complementary kind of evidence. In the paper’s lexical component, the estimate for a word form is conditioned on its own proposed tag and the preceding tag. That context gives the statistical stage room to distinguish uses of a form even when the tag at its own position is the same. The lexical term is evaluated for the observed word forms throughout the sentence.

```
P(W | T) = ∏ᵢ Pₛ(wᵢ | tᵢ, tᵢ₋₁)
```

Here W is the observed sequence and T is the proposed tagging. The position index is i. The form wᵢ is the observed token at that position, tᵢ is its proposed tag, and tᵢ₋₁ is the proposed preceding tag. Pₛ denotes the smoothed lexical probability in this formula. The product ∏ᵢ combines the conditional factors for the word forms across the sentence, and the vertical line marks the conditioning tags.

This division explains why deletion can matter beyond the token where it occurs. Suppose a rule excludes a tag that the standalone tagger would have used. The excluded tag can no longer be part of any complete sequence considered by the combined system. Choosing another tag changes the history in the scoring terms that depend on that position. The paper evaluates the resulting complete sequence, so a change in accuracy can reflect both a corrected choice at a pruned position and changes in neighboring choices induced by the sequence score.

#### How the probability estimates are trained

The authors draw on 1. The Prague Dependency Treebank project is the source of 8 million tokens annotated by hand. The tags in annotated training material let them count how frequently forms and tags occur and how frequently a tag follows a particular history. The raw estimates use relative frequencies. A conditional estimate for a tag after a history is the share of the training occurrences of that history that continue with the tag in question.

```
Pᵣ(t | h) = C(h, t) / C(h)
```

Here Pᵣ is the raw relative-frequency estimate, t is the tag whose probability is being estimated, and h is the conditioning history. C(h, t) counts appearances of that history followed by t, and C(h) counts appearances of the history. The slash denotes division. The same principle gives raw lexical estimates by counting observed word forms in their tag histories. A history seen only rarely offers little evidence about how likely different continuations are, even when the corresponding raw estimate looks decisive.

The authors keep observed events without a low-count cutoff and use smoothing to manage differences in how well the estimates are supported. Smoothing mixes estimates made with different amounts of context. The contribution from the full tag history can be combined with contributions from the preceding tag alone, from the general frequency of the candidate tag, and from a uniform distribution. The shorter histories enable the decoder to score an event even when the most detailed context gives scant evidence for it.

```
Pₛ(tᵢ | tᵢ₋₂, tᵢ₋₁) =
    λₜ Pᵣ(tᵢ | tᵢ₋₂, tᵢ₋₁)
  + λᵦ Pᵣ(tᵢ | tᵢ₋₁)
  + λᵤ Pᵣ(tᵢ)
  + λ₀ / |𝒯|
```

Pₛ is the smoothed estimate, while Pᵣ marks the raw frequency estimates. The index i is the current position, tᵢ is the proposed tag there, and tᵢ₋₂ and tᵢ₋₁ name the tag history. The coefficients λₜ, λᵦ and λᵤ weight the trigram, bigram and unigram estimates respectively. The coefficient λ₀ weights the uniform contribution. The set 𝒯 is the tag inventory, and |𝒯| denotes its size, so the uniform term distributes its weight equally over the inventory. Juxtaposition indicates multiplication and the plus signs combine the weighted terms. The coefficients share the probability mass of the estimate. The paper describes analogous interpolation for the lexical probabilities.

Part of the training material is held out to estimate the smoothing weights. That separates the observations used to count events from some of the observations used to judge how much trust to put in the estimates. The authors first train with smoothing that uses a common set of weights for histories of a given component. They then compare this with a setup in which histories are assigned to buckets and the weights vary by bucket.

The bucketing procedure uses frequency bounds to group histories according to how much evidence they have. A history’s training count places it among similarly supported histories, and held-out observations are used to estimate the contribution of each level of context for the group. The grouping permits a rare history and a well-attested one to use different weights without requiring a separate set of interpolation coefficients for each particular history. This is especially pertinent when the procedure retains low-count events. An observed event can remain available while its detailed estimate receives little weight.

Better-supported histories can frequently make more use of the detailed distribution. The grouping leaves room for exceptions because the weights are estimated for the buckets. A frequent context can still have unstable or uninformative continuations. The paper’s later inspection of the coefficients illustrates why observed frequency serves as an organizing variable for smoothing while leaving the held-out evidence to determine the actual mixture.

#### Measuring partial and complete answers

The rule stage requires a measure that gives credit for removing incorrect candidates while recognizing whether it has preserved the answer. Each token has a recorded reference tag. A retained candidate is correct if it matches that tag at its position. Precision describes the proportion of retained candidates that are correct. Recall describes the proportion of reference tags that survive pruning. A long candidate list can have high recall and low precision, even though it contains everything needed for a subsequent tagger to find the correct sequence.

```
P = C / A
```

Here P is precision, C counts the correct candidates retained at their token positions, and A counts all retained candidates, including the incorrect ones. The slash indicates division. Candidate counts are taken by token occurrence, so the same tag retained at different positions contributes separately at those positions.

```
R = C / G
```

R is recall, C again counts retained candidates matching the reference at their own positions, and G is the number of reference tags the system is meant to preserve. The slash indicates division. This makes recall sensitive to a correct reading being removed even if the list still contains several grammatical candidates.

```
F = 2 × P × R / (P + R)
```

F is the equal-weight F-measure. P is precision and R is recall, measured on the same scale. The factor 2 and the sum P + R in the denominator give the harmonic mean. Multiplication is denoted by × and division by the slash. This measure rewards reducing the burden of ambiguity while preserving the correct readings. For complete tagging, every token receives a prediction and every token has a reference tag. Each correct prediction therefore contributes in the same way to accuracy, precision and recall, and the F-measure equals those scores.

### Experiments and results

#### Corpus, folds and baselines

The study evaluates the Czech system on manually tagged Prague Dependency Treebank material. The broad resource figure of 1.8M annotated tokens describes the material available to the authors. For the reported cross-validation, the paper gives 1,489,983 tokens after excluding the held-out data used for smoothing. The evaluation material was divided into approximately equal portions for five-fold cross-validation. The reported experiments are labeled Exp 1 through Exp 5, and the main result tables summarize the experiments with an average.

Cross-validation gives each portion of the evaluation material a turn as test data. In this paper, that matters because the effects of smoothing and of rule-based pruning can be examined across the reported sets. The held-out material for interpolation serves a different purpose. It is used to decide how to combine the frequency estimates. A result on a cross-validation test set measures the eventual tagging or candidate-list behavior, whereas tuning the weights concerns the construction of the statistical scorer.

The first baseline is the morphological analyzer on its own. Its output is a set of candidate readings for every token, making it appropriate for measuring what the rules add to those lists. The second baseline is the statistical tagger with the original morphological candidates. The authors test it with unbucketed smoothing and with bucketed smoothing. The comparison used for the main result takes the stronger, bucketed setting and changes the input to the tagger by running the rule pass first. These baselines let the paper answer a question about candidate pruning and a separate question about final tagging.

#### The quality of the candidate lists

Averaged over the 5 test sets, the lists supplied by morphology have 28.97% precision and 100.00% recall. Every reference tag is available under that baseline in the reported evaluation. The low precision reflects the number of extra candidates still present alongside the correct ones. It is a score for the contents of the lists, and it puts no preferences over the candidates from which a finished analysis could be selected.

After the rule pass, the average precision rises to 36.43% and recall falls to 99.66%. The gain in precision shows that the retained lists devote a larger share of their entries to reference tags. The recall result shows that this concentration has a cost, small in the aggregate but important at affected positions. Together they yield the increase in F-measure shown in the chart.

Candidate-list F-measure on the Czech Prague Dependency Treebank test sets The rules improve the balance between preserving correct readings and removing extra candidates.

**The numbers**

| System or setting | F-measure % |
| --- | --- |
| Morphological analyzer alone | 44.92 |
| Morphological analyzer followed by rules (this paper) | 53.36 |

The authors report this as a 19% relative improvement in candidate-list F-measure over the morphological baseline, or a 16% reduction in its complement. The complement is the part of the scale between the F-measure and its maximum. It can be used to describe improvement on the candidate-list metric. The error rate of a tagger making a single prediction per token is a different quantity. The improvement in candidate F-measure justifies asking whether pruning helps the tagger, and the full tagging evaluation answers that question directly.

The separate precision and recall values also explain the role of the rules in the experiment. After pruning, precision remains far below the accuracy attained by a complete tagger because the rule stage continues to offer unresolved alternatives. That is consistent with its job. Its output can retain several tags for a token while supplying stronger restrictions than morphology alone. A final choice happens at the sequence stage, where the system can compare readings the grammar has left open.

#### The statistical baseline and the full system

The standalone HMM with interpolation but without buckets reaches an average accuracy of 94.97%. Grouping histories into buckets raises the average standalone result to 95.16%. Both settings select one sequence per sentence from the morphological candidate lists. The comparison therefore tests how the smoothing choice affects the quality of those decisions under an unchanged source of candidates.

The bucketed statistical tagger is the baseline for the main serial comparison. With rules applied first, the final average is 95.38%. The authors express the change as a 4.58% relative reduction in error. This relative figure describes the reduction against the errors of a baseline whose accuracy is already high. In the chart, all rows represent completed taggings measured in token accuracy. For the bucketed baseline and the full system, the paper also presents the same percentages as F-measure because their predictions are best-only.

Average token accuracy for complete taggers on the Czech Prague Dependency Treebank folds Bucketing improves the standalone tagger, and the rule pass yields the strongest average.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Standalone HMM with unbucketed smoothing | 94.97 |
| Standalone HMM with bucketed smoothing | 95.16 |
| Rules followed by the bucketed HMM (this paper) | 95.38 |

The comparison is consistent across the folds reported in the paper. On Exp 1, accuracy is 95.34% for the bucketed baseline and 95.53% for the serial system. On Exp 2, the corresponding scores are 95.13% and 95.36%. On Exp 3, they are 95.19% and 95.41%. On Exp 4, the baseline reaches 95.04% and the combined tagger reaches 95.28%. On Exp 5, the same comparison gives 95.11% and 95.34%. The folds vary in their starting accuracy, and the serial system improves the reported score in each.

These results connect the list evaluation to an outcome that matters for a user of the tags. An increase in candidate precision could come from deleting mostly distractors a capable tagger would have ignored anyway. In that case, the candidate lists would score better with little effect on completed tagging. Here the higher final accuracy indicates that the narrower lists made a difference to the decoder’s decisions. The changes caused by helpful rule actions outweighed the harmful changes at the level of the paper’s token metric.

#### The comparison with earlier Czech tagging

The authors also compare their standalone statistical result with previously published Czech taggers. They describe an improvement of almost 2% over the strongest earlier Czech tagging result they cite, with a 30% relative improvement. Against an earlier Czech HMM tagger, they report almost 4%, described as a 44% relative improvement. These are comparisons with earlier reported results. The paper identifies greater training volume and the smoothing implementation, including retention of the detailed counts, as plausible contributors to the stronger statistical starting point.

That historical comparison helps put the rule experiment in perspective. The serial setup improves a statistical baseline that already benefits from access to more annotated material and careful probability estimation. The claim about the rules comes from comparing runs in the same evaluation setting. The comparisons with earlier projects describe the progress the authors report for standalone tagging and involve changes beyond the addition of a grammar.

### What the ablations show

#### Separating the rule contribution from the statistical one

The component comparisons test the paper’s main architectural decision. Running morphology without and with the rules shows what the grammar does to the available readings. Running the bucketed tagger on those two versions of the lists shows what the same intervention does to completed tagging. The controls are useful together because the mechanism is candidate elimination and the desired outcome is higher sequence tagging accuracy. A result at either level alone would establish only part of the case.

The most direct comparison holds the statistical setting fixed and changes which candidates it may choose. The bucketed tagger uses the broader lists in the baseline and the rule-pruned lists in the serial condition. The direction of improvement on each fold supports the conclusion that the rule module helps as a whole under these conditions. Since the rules can operate on a sentence context that extends beyond the statistical tag history, the comparison also demonstrates that such grammatical restrictions can be incorporated through the candidate interface of the tagger.

The paper provides no separate score for each rule class or for long-range rules alone. For example, the results cannot establish how much of the gain came from local preposition-related patterns, where the rule conditions may be easy to locate, and how much came from cases that require scanning farther across the sentence. The aggregate candidate and tagging results establish a contribution from the implemented grammar. The examples give a linguistic interpretation of particular deletions without turning that interpretation into a quantitative breakdown.

#### What changes when smoothing uses buckets

The smoothing comparison isolates a change within the HMM. With unbucketed smoothing, a single mixture must accommodate histories with different levels of support. The bucketed variant can give frequent histories and sparse histories different mixes of detailed and broad estimates. The stronger cross-validation result with buckets shows that this flexibility helped the standalone tagger in the reported setup. The experiment does not separately switch off the extended lexical history or test the choice to retain all low-count events.

The coefficient examples in Exp 1 show how large the changes can be. For the tag estimate using the longest history, the unbucketed coefficient is 0.4371. The corresponding coefficient is 0.0296 in bucket 0, described as the least reliable group in the paper’s example. It reaches 0.7538 in bucket 32, the most reliable group shown. At the lower end, the estimate using just the preceding tag receives a coefficient of 0.7894 in bucket 0. The weights thus capture a concrete distinction between having a long history available in the definition of the tagger and having enough evidence to give it much influence in a particular bucket.

The authors find that the weight of the most detailed estimate generally grows as the history becomes better supported, with departures from a smooth progression. They identify a sudden reduction associated with a bucket containing a history made up of consecutive punctuation tags. Frequent appearances of a history can coexist with limited value for deciding what follows. By fitting the weights to held-out behavior, the smoothing procedure can accommodate this kind of exception. The authors report a similar strengthening of the more detailed terms in the lexical component.

#### What the grammatical examples establish

The case-government example shows the sort of negative evidence a rule can use. If an ambiguous word has a reading as a preposition that governs a particular case, the rule can look ahead for a compatible nominal reading. In the ordinary contexts the authors have in mind, failure to find the required case supports discarding the prepositional interpretation. Their discussion singles out idiom and coordination as qualifications, which helps explain why the rule has to be expressed as a context test. A generalization about what prepositions govern becomes a safe deletion only to the extent that the rule can recognize when the generalization applies.

The finite-verb example illustrates evidence spread across a span. The presence of an unambiguous finite verb, together with the absence of the stated clause separators between it and an ambiguous form, motivates removal of another finite-verb candidate. The grammar thereby offers the statistical tagger a smaller set of grammatical possibilities while allowing the latter to rank the surviving interpretations. The paper also discusses competing nominative readings through the usual nominative marking of a Czech subject and the restriction on having independent, uncoordinated subjects in the same clause. The order of the forms alone is insufficient evidence for deleting a nominative candidate.

The failure on *do kdy* is especially informative because it reverses the intended use of a strong grammatical cue. The rule expects an unambiguous preposition to be associated with a nominal element, allowing for special cases where the element is omitted. In the sentence discussed, *do* is a preposition and *kdy* is a time adverb. The construction is permitted with the adverb and supplies no following nominal of the expected kind. By treating the missing nominal as grounds for deletion, the rule removes the correct prepositional reading.

The authors suggest adding a condition to cover the exceptional configuration. A narrower condition could preserve the useful deletions in contexts where the nominal requirement is informative and stop the rule from acting in the adverbial construction. The example explains why maintaining rule recall requires attention to both exception classes and the details of lexical behavior. It also shows a point at which the serial design turns a grammatical oversight into a hard constraint on the decoder.

#### Disagreements can expose annotation problems

The authors identify more than one possible source of apparent errors. A rule may encode the wrong generalization or implement a sound one too strictly. A deficiency in the morphological dictionary may produce a faulty input analysis. The manual reference may also give the wrong reading. The paper illustrates the last possibility with an occurrence of *se* where the recorded analysis is reflexive and the figure identifies the appropriate analysis as prepositional.

This observation qualifies the interpretation of a recall error. The score records whether the reference tag is present after pruning. In a sentence with an incorrect reference, preserving the linguistically appropriate candidate and rejecting the recorded one can look like a loss. Manual inspection can distinguish such cases from the genuine error in *do kdy*. The paper uses these examples to show how disagreements can help diagnose a system and its data. It gives no revised aggregate scores after correcting reference annotations.

### Limitations

#### Limits identified by the authors

The authors regard the handwritten grammar as a continuing development effort. Writing rules with broad coverage and high recall requires detailed knowledge of Czech syntax and of how ambiguity arises in Czech word forms. A general rule can miss an uncommon but legitimate construction, as the preposition example shows. Improving the grammar means identifying which exceptions require a local restriction, which need a more general grammatical treatment, and which expose a problem with the input or annotation.

Language specificity is an explicit cost. The sequence of morphological analysis, grammatical pruning and statistical choice can accommodate other components, but the Czech rules describe Czech constructions. Adding another language would require suitable candidate analyses and grammatical knowledge for that language. The paper argues that the separation of components makes replacement possible. It supplies evidence from one implemented combination on Czech material.

The authors discuss settings where a modest improvement might justify the linguistic work. They mention human-oriented [lexicography](https://md.research.elamur.ai/free/en/concepts/lexicography/), where even a small reduction in tagging errors can matter, and a language where annotated data is scarce but linguistic expertise is available. They suggest that the benefit could be more visible with a weaker statistical tagger. The Czech experiment uses a substantial annotated corpus. It does not measure a sequence of smaller training sets to test that expectation, and the authors point to [Morphological Tagging: Data vs. Dictionaries](https://md.research.elamur.ai/free/en/papers/hajic-2000-morphological-tagging-data-vs-dictionaries/) when noting that a feature-based approach could be stronger under limited training data.

The authors also raise the question of how serious different errors are. A tagger can score well overall while still choosing analyses that a linguist would immediately reject. A grammar can prevent some of those analyses explicitly. The paper leaves application-specific error weighting outside its scope. Its reported accuracy gives each token decision the same influence, so any claim about the practical value of avoiding a particular kind of mistake has to be distinguished from the measured aggregate improvement.

The statistical stage also has room for development in the authors’ account. They suggest exploring additional lexical conditioning involving a preceding word form. The ability to smooth detailed histories makes such a change plausible to them. The experiment establishes the performance of the tag-conditioned lexical estimate used in the runs. The suggested lexical extension remains outside the evaluated combination.

#### Limits visible in the experimental design

The study gives a focused estimate of performance on its evaluated Prague Dependency Treebank material. Cross-validation tests the comparison across different portions of that material. It leaves open how the rules and the dictionary behave on texts whose constructions, vocabulary or annotation conventions differ. A feature that works well in the reported test sets can require different coverage when applied to another collection. The reported 100.00% recall for morphology concerns the reference tags in this evaluation.

There is also a restriction inherent in the candidate interface. Once the lexical analyzer fails to supply a correct tag, narrowing its list cannot introduce the missing analysis. The restoration step returns the analyzer’s candidates and is therefore subject to the same starting inventory. If the analyzer supplies the right tag and a rule deletes it from a list that remains nonempty, the decoder must choose from the alternatives left. The strong result for rules depends on their observed high recall and on the coverage of the upstream analyzer.

The architecture also removes candidates locally even though the decoder ranks sequences globally. A list can retain the correct tag while changes elsewhere affect which complete sequence wins. This is an ordinary consequence of the scoring method, and it limits what can be inferred from candidate-list metrics alone. The paper measures the final effect directly. Its aggregate results leave the mix of direct corrections, induced changes in neighboring choices and newly introduced errors unresolved.

The fold results show that the direction of the gain repeats on the evaluated subsets. The paper does not accompany those figures with an uncertainty analysis or estimate how the gain varies across genres, tag categories or sentence constructions. It offers individual examples as explanations of rule behavior. Those examples establish that the mechanisms occur, while the average accuracy establishes their aggregate result under the tested conditions.

The comparisons with older Czech taggers involve further differences. The authors attribute the stronger statistical baseline to both more annotated material and careful smoothing, with detailed event counts retained. The unbucketed comparison measures the role of bucketing in the current system. There is no matched set of experiments in which the current tagger is trained on the older data volumes while the remaining settings are held fixed. The historical numbers therefore establish the improvements the authors report over earlier published results, leaving the allocation of credit among training size, estimation and implementation open.

Finally, the motivation includes sentence-level and downstream consequences, but the principal result concerns token tags. The evaluations do not show a reduction in sentence error or report the effect on a parser, translator or lexicographer’s workflow. An improvement in token accuracy can be valuable, and its practical value in a particular application depends on which tags change and what that application needs from them. The proper scope of the experimental result is the comparison between tagging systems on the Czech folds.

### What came after

#### From tagging choices to dependency analysis

[Pseudo-Projective Dependency Parsing](https://md.research.elamur.ai/free/en/papers/nivre-2005-pseudo-projective-dependency-parsing/) cites the Czech tagging study in work on [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/). Dependency parsing concerns the grammatical relations between words, so it is close to one of the downstream problems the tagging authors use to motivate their work. A fine-grained tag describes the reading assigned to a form. A dependency analysis addresses how that form is related to other words in the sentence. Both face questions about grammatical evidence that can span intervening material, although their outputs represent different decisions.

The connection is particularly clear in examples such as case government. The Czech rules use evidence about a possible relation between a preposition and a nominal expression to decide whether a tag can survive. A dependency parser is concerned with grammatical relations as part of the resulting analysis. The later title identifies a study of pseudo-projectivity in that setting. The citation establishes a link between the works. It leaves open whether the parser used the Czech tagger, reused its rules or adopted its pruning procedure.

#### Estimating probabilities for fine-grained tags

[Estimation of Conditional Probabilities With Decision Trees and an Application to Fine-Grained POS Tagging](https://md.research.elamur.ai/free/en/papers/schmid-2008-estimation-conditional-probabilities-decision-trees/) cites the study in a line of work directly concerned with fine-grained tagging. Its title identifies decision trees as the means for estimating conditional probabilities and names tagging as the application. This connects to a different part of the Czech work. Hajič and his colleagues use conditional estimates to rank analyses after candidate generation and use interpolation to handle histories with different amounts of evidence.

The two papers can thus be connected through the question of how to estimate the probabilities a tagger needs when its tags encode detailed grammatical distinctions. In the Czech system, the reliability of tag histories is addressed by mixing estimates of different orders and letting the mixture vary across frequency buckets. The later work’s title identifies a different estimation technique for the same broad application. Its citation does not specify a reuse of the Czech rules, a comparison on the same folds or a new test of the serial architecture. These citing works point to two concerns already present in the original study: what grammatical analyses are needed beyond tagging, and how to estimate the probabilities that help a tagger complete the decisions left open by linguistic constraints.

## Cite

Cite as Jan Hajic, Pavel Krbec, Pavel Kveton, Karel Oliva and Vladimir Petkevic. 2001. Serial Combination of Rules and Statistics: A Case Study in Czech Tagging. Proceedings of the 39th Annual Meeting of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3115/1073012.1073047](https://doi.org/10.3115/1073012.1073047)

```bibtex
@inproceedings{hajic2001serial,
  title = {{Serial Combination of Rules and Statistics: A Case Study in Czech Tagging}},
  author = {Jan Hajic, Pavel Krbec, Pavel Kveton, Karel Oliva and Vladimir Petkevic},
  booktitle = {Proceedings of the 39th Annual Meeting of the Association for Computational Linguistics},
  year = {2001},
  doi = {10.3115/1073012.1073047},
  url = {https://doi.org/10.3115/1073012.1073047}
}
```

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