---
title: "Data-Driven Part-of-Speech Tagging of Kiswahili — Pauw 2006"
description: "A study compares four taggers for Kiswahili and finds that combining MXPOST with a dictionary lookup gives the highest accuracy on held-out text."
canonical: "https://research.elamur.ai/free/en/papers/pauw-2006-data-driven-part-speech-tagging/"
---
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/pauw-2006-data-driven-part-speech-tagging/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2006](https://md.research.elamur.ai/free/en/papers/2006/) / Data-Driven Part-of-Speech Tagging of Kiswahili

# Data-Driven Part-of-Speech Tagging of Kiswahili

Paper · 2006 · Guy De Pauw, Gilles-Maurice de Schryver and Peter Waiganjo Wagacha

**Authors:** Guy De Pauw, Gilles-Maurice de Schryver and Peter Waiganjo Wagacha · **Year:** 2006 · **Venue:** Lecture notes in computer science · **Licence:** other-oa per OpenAlex (not a CC licence; rights reserved) — text kept private

Lecture notes in computer science

- [PDF](https://biblio.ugent.be/publication/351319/file/6793850.pdf)
- [DOI 10.1007/11846406_25](https://doi.org/10.1007/11846406_25)

## Summary

A word can have several grammatical uses, and a program that labels text has to decide which use fits each occurrence. That is the task of [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/). De Pauw and colleagues study it for Kiswahili using the Helsinki Corpus of Swahili, a collection of sentences that already carries grammatical labels. The corpus gave the authors a way to train existing taggers on Kiswahili and compare their decisions against the same reference. They present the work as an early benchmark for data-driven tagging of Kiswahili and the wider Bantu language family.

The authors compare TnT, MBT, SVMTool and MXPOST. A baseline that remembers the most frequent tag for each word reaches 97.01% accuracy on familiar words in the blind test set, which gives a sense of how often a word’s identity settles the question. The same baseline reaches only 18.59% on words absent from training. MXPOST is the strongest individual tagger, with 98.44% accuracy across the blind test set and 93.32% on unseen words. The other taggers also handle unseen forms far better than the baseline, although their training and tagging times differ considerably.

The authors then ask how to combine taggers that make different mistakes. Giving each system an equal vote lowers overall accuracy relative to MXPOST, as does weighting votes by each system’s validation accuracy. A manual voting scheme that gives the strongest tagger more influence raises blind-test accuracy to 98.56%. The highest overall accuracy, 98.61%, comes from a simpler division of work. A dictionary lookup handles forms that have only one tag in the training lexicon, and MXPOST handles ambiguous forms and forms the lexicon has never seen. Its accuracy on unseen words therefore stays at the MXPOST figure of 93.32%.

A diagnostic provides a measure of how much the taggers’ different answers could help. A selector allowed to see the correct answer could reach 99.44% overall by choosing it whenever any of the taggers supplied it. The gap between that figure and the usable combinations shows how frequently the panel offers a useful answer that a real decision rule still has to recognize. The paper also leaves a linguistic question open. The taggers use written character patterns as indirect clues to the structure of Kiswahili words, and the authors propose testing whether explicit analysis of that structure would improve tagging.

## Deep dive: Data-Driven Part-of-Speech Tagging of Kiswahili

A study compares four taggers for Kiswahili and finds that combining MXPOST with a dictionary lookup gives the highest accuracy on held-out text. · about 32 minutes to read

**In this deep dive**

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

### The problem and its context

#### What a tagger has to decide

Part-of-speech tagging assigns a grammatical category to each word occurrence in a sentence. A label can identify a noun, a verb or a preposition, among other categories. A dictionary may give several possible categories for a spelling, because the same written form can play different grammatical roles. A tagger has to pick the category that fits the particular occurrence. The output is a sequence of labels aligned with the words, suitable for use by subsequent language-processing components.

The paper illustrates the task with the Kiswahili sentence *paka alianguka ndani ya maji*. The possible labels displayed beneath the words show why a sentence can pose a tagging problem even when many of its words are familiar. The form *paka* is presented with noun and verb possibilities. Seeing the form supplies those alternatives. Seeing it beside *alianguka*, presented as a verb, gives the tagger evidence about which alternative fits. Other words in the example also have candidate labels, so even a short sentence can require several decisions involving both word identity and its surroundings.

The authors describe Kiswahili as having limited lexical ambiguity. Here lexical ambiguity concerns the grammatical labels associated with a word form under the corpus’s tag inventory. It differs from ambiguity about what a sentence means, and it can be limited while difficult decisions still occur. A frequent word that regularly occurs with the same label will help a tagger establish a reliable default. A familiar word used in a less frequent grammatical role can defeat that default. A form that never occurs in training poses a different problem because there is no recorded label to prefer.

Those cases matter for understanding the experiment. They present different sources of evidence even though the output format is the same. For a familiar form with a single recorded label, a lexicon already offers a direct answer. For a familiar form with several recorded labels, the question is how to use the surrounding sentence to choose among them. For an unseen form, the tagger needs a method that can generalize from surrounding words, tags or similarities in spelling. The study compares systems whose ways of using those clues differ, and its combination experiments eventually make the distinctions between the cases explicit.

#### Why the comparison was possible for Kiswahili

The paper places Kiswahili within a Bantu language context in which [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) is especially relevant. The authors characterize the languages as generally agglutinating, meaning that a written word can contain several joined elements with grammatical roles. They point to noun classes and concordial agreement, where grammatical marking on one form is related to the class of another. Such patterns make parts of a word informative about its category. They also make it possible for a familiar grammatical pattern to appear in a full written form that a tagger has never encountered.

The authors describe a field in which corpus-based tagging had already advanced for major Indo-European languages such as [English](https://md.research.elamur.ai/free/en/topics/english/), Dutch and German. They give a different account of the available resources for Bantu languages. Much of the work they discuss concerned the design of grammatical label sets or the development of early morphological processing tools. Adapting the EAGLES tag inventory for Setswana is one example. The work they cite on isiXhosa proposed a different inventory and suggested exploring transformation-based tagging, an approach that uses rules to revise initial labels.

The paper also describes a corpus-processing effort for Sesotho sa Leboa that combined symbolic rules with statistical tagging. For isiZulu, it points to a prototype finite-state morphological analyzer, a program for identifying possible grammatical structures within words. The examples concern different stages of the problem. A tag inventory determines which distinctions an annotator or tagger can express. A morphological analyzer identifies possible structures for a form. A POS tagger assigns the label appropriate to an occurrence. The work for Kiswahili could start from a corpus in which those labeling decisions had already been made.

That resource was the Helsinki Corpus of Swahili, abbreviated HCS. The authors explain that its linguistic processing drew on a two-level finite-state formalism and that a Constraint Grammar Parser helped resolve competing morphological analyses. The resulting [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) includes POS tags. Those tags serve a different purpose in the new experiments from their purpose in corpus construction. The taggers learn from examples of labeled text and then try to reproduce the reference labels on separate sentences. The earlier linguistic work made that comparison possible by providing the examples and the reference answers.

The distinction between constructing the annotation and learning from it is important. The authors could ask whether available tagging programs were suitable for Kiswahili without first implementing a new system of linguistic rules for assigning tags. At the same time, the taggers inherit the distinctions made by the corpus annotation. Their task is defined by which categories the corpus recognizes and by how it uses them in context. An experiment using a different tag inventory could present different choices even when the underlying sentences were identical.

#### Where the available taggers fit

The authors describe corpus-based tagging as a mature source of tools that researchers could bring to another language once enough annotated material was available. Examples in the paper span several approaches to [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/). TnT estimates how likely tags are to occur together and how likely words are under those tags. MXPOST uses a maximum entropy approach that brings several kinds of evidence to a classification decision. MBT draws on the resemblance between a new case and examples retained from training. SVMTool uses support vector machines to learn distinctions among candidate labels.

The paper cites [TnT](https://md.research.elamur.ai/free/en/papers/brants-2000-tnt-statistical-part-speech-tagger/) as an established statistical approach with provisions for cases such as unseen words and sentence boundaries. It describes [SVMTool](https://md.research.elamur.ai/free/en/papers/gimenez-2004-svmtool-general-pos-tagger-generator/) as newer, with an earlier comparison against TnT on English and limited evidence at the time from comparisons across approaches and datasets. For MXPOST, it points to prior evidence that maximum entropy tagging fared well in direct comparisons. These precedents give reasons to include the systems. Their relevance to Kiswahili still had to be established using Kiswahili sentences and the labeling choices in HCS.

The study also draws on earlier work that combined word-class taggers. The motivation is that learners with different assumptions and inputs can reach different decisions after training on the same corpus. An error shared by the entire group offers little opportunity to a procedure that selects among the group’s suggestions. An error made by a single system can be recoverable if another offers the correct tag and the combination procedure can identify it. The Kiswahili experiments ask both how well the individual taggers perform and how reliably their disagreement can be turned into better decisions.

### The method, step by step

#### Preparing the corpus and keeping the decisions separate

The basic procedure is supervised learning. A tagger sees sentences paired with POS labels, learns from those pairs, and receives separate sentences on which it must supply the labels. Because several settings are possible for each program, the authors distinguish the data used to learn a tagger from the data used to choose its settings. They also reserve a blind test set so that the final accuracy measures can be obtained from sentences whose labels were held back from those choices.

The authors use the POS-annotated portion of HCS. After general cleaning and removal of duplicate sections, they have 3,656,821 words in 169,702 sentences. They randomize the sentences to spread the kinds of text available for learning. Randomization operates on sentences, the units that supply the immediate context for tagging. This preserves the order of words within each example even though sentences are redistributed across the corpus partitions.

The training set contains 2,927,846 words and is described as 80% of the data. It supplies the labeled examples used to learn the base taggers. The validation set has 362,866 words, or 10%, and supplies evidence about features and settings. The final 10% is the blind test set, with 366,109 words. That set supplies the held-out outcome when the selected configurations are compared. The authors use the same split throughout the experiments. They explain that the size of the corpus makes a full 10-fold cross-validation study impractical.

The validation set has another role once the individual taggers have been fitted. The authors run them on both validation and test sentences and line up their predictions with the corresponding word occurrences. Validation performance can then inform a voting rule, and labeled validation predictions can be used to train a separate classifier. The test predictions go through the resulting combination procedures. The reference test tags serve as the basis for scoring, with the oracle experiment supplying a separate diagnostic that deliberately uses the reference to assess what was available among the suggestions.

From annotated sentences to evaluated Kiswahili tags The steps in order.

#### Establishing a baseline from word frequencies

The baseline establishes what can be done with a lookup and a fallback. In the training data, the authors can count how frequently each known form receives each tag. The baseline chooses the most frequent tag for that form and uses it whenever the form occurs in the test set. The surrounding words have no influence on this decision. The paper calls this a unigram method because the lookup for a known occurrence depends on the word itself.

The fallback uses information from validation. The authors identify the forms in validation that are absent from training and determine which tag occurs most frequently in this subset. The chosen label is `PROPNAME`, the corpus tag for a proper name. Every unseen test word receives that label from the baseline. It therefore treats an unseen word that resembles a name and an unseen word that resembles an ordinary inflected form alike. The entire prediction comes from the frequency of the label among validation occurrences with the same training-vocabulary status.

The baseline also clarifies what “known” means in this study. A word is known if the training vocabulary contains its written form. The status applies to a later occurrence regardless of which label that occurrence bears. A known form could still be used in a grammatical role that is infrequent or missing in training. Conversely, an unknown form can share a beginning or ending with words the learner has seen. Vocabulary membership and the availability of useful evidence are related, but they describe different things.

The lexicon lookup used in the strongest combined system answers a narrower question than this baseline. The baseline has to assign a label to every known word, even when the training data lists several plausible labels. The combined system accepts a lookup only when the lexicon lists a single category for the form. For all other words it has a contextual tagger available. The fact that both procedures consult the lexicon can obscure the difference unless the conditions under which they use the returned label are made explicit.

#### Learning with TnT and MXPOST

TnT uses a hidden Markov approach. The observed input is the sentence, and the grammatical labels are the sequence the tagger has to infer. Its statistical evidence concerns which tags tend to occur in sequence and which words are associated with those tags. A label can be plausible for a spelling and still be a poor choice in a given context. The approach weighs evidence about the word together with evidence about the tag sequence in which its label would appear.

The paper identifies smoothing as part of TnT’s design. Smoothing gives a way to estimate the plausibility of patterns that appear rarely or are missing in the training examples, so the decision can use evidence beyond raw observed frequencies for the exact sequence. The authors also note its treatment of words it has never seen, capitalized forms and sentence boundaries. These details are part of the existing tagger being tested. The authors investigate its settings on validation and find the default configuration the strongest among the ones they try.

MXPOST classifies with maximum entropy. For the purpose of this study, the important property is that the method can bring several kinds of evidence to the choice of a label. The word’s identity is one source. Nearby tags supply context, and the initial and final letters of a spelling offer clues about its form. The fitted classifier uses information learned from the annotated examples to weigh these clues for a candidate grammatical category. This is a different basis for choosing a tag from looking up the most frequent category for the word.

When the authors refer to morphological features in their account of MXPOST, the examples are written prefixes and suffixes considered as letters. The initial or final letters may correspond to a meaningful affix. The input supplied by the tagger is a character pattern, so the learned association can also depend on an ending that cuts across a linguistic boundary or on letters shared for other reasons. Explicit morphological analysis would give the system a representation of grammatical structure. That is a further design choice the authors discuss for future work.

The authors’ MXPOST validation experiments support the default settings with an exception for training duration. They use 500 training iterations in place of the default 200. An iteration is a repeated step in fitting the classifier from the training examples. The paper gives the settings ultimately used in the comparison, while the blind-test table presents the accuracy of the selected configuration. This distinction matters when interpreting the change. The experiment reports the chosen MXPOST system’s result, and a separate blind-test score for default-length training is unavailable.

#### Learning with MBT and SVMTool

The Memory-Based Tagger, MBT, learns separate procedures for known and unknown forms. Its approach classifies new cases using the similarities that the learner can find to retained training examples. For known forms, the paper emphasizes contextual clues. For unknown forms, spelling features also matter. The distinction lets the unknown-word procedure learn from information that remains observable even when the target spelling has no training entry.

In its default setup, MBT uses two already disambiguated tags to the left of the target and one ambiguous tag position to the right. The left-hand labels have already been resolved as the system progresses through the sentence. The right-hand position still carries ambiguity about which label will be chosen. This makes the default context asymmetric in both extent and information. The authors examine alternative sources of information and algorithm settings using validation, then report both the default and optimized MBT on the blind test.

The optimized setup considers three tags on either side of the word, for both known and unknown forms. For unseen forms it also uses five letters from the prefix and suffix, along with indications of capitalization, hyphenation and the presence of numerical characters. These features describe traits shared by different written forms. A familiar spelling can frequently be tagged by reference to its ordinary grammatical contexts. For an unfamiliar spelling, an ending or a formatting pattern can help connect it to earlier labeled examples.

SVMTool supplies a support vector machine approach through scripts that prepare input and process output for SVM-Light. A support vector classifier learns how to distinguish labeled examples in a representation of their features. Its kernel determines how relationships between examples are represented for that learning procedure. The Kiswahili comparison uses the default radial basis kernel. The authors report that fitting the system takes long enough to make a search over settings impractical in their experiment. Its reported configuration therefore reflects a different degree of tuning from that of MBT.

The paper identifies the existing taggers as available tools and gives their distribution locations. Its experimental contribution is to bring them to the same annotated Kiswahili data and compare them under a shared evaluation. The descriptions make clear which families of evidence and settings enter that comparison. They leave the general mathematical derivations of the learning algorithms to the earlier work on the respective taggers.

#### Turning individual predictions into a committee

For each word in the validation and test material, the authors assemble a record with 6 columns. It contains the word, an output tag from each base system and the reference tag. The systems have each produced a single suggestion for that occurrence. The new record brings the suggestions together so a decision rule can use their agreement or disagreement. The reference on validation can supervise a rule. The reference on the blind test can score the resulting choice.

The first committee rule counts votes. Each tagger casts a vote for the label it supplies, and the label with the most support wins. The authors call this majority voting. In their description, the rule chooses the most often proposed tag and uses a random choice to resolve ties. It can favor a label because several systems arrived at it independently, even when the remaining system has the stronger overall validation record. Its decision depends entirely on the pattern of labels submitted at the current position.

The next rule assigns different amounts of influence to the systems. Under weighted voting, a system’s vote has the value of its observed validation accuracy. The values supporting a label are added, and the vote can therefore distinguish equal numbers of predictions from taggers with different validation records. The weights are properties of the taggers across the validation data. A tagger carries its weight into a decision whether the current occurrence is a familiar noun, an ambiguous form or an unseen word.

Plural voting is the authors’ name for a manually chosen allocation. MXPOST receives four votes, MBT and SVMTool receive three each, and TnT receives two. The authors choose those values with reference to the validation results. The allocation gives the most accurate individual system greater influence and uses a different spacing between the votes than weighting directly by observed accuracy. The decision still depends on how the panel groups around the alternatives. Giving MXPOST the largest individual allocation leaves scope for agreement among other taggers to determine the result.

The cascaded classifier uses the aligned predictions as examples for another learning problem. The base taggers have already learned how to label sentences. At the next stage, a memory-based classifier learns to assign a final label from the prediction records. The validation records supply its labeled cases, and it classifies the records built from the blind test. The gold tag is the class to predict. Accordingly, the cascade can learn from configurations of answers that recur in validation, with the empirical usefulness of those configurations depending on how frequently comparable cases occur in test.

#### Using the lexicon to decide who should tag a word

MXPOST with lexicon lookup takes a different route through the information available before the decision. The authors observe that the statistical tagger is particularly effective when a form admits several labels, while a lexicon already supplies a simple answer when it lists just one. The combined system checks whether the target form is unambiguous in the lexicon. If the lexicon offers one tag, the system uses it. If it offers several tags or lacks the form, MXPOST supplies the answer.

A useful feature of this decision is that it can be made when a sentence arrives. The system checks a property of the training lexicon, whose entries are already available, and selects which procedure will handle the word. It has no need to discover the correct test label to choose its route. The lookup is still an empirical rule about the likely label. A single observed category is evidence from the training sample, and the rule takes advantage of how frequently that evidence turns out to be sufficient in HCS.

The oracle also makes a selection, for a diagnostic purpose. It inspects the tags produced by the base systems and is credited with a correct decision whenever the reference tag appears among them. When every system offers a wrong answer, selecting from the submitted tags cannot succeed. This measures the coverage of the available predictions. Voting and the learned cascade face the practical problem of making their choices from observed inputs. The oracle supplies a way to ask how much room the base predictions leave for better choices.

### Experiments and results

#### What the accuracy figures measure

The authors score a prediction by comparing its POS label with the reference label on the same word occurrence in HCS. Overall accuracy is the share of test occurrences for which those labels match. They also report accuracy separately for known and unknown words. A repeated word can contribute several occurrences to the score, and each occurrence is judged in its own sentence. The known and unknown columns identify the cases according to whether their written forms occur in training.

The dataset’s reported average is 1.3 possible tags per word. The authors take this as evidence of modest lexical ambiguity under the HCS tag inventory. According to their report, about 12,000 words in each of the validation and test sets are absent from the training set, accounting for approximately 3% of the words in each set. This is why the all-word score and the unknown-word score give different perspectives. Known forms account for most of the blind test, while the unknown subset highlights choices that cannot draw directly on a recorded category for the form.

The unigram baseline scores 94.50% overall on the blind test. Its known-word accuracy is 97.01%, showing how often the training lexicon’s predominant label matches the reference on a later occurrence. Its 18.59% accuracy on unknown words measures how often the single proper-name fallback succeeds for that test subset. The baseline gives a reference for both problems. On known words the richer taggers are trying to improve a strong starting point, while on unknown words they have considerable scope to exploit evidence the fallback discards.

#### Comparing the taggers used on their own

Individual taggers on the HCS blind test, overall accuracy MXPOST achieves the highest overall accuracy among the individual taggers.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Unigram baseline | 94.50 |
| TnT | 97.79 |
| MBT default | 98.14 |
| MBT optimized | 98.25 |
| SVMTool | 98.24 |
| MXPOST (this paper) | 98.44 |

TnT reaches 97.79% overall accuracy on the blind test, with 98.00% on known words and 91.66% on unknown words. It has the lowest overall score of the trained contextual taggers, and its unknown-word result is particularly informative beside the fallback. TnT can draw on spelling and context rather than assigning every absent form a proper-name label. The unknown-word column also shows that its relatively low overall position leaves room for strengths on particular subsets.

Default MBT attains 98.14% overall, with 98.39% on known words and 90.59% on unknown words. The optimized version reaches 98.25% overall, 98.46% on known words and 91.61% on unknown words. The gain appears in both vocabulary categories. The changed setup includes a broader tag context and a more detailed representation for unknown forms, together with algorithmic settings chosen during optimization. The results measure what happens when those choices are used together.

SVMTool scores 98.24% overall on the blind test. Its 98.48% accuracy on known words edges ahead of optimized MBT on that portion, while its 91.30% accuracy on unknown words is lower. The overall figures for the two systems are correspondingly close. The authors single out SVMTool’s unknown-word result when explaining why it finishes behind optimized MBT. The comparison also puts a default SVMTool configuration beside an extensively tuned MBT configuration, a distinction that matters when evaluating the broader approaches.

MXPOST leads the individual taggers in the overall score and in each of the two vocabulary categories. Its blind-test accuracy is 98.61% on known words, 93.32% on unknown words and 98.44% overall. The paper reports that, against the unigram baseline, MXPOST reduces the error rate by 72% overall, 54% on known words and 92% on unknown words. An error reduction compares the mistakes left by each system. It takes the baseline’s errors as its point of reference, whereas accuracy takes all the examples under consideration as its denominator.

These figures separate the challenge of recognizing a familiar form’s role from the challenge of tagging a novel spelling. The baseline’s strong known-word figure explains the high overall starting point. The individual taggers’ unknown-word figures show how much a contextual or spelling-based procedure can recover beyond a common-label fallback. MXPOST is strongest on both reported categories, yet the later analysis of words with one lexicon label shows why that aggregate result still leaves a role for a specialized decision rule.

#### Comparing the cost of training and tagging

The paper reports approximate CPU times for fitting each individual tagger and for applying it. On the authors’ machine, the baseline takes 4s to train and 1s to tag. TnT takes 9s to train and 4s to tag. Among the trained contextual approaches it is the fastest in both phases. That efficiency is a distinct part of the comparison because the accuracy ranking reflects only the correctness of the final tags.

The MBT timing changes substantially with its settings. Default MBT takes 3m to train and 20s to tag. Optimized MBT takes 6m to train and 8m to tag. In this comparison, the accuracy improvement comes with the larger time cost in classification. The wider context and additional input for unseen forms belong to the same set of changes, so the result gives the cost of the selected package of settings.

SVMTool takes approximately ± 80h to train and 15s to tag. MXPOST takes approximately ± 5h to train and 90s to tag. The SVMTool measurements illustrate why the authors could find classification speed attractive while also concluding that a broader tuning search was impractical. A tagging run uses a fitted system, while evaluating more training configurations may require paying the much larger fitting cost again. MXPOST has the strongest individual accuracy on this corpus and also requires a substantial training investment in the reported setup.

The times are measured under the authors’ experimental conditions. They describe the results in terms of CPU time and give the machine configuration. The two phases have different practical implications in the experiment itself. Applying a finished tagger to validation and test is relatively fast for some systems whose fitting procedures are expensive. Conversely, a method with short training can still become slower at prediction as the representation of each case becomes more detailed, as the two MBT configurations illustrate.

#### Combining the predictions

Combination rules and MXPOST on the HCS blind test, overall accuracy Lexicon lookup with MXPOST gives the highest overall accuracy among the usable combinations.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| MXPOST | 98.44 |
| Majority voting | 98.36 |
| Weighted voting | 98.42 |
| Plural voting | 98.56 |
| Cascaded classifier | 98.46 |
| MXPOST with lexicon lookup (this paper) | 98.61 |

Majority voting reaches 98.36% overall on the blind test. It improves on TnT, both MBT settings and SVMTool in the overall comparison, while falling below MXPOST. Its known-word accuracy is 98.53% and its unknown-word accuracy is 93.12%. The authors attribute the result to cases in which other systems outvote a correct MXPOST answer. Agreement is frequently informative, and the comparison shows that making agreement decisive can also sacrifice the judgment of the strongest member.

Weighting votes by validation accuracy brings the overall figure to 98.42%. On known words it gives 98.59%, and on unknown words it gives 93.68%. This rule does better than MXPOST on the unknown subset and remains behind it overall. The pattern matters because the purpose of weighting is to account for reliability. A rule that uses a single validation score per tagger changes some decisions beneficially without producing the strongest balance across the two reported vocabulary categories.

Plural voting achieves 98.56% across the blind test. Its known-word accuracy is 98.72%, and its unknown-word accuracy is 92.72%. The manual allocation of votes produces a higher all-word score than either equal voting or weighting by the observed validation accuracies. Its unknown-word result is weaker than those of both other voting rules. The aggregate improvement comes with a tradeoff across the two subsets, so the finding about which voting rule fares best depends on which accuracy column represents the objective.

The learned cascade reaches 98.46% overall, 98.63% for known words and 93.37% for unknown words. All of those figures are above the corresponding MXPOST results. Overall it finishes behind plural voting and the lexicon hybrid. The paper thus finds some value in learning a second classifier from the panel’s suggestions, while the task-specific lexicon rule delivers the larger overall improvement in this evaluation.

MXPOST with lexicon lookup records 98.79% accuracy on known words and 93.32% on unknown words. Its overall blind-test accuracy is 98.61%. The unseen-word figure matches MXPOST’s because the hybrid sends those forms to MXPOST. The authors report an overall error reduction of more than 11% for the hybrid relative to the best individual tagger. This comparison uses MXPOST’s remaining errors as the reference. The earlier error-reduction figures for MXPOST used the unigram baseline’s errors as the reference.

#### Measuring which answers the taggers make available

Individual, combined and oracle results on unseen words in the HCS blind test The oracle retrieves more correct unseen-word tags from the panel than any tested decision rule.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| MXPOST | 93.32 |
| Majority voting | 93.12 |
| Weighted voting (this paper) | 93.68 |
| Plural voting | 92.72 |
| MXPOST with lexicon lookup | 93.32 |
| Cascaded classifier | 93.37 |
| Oracle | 96.85 |

Weighted voting is marked in the chart as the best tested rule for assigning unseen words a tag without access to the answer. The oracle serves a different purpose. It records whether a correct tag is available anywhere in the group of predictions. On the blind test it reaches 99.52% for known words, 96.85% for unknown words and 99.44% overall. These figures characterize the candidate tags at test time. Reaching them through a practical selection method would require identifying the useful suggestion from evidence available before scoring.

The authors report that the taggers all propose the same label 97.23% of the time. They agree on a correct tag 96.75% of the time and all agree on the same wrong tag 0.5% of the time. These are measures of how frequently kinds of agreement arise across the tagging decisions. They explain both the appeal and the difficulty of combination. The panel often supplies a common correct answer, which leaves a smaller set of disagreements where a selection rule can improve the result. On those cases, agreement among some of the taggers is only one clue to which answer fits.

### What the ablations show

#### Changing the inputs and settings of a tagger

The default and optimized MBT configurations provide the clearest within-system comparison. They receive the same training and test partitions, and their prediction procedures differ in the settings selected during validation. The optimized version compares favorably on known and unknown words, with a larger improvement on unseen forms. The accompanying timing results show that the change has a substantial cost when the tagger is applied. Taken together, the results establish the accuracy and time effects of the optimized configuration as a whole.

Several parts of that configuration change together. The context extends farther on both sides of the word, the unknown-word representation includes information from spelling, and the authors also tune the algorithmic settings. The comparison therefore cannot assign the improvement to an individual feature. Evidence that capitalization alone helps, or that the gain is caused by adding tags to the right, would require comparisons that vary those inputs independently. The paper’s comparison answers which of its MBT setups works better on the blind test.

The validation work for TnT and MXPOST provides a narrower kind of evidence. For TnT, the authors retain the default settings after a search. For MXPOST, they retain the defaults apart from the longer training run. The final test scores report how those selected settings fare against other taggers. Separate effects for the settings they considered during validation remain unquantified in the reported blind-test comparison. SVMTool offers a further contrast because the cost of fitting it curtailed that style of optimization.

#### Separating ambiguous forms from single-entry forms

The authors inspect performance according to lexical ambiguity as well as vocabulary membership. They report that MXPOST exceeds 94% accuracy on ambiguous words. For unambiguous words, both TnT and MBT do better than MXPOST. Thus a system with the best overall score can still be weaker on a subset that looks easy from the lexicon. This is the observation that motivates the hybrid. A decision about how many candidate labels a familiar word has can be made before assigning its test tag.

The authors suggest that the contrast reflects how closely the taggers adhere to their lexicons. MXPOST appears more willing to consider a category beyond the sole label associated with a word in training. Their interpretation is that a looser treatment of lexical ambiguity may help avoid overfitting to the training examples. The evidence establishes the difference in performance on the subsets. It leaves open which internal decisions in MXPOST account for all of its errors on words with a single recorded category.

The hybrid makes the subset finding testable as a practical rule. It changes the treatment of forms with one recorded label and delegates the remaining cases to MXPOST. The rise in known-word accuracy and the identical unknown-word score are consistent with that design. There is a direct link between the intervention and the location of its effect. The intervention works on cases where the lexicon can supply a sole entry, which by definition excludes any form missing from the lexicon.

There is also a distinction between the two kinds of aggregate evidence for using the lexicon. The baseline’s performance shows that the most frequent training label is often good enough across familiar forms in general. The ambiguity analysis identifies a more specific situation in which replacing a contextual decision with a lookup helps. The hybrid uses the narrower condition because the most frequent label may still be the wrong answer for a familiar word with several common grammatical uses.

#### Changing how the panel makes a decision

The voting experiments compare ways of using the same base predictions. Equal voting assigns each tagger the same influence. Weighting by validation accuracy lets a stronger tagger contribute more to a decision. Plural voting also distinguishes the systems, using manually spaced votes. Because the set of answers being combined is shared, differences between the voting results can be attributed to how the rules handle those answers in this experiment.

The comparison between weighted and plural voting shows that translating validation accuracies directly into voting weights gives a different result from using a manually chosen allocation. The manual allocation yields higher overall blind-test accuracy. Weighted voting performs better on unseen words. These observations support a conclusion about the choices tested on HCS. They leave open whether another weighting procedure, such as one that conditions on vocabulary status, would produce a better ranking.

The cascade tests a different way to use information from the same prediction records. Rather than expressing reliability through a fixed vote for every occurrence, the memory-based stage learns from particular patterns of predictions on validation. Its modest gain over MXPOST shows that the extra stage can recover some errors. The advantage of the lexicon hybrid in the overall score shows that a simple condition tied to the kind of word can have a greater effect than the tested learned combination. The two methods use different evidence to decide where MXPOST should be overridden.

The agreement figures and oracle result help explain why gains are hard to realize through voting. When all systems give the same prediction, a rule selecting from their outputs has an obvious answer and no competing tag to examine. When they diverge, the decision rule needs a way to distinguish useful dissent from an additional mistake. The oracle score shows that the group regularly offers a correct answer somewhere among its predictions. The actual combinations show how frequently their particular rules succeed at converting that availability into a correct single output.

#### Looking at the kinds of errors left behind

A recurring confusion concerns `PREP`, the preposition label, and `AG-PART`, the agentative particle label. The authors say that mistakes in both directions between these categories account for nearly 20% of all tagging errors. This is a concentration within the errors, rather than a measure of how frequently either category occurs in the corpus. It identifies a recurring distinction that the tested taggers struggle to reproduce. An error can matter to several systems even if they choose differently on other parts of the corpus.

The paper also reports nouns labeled as verbs and proper names labeled as nouns among the common mistakes. These errors connect the evaluation back to the original problem of interpreting a form in context. A word can support several plausible choices, and a system using common lexical and contextual cues can still favor the wrong one. The reported distribution identifies where errors cluster. The authors leave the finer question of which features or morphological structures explain those errors for later analysis.

### Limitations

#### Limits the authors identify

The authors hold out a large blind test set, while noting that corpus size makes full 10-fold cross-validation infeasible in their setup. The reported comparisons therefore come from the chosen random partition. Using the same partition for the systems makes the comparisons direct. Repeating the fit and evaluation with new partitions would address another question, namely how much the results and rankings fluctuate when different sentences supply the training, validation and test evidence.

The authors also point to the need for learning curves. Their experiment uses the available annotated training material at a single reported scale. A learning curve would train at several sizes and record how accuracy changes as more labeled examples become available. It would help establish how much annotation is needed to approach the performance reported here. This matters particularly for languages or collections with less labeled material than HCS, and the paper leaves that question open.

Optimization is another stated limitation. SVMTool’s training time makes substantial tuning impractical, and the authors suggest that kernel choice and a fuller validation effort could improve it. They also propose broadening the pool of tagging methods in future combination experiments, mentioning CRF++, WPDV and the transformation-based approach associated with [A Simple Rule-Based Part of Speech Tagger](https://md.research.elamur.ai/free/en/papers/brill-1992-simple-rule-based-part-speech/). The reported committee is evidence about the members tested. The performance of a committee that includes these other approaches remains an open experimental question.

The authors call for a more detailed investigation of how the taggers handle Kiswahili word structure. They regard affixation as important evidence for word class and describe the tested systems as accessing that evidence indirectly through the spelling. They suggest running explicit morphological analysis before tagging, so that grammatical structure within a word could become part of the information used by the tagger. The paper provides a reason to examine this possibility and leaves the effect of such preprocessing unmeasured.

Their concluding ambition is to supply a starting benchmark for Kiswahili and Bantu tagging. The direct results concern a set of Kiswahili sentences with HCS annotation. Applying those results to another Bantu language would require that language’s data, its labeling choices and its own evaluation. The typological similarities discussed in the introduction explain why the benchmark has a wider audience. The study establishes comparative performance for the corpus on which the taggers were fitted and tested.

#### Limits visible in the evaluation design

Randomizing sentences distributes material across the partitions. The paper gives no separate scores for a partition formed by holding out whole sources or kinds of text. Sentence-level randomization and source-level exclusion ask different questions. The former tests generalization to held-out sentences from the assembled corpus. The latter would test transfer when a portion of the kinds of evidence supplied by those sources is deliberately absent from fitting. The blind-test scores here support the first question.

The HCS tag inventory also determines the frame of the accuracy measure. The reference is the corpus’s assignment of a category to an occurrence, and the error patterns reflect distinctions made in that annotation. A different inventory could split one HCS label into finer categories or group together labels that HCS treats separately. Either change would affect what a prediction has to get right. The reported lexical ambiguity and accuracy should therefore be read with the corpus’s tag distinctions in mind.

Known-word accuracy groups together cases with different levels of familiarity. A spelling that occurs once in training and a often repeated spelling both qualify as known. Unknown-word accuracy groups together all forms absent from training. Those forms can include spellings that are structurally close to familiar words and forms that offer much less recognizable evidence. The paper’s split reveals the broad effect of vocabulary coverage. It leaves frequency-specific and morphology-specific performance unresolved.

The aggregate metric is also shaped by which labels and forms appear most often. A gain on a frequent class can have a large influence on total accuracy, while a substantial improvement on a rare class can have little influence there. The paper supplies observations about common confusions and breaks out unknown words, which help interpret the totals. It gives no complete per-category evaluation from which a reader could compare all the taggers’ performance on rarer grammatical distinctions.

The observed order of systems is tied to the training regimes selected for the comparison. MBT receives extensive tuning, TnT and MXPOST are checked against possible settings on validation, and SVMTool runs with its default kernel after time constrains exploration. The outcome establishes which reported systems and configurations perform best under the experimental conditions. A comparison in which every approach had an equal opportunity for extensive optimization would address a different question. The CPU figures help explain why the study’s allocation of tuning effort was uneven.

The possible benefit of the combination rules depends on which cases are common and which systems disagree. Lexicon lookup helps because a sole training label is often a reliable answer on this corpus and because MXPOST sometimes changes it incorrectly. If another corpus has more instances where a previously single-label spelling appears in a new role, that rule’s behavior could change. Likewise, the best overall voting rule in HCS trails another voting rule on unseen forms. The study establishes the ranking on the reported test distribution, with separate columns to show where the ranking changes.

Finally, the oracle’s accuracy is conditional on a fixed set of candidate answers. It establishes how often a correct suggestion is present. It supplies no procedure for recognizing that suggestion from the test sentence and no limit on what could be achieved by a future tagger that generates different candidates. The unknown-word gap identifies an area where there is useful disagreement to investigate. Whether additional features, a different selection procedure or a wider panel could exploit it remains to be measured.

### What came after

[Methods for Amharic Part-of-Speech Tagging](https://md.research.elamur.ai/free/en/papers/gamback-2009-methods-amharic-part-speech-tagging/) cites the Kiswahili study and takes up the task of assigning grammatical categories in Amharic. Its title establishes the shared focus on POS tagging methods. The citation connects work on a different language to the earlier Kiswahili comparison, which had shown how existing taggers and ways of combining them could be evaluated against a common annotated reference.

The connection that can be traced is the shared methodological question of how to study tagging for a particular language. In the Kiswahili paper, the answer involves a corpus-defined inventory, held-out evaluation and attention to the behavior of taggers on words outside the training vocabulary. How the Amharic work used particular parts of that design, including plural voting or MXPOST with lexicon lookup, remains unspecified. The influence established here is the citation and the continuation of the tagging question in another language.

## Cite

Cite as Guy De Pauw, Gilles-Maurice de Schryver and Peter Waiganjo Wagacha. 2006. Data-Driven Part-of-Speech Tagging of Kiswahili. Lecture notes in computer science.

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

```bibtex
@inproceedings{pauw2006data,
  title = {{Data-Driven Part-of-Speech Tagging of Kiswahili}},
  author = {Guy {De Pauw}, Gilles-Maurice {de Schryver} and Peter Waiganjo Wagacha},
  booktitle = {Lecture notes in computer science},
  year = {2006},
  doi = {10.1007/11846406\_25},
  url = {https://doi.org/10.1007/11846406_25}
}
```

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