Elamur Research

Coupling an Annotated Corpus and a Morphosyntactic Lexicon for State-of-the-Art POS Tagging with Less Human Effort

Paper · 2009 · Pascal Denis and Benoît Sagot

Summary

When a part-of-speech tagger encounters a word it has never seen in training, it still has to decide what that word is doing in the sentence. The spelling and the surrounding words offer clues, but a separate dictionary may already record the word’s grammatical possibilities. Pascal Denis and Benoît Sagot study how to combine these sources for part-of-speech tagging in French. They also ask how much annotated text a tagger needs when such a dictionary is available. The distinction matters because a dictionary records what a form can be, whereas an annotated sentence shows which reading applies in a particular context.

Their tagger, MElt, learns from the French Treebank and draws on Lefff, a French lexicon that lists grammatical information about word forms. The authors compare ways of using the same lexicon. One extends the list of tags the decoder is allowed to assign to a word. The other supplies the dictionary readings as features whose influence the tagger learns from annotated examples. The second approach can use readings for nearby words as well as for the current word. This gives it information about the grammatical possibilities to the right, even though it assigns tags from left to right.

On the French Treebank test set, the feature-based tagger reaches 97.7% overall accuracy. The baseline MElt reaches 97.00 in the test table, and the version that uses Lefff to restrict candidate tags reaches 97.10. The feature-based version also leads on test words absent from training, where the table gives it 90.01 against 86.10 for the baseline. The paper reports a 23.3% overall error reduction from adding the lexicon features. The feature-based system also scores above a French parser used as a tagger, which matters because that comparison gives it a stronger reference point than the simplest tagging baselines.

The authors then retrain the feature-based tagger with progressively smaller portions of the treebank and lexicon. Across the performance levels they compare, having the full lexicon reduces the amount of annotated training data needed by at least one half. Their estimates of manual development time favor working on both resources after the earliest stage, when the allocation of effort makes little difference to overall accuracy. These time estimates come from assumed annotation and validation rates. The direct experimental result is that a tagger supplied with lexical information can reach the same measured accuracy with less annotated text in this French setup.

Deep dive: Coupling an Annotated Corpus and a Morphosyntactic Lexicon for State-of-the-Art POS Tagging with Less Human Effort

A French part-of-speech tagger uses a lexicon to improve accuracy on unfamiliar words and reach the same accuracy with less annotated text. · about 37 minutes to read

The problem and its context

A form can have several grammatical readings

A part-of-speech label describes the grammatical role or category of a word as used in a sentence. Readers routinely resolve such ambiguities from context. A tagger has to make the same choice for every token, including forms whose category changes with the construction. In the French Treebank example reproduced by the authors, the form appliquée receives VPP, the past-participle tag. Its ending could also be compatible with an adjectival reading. The preceding être is part of the context in which the corpus assigns the verbal reading. Tagging therefore involves deciding which reading applies at a particular position, even when a dictionary already knows the form.

A supervised tagger learns from sentences with linguistic annotation. It can learn that a form often carries a particular tag, that some endings favor certain tags, or that a tag is more plausible after a particular sequence of other tags. Its evidence varies in how broadly it applies. A pattern involving an ending can transfer to a spelling never seen before. A pattern involving the identity of a word depends on that word having occurred in the annotated text. Even for a familiar word, the training sample may contain only some of its grammatical uses.

The authors use unknown in a precise sense. An unknown token is an occurrence of a form absent from the training corpus against which the test is being run. The term says nothing about whether a speaker would know the word or whether a separate dictionary contains it. Indeed, a word can be unknown to the tagger’s supervised training and have several entries in the external resource. That overlap gives the lexicon a role that cannot be filled by a dictionary extracted solely from the training sentences. It also gives the experiments a way to check where the extra resource helps. Accuracy over all tokens measures the end result for the benchmark, while accuracy on unknown tokens focuses on cases where the training corpus offers no direct record for the spelling.

The evidence available to earlier taggers

As the authors describe the field, supervised systems were already among the strongest part-of-speech taggers. For English and some other European languages, reported performance approached human levels. Many such systems derived their dictionaries from annotated training text. This was a practical way to tie the candidate tags for a form to the same annotation scheme used in learning. It also meant that the candidate list developed a gap wherever the training text did.

Earlier maximum entropy taggers provided a starting point for the French system. The approach let a tagger use varied and overlapping clues in the same prediction. It could consider a word’s spelling, its ending and the preceding tag together without requiring those clues to be independent. Denis and Sagot draw in particular on Ratnaparkhi’s maximum entropy tagger and Toutanova and Manning’s extension of maximum entropy tagging. Their French baseline adapts that approach before any external lexical information is added. This sequence of work makes it possible to ask how much Lefff contributes once the underlying tagger is already competitive.

There was also a precedent for using a dictionary directly in tagging. The authors discuss Hajič’s work on morphological tagging with data and dictionaries for highly inflected languages, including Czech. A dictionary can narrow the set of analyses that the tagger needs to consider for a form. If the recorded possibilities are complete and agree with corpus practice, eliminating other candidates can make decoding easier. The assumption about completeness and agreement matters. A tagger that must obey the dictionary has no way to recover a reading that the dictionary omits and the training corpus has never supplied for that form.

French offered both the resources to investigate this issue and a reason to do so. The authors had access to a substantial manually annotated corpus and to a separate large lexicon, and they describe probabilistic tagging for French as relatively little studied. The pairing also made it possible to compare the same learning system with and without lexical information. The corpus was a version of the French Treebank, a collection of sentences annotated for grammatical structure. The lexicon was Lefff, which describes French forms and grammatical properties and had already been presented as the Lefff 2 syntactic lexicon for French.

Why the cost question is different from the accuracy question

Building a corpus and building a lexicon add different kinds of coverage. When annotators label a sentence, they resolve the readings of all the words in that sentence and add evidence about how those readings fit together. The same common words and constructions may recur across many sentences. That repetition can be useful because it shows how frequently a pattern occurs and how it varies. It also means that adding more running text need not add a correspondingly large set of new spellings.

Lexical work organizes effort around vocabulary. A validated entry can license several inflected forms, and the same entry can be consulted each time one of those forms occurs. It gives the tagger evidence across occurrences without requiring a human to annotate each of them in context. It still leaves contextual questions open. A lexical entry does not indicate which reading is in force in a particular sentence, and it does not tell the learner how much weight that clue deserves relative to other evidence.

The accuracy question is whether combining these resources improves predictions when the resources already exist. The development question is where additional human effort pays off when both resources are incomplete. Those questions need different comparisons. A test of a full treebank with and without a full lexicon measures what the second resource adds to an established system. It cannot reveal whether a small lexicon is already useful, when additional corpus annotations become the better investment, or whether a target accuracy is reachable with fewer labeled sentences.

The paper uses the French resources to examine both questions. It tests ways of incorporating Lefff using the main training and test sets, then varies the amount of corpus and dictionary information available to the feature-based tagger. The latter procedure is especially relevant to low-resource languages, where deciding what to annotate can be part of building the tagger itself. The French setting lets the authors study that choice by withholding existing material and observing how the same tagging procedure responds.

The method, step by step

Make the corpus and lexicon agree on the labels

The system begins with a particular version of the French Treebank. Its treatment of compounds determines what counts as a token. Compounds whose internal categories do not form a syntactically regular sequence are combined into single tokens, each with the category of the tree node spanning the expression. Other compounds remain sequences of tokens. For tokenization, this means that the experiment already starts from a specified division of the input. The tagging procedure assigns labels to those units.

The original treebank distinguishes 13 main categories and 34 subcategories. The version used in the paper has 28 tags derived from those distinctions. It preserves details such as verbal mood and selected lexical properties without retaining all the original subcategories as separate tags. Thus an infinitive can receive VINF and a past participle VPP instead of both receiving the broad label for a verb. In the sample sentence, pourrait receives V, être receives VINF and appliquée receives VPP. The article’s accuracy figures concern the tagset with those distinctions, so assigning the general grammatical category would sometimes leave part of the task unresolved.

Lefff contains more information than a tagger of this kind needs. For example, it includes subcategorization frames, descriptions of the kinds of complements a lexical item can take. The authors take only the information relevant to morphology and grammatical category, then translate it to the treebank’s tag inventory. A retained record identifies a surface word form, the tag that form can carry and its lemma, the dictionary form to which the inflected form belongs. The shared inventory makes it possible to compare what Lefff records with the labels the tagger is expected to predict.

After conversion, the lexicon contains 507, 362 distinct form, tag and lemma triples. Dropping the lemma from the lookup key leaves 502, 223 distinct form and tag pairs. This second view is sufficient when the tagger needs only to know what labels Lefff associates with a spelling. For the resource-size experiment, the authors also organize entries into lemma and category groups, treating all verbal tags as one category for grouping. The resulting resource has 117, 397 lemma and category pairs under that convention. Grouping the verbal forms this way does not collapse the tags the classifier predicts. It determines which entries are included together when a lexical unit is added to a smaller dictionary.

From aligned French resources to a tagged sentence

The steps in order.

From aligned French resources to a tagged sentenceStep 1: Prepare treebank tokens and tags1. Prepare treebank tokens and tagsStep 2: Convert Lefff entries to the same tagset2. Convert Lefff entries to the same tagsetStep 3: Build the training corpus tag dictionary3. Build the training corpus tag dictionaryStep 4: Extract word, context and lexicon features4. Extract word, context and lexicon featuresStep 5: Fit feature weights on annotated sentences5. Fit feature weights on annotated sentencesStep 6: Extend candidate sequences from left to right6. Extend candidate sequences from left to rightStep 7: Return the highest scoring retained sequence7. Return the highest scoring retained sequence

Score a tag in its sentence context

MElt treats a sentence as a sequence of observed words and looks for the most probable sequence of tags. The possible labels for a word depend in part on the tags assigned earlier in the sentence. That dependency matters for search. A plausible assignment at one position may lead to better assignments later, so the tag sequence is evaluated through a product of successive conditional probabilities.

t̂₁ⁿ = argmax₍ₜ₁ⁿ ∈ Tⁿ₎ P(t₁ⁿ | w₁ⁿ) ≈ argmax₍ₜ₁ⁿ ∈ Tⁿ₎ ∏ᵢ₌₁ⁿ P(tᵢ | hᵢ)

Here n is the sentence length, w₁ⁿ is the observed word sequence from its first through its last position, and wᵢ is the word at position i. T is the tag inventory, Tⁿ is the set of length-n sequences over that inventory, and t₁ⁿ is one candidate sequence, whose tag at position i is tᵢ. The hat in t̂₁ⁿ marks the chosen sequence. P denotes probability, the vertical bar means “given,” and hᵢ is the history available when scoring a tag at position i. The history contains earlier tag choices and observed word information. argmax selects the candidate sequence that maximizes the expression that follows it. The approximation sign marks the use of the product of local conditional probabilities for this choice. The product sign multiplies those probabilities from the first position through position n.

The history is different for competing partial tag sequences because they can contain different earlier tags. The words of the sentence, on the other hand, have already been observed. A feature can inspect a word to the right before the decoder assigns that word any tag. This distinction becomes important when the lexicon is added. The system can consult Lefff for possible categories of a following word without committing to one of those categories in the output.

At each position, the maximum entropy classifier computes the local probabilities from active binary features and their learned weights.

P(tᵢ | hᵢ) = (1 / Z(hᵢ)) · exp(∑ⱼ₌₁ᵐ λⱼ fⱼ(hᵢ, tᵢ))

P(tᵢ | hᵢ) is the probability of the candidate tag tᵢ given the history hᵢ. m is the number of features, and j indexes them. Each fⱼ(hᵢ, tᵢ) is a binary function of the history and proposed tag. It equals 1 when the feature applies and 0 otherwise. λⱼ is the weight learned for feature j. The sum sign adds the weighted feature values, from the first feature through feature m, and multiplication combines each weight with the corresponding feature value. exp converts the resulting score to a positive value. Z(hᵢ) is the normalization term obtained by summing such values over tags for the same history. Dividing by it makes the local scores a probability distribution.

A feature can tie a directly observable property to a particular label. The authors illustrate this with a word identity feature for le.

f₁₀₀(h, t) = 1 if wᵢ = “le” and t = DET, 0 otherwise

f₁₀₀ is the example feature, indexed by 100. h is the context it receives, wᵢ is the current word form available in that context, and t is the tag being considered. DET is the determiner tag. The return value 1 means that both the spelling and the candidate label match the test. The value 0 covers every other combination. Other features can fire on the same candidate. This lets the system combine the spelling of le with clues from its position and neighbors.

Learn from spelling, neighbors and previous tags

The basic feature set includes the identity of the current word, prefixes and suffixes of character length 4 or less, and several spelling tests. Some tests look for a digit, a hyphen or an upper-case character. Others distinguish forms made entirely of upper-case characters and forms containing an upper-case character away from the start of the sentence. These distinctions give the system ways to share evidence across spellings. A form absent from training can still activate a feature that was learned from other words.

The contextual features inspect the previous tag, the ordered pair of previous tags, and nearby word forms. The word window reaches 2 tokens away on each side. A form at one relative position supplies a different clue from the same form at another. Earlier tags express what the decoder has already inferred, while surrounding word forms supply fixed observations. Together these features let the tagger combine evidence such as an ending, a neighboring form and a candidate’s compatibility with the preceding analysis.

The paper’s French baseline uses affix features throughout training and tagging. The feature applies whenever the relevant prefix or suffix is present, even for words whose identities are frequent enough to provide evidence of their own. This differs from restricting such features to rare words. A consequence is that occurrences of common words can help estimate which endings are informative. The learned association is then available when a less familiar spelling shares the same ending. The authors’ development work favored keeping this general evidence active throughout.

In the maximum entropy formulation, empirical feature frequencies from the annotated data provide targets for the classifier’s expected feature frequencies. The system estimates weights using the Limited Memory Variable Metric Algorithm in Megam. The choice of optimizer is discussed in the context of Malouf’s comparison of maximum entropy parameter estimation algorithms. To moderate the effects of sparse observations, the fitted weights have a Gaussian prior centered at zero. The paper uses precision 1, where precision is the inverse of variance. This regularization discourages large weights without dropping a feature solely because it occurs infrequently.

Keep several partial taggings during decoding

At test time, the decoder works from left to right. It extends its candidate sequences by proposing a tag for the current word, scores the extensions, and retains only the best partial sequences. The authors use a beam size of 3. A beam is the set of partial analyses that remain available for the next step. It allows the tagger to reserve more than one plausible reading while limiting the number of paths it must score.

A beam also makes the search approximate. The product of probabilities gives a criterion for ranking complete sequences, while the beam decides which partial sequences will survive long enough to be completed. A reading that starts poorly can be pruned before supporting evidence from later assignments affects its sequence score. The experiment uses a fixed beam, and the authors report that the larger beams they tried during development brought no significant improvements.

The baseline is already equipped with a tag dictionary built from the annotated corpus. For a form seen in training, it restricts decoding to tags observed for that form. In effect, the training text plays two roles. Its labeled occurrences teach the classifier how contexts and tags go together, and its inventory of form and tag associations supplies a practical restriction on the search. An external lexicon can add coverage where the corpus-derived dictionary has no entry, or it can contribute another kind of evidence to the classifier.

Use Lefff either to filter tags or to inform their scores

In the constraint-based version, the authors combine the observed corpus tags for a form with the tags listed in Lefff. The allowed set is the union of the two sources. If a form has a recorded tag in the corpus that Lefff lacks, it remains eligible. If Lefff lists a reading never observed for that form in the corpus, the expanded dictionary can admit it. For a form absent from training but present in Lefff, the lexicon supplies the permitted candidates. This use of a dictionary applies to the current form. The decision about which candidates are eligible does not depend on what the dictionary says about the neighboring forms.

The feature-based version introduces a clue for each Lefff reading of the current form. For a form with several readings, it also introduces a feature representing the complete collection of readings. An individual feature can capture the fact that a particular grammatical possibility is present. The feature for the collection can capture a different pattern, involving the characteristic ambiguity shared by forms with that particular set of possibilities. As in the baseline, every such feature is conditioned on the output tag being scored.

The same idea is applied to words within the surrounding window. For a neighboring form, the tagger can use a feature for one of its possible Lefff tags or for its complete set of tags when there is ambiguity. The system can thus learn that a particular candidate for the current word tends to appear next to forms with particular grammatical possibilities. It does not have to reduce a neighbor to a single tentative tag before learning from it. This is most consequential to the right, where the left-to-right decoder has not yet made any assignments.

A lexical feature changes the score of a candidate through a fitted weight. Its value as evidence depends on how it behaves in the annotated sentences. A feature associated with unreliable information can receive little influence, and several other clues can support a candidate even if Lefff supplies no corresponding reading. The constraint version uses no such weighting for eligibility. An absent candidate is excluded by the dictionary when a restriction applies, regardless of the rest of the sentence. The contrast concerns both how dictionary evidence enters the decision and which words’ entries can inform it.

Construct smaller resources without changing the tagging task

For the corpus-size experiment, the authors retain the first sentences in the training set up to each specified size. The resulting training corpora are nested. A larger sample contains the material in the smaller sample and adds the sentences that follow. The published ordering therefore determines which contexts become available as size increases. The tag categories and the underlying task stay the same.

The lexicon subsets require a different procedure because the authors want each size to resemble a stage of lexical development. They first use the feature-based MElt with the larger resources to tag a raw sample of 20 million words from the journalistic corpus L’Est Républicain. They then perform lemmatization by associating each occurrence with all possible lemmas whose categories agree with the assigned tag. In an ambiguous case this procedure can keep several compatible lemmas. Its purpose is to estimate which lemma and category pairs are frequent enough to include first.

The authors rank those pairs by their frequency in the tagged raw text. A smaller lexicon contains the entries associated with the highest-ranked groups up to its size limit. Including a group keeps the associated word forms and tags together, so an inflection does not have to rank highly on its own to enter the dictionary. Training on successive corpus prefixes and consulting successive lexical subsets gives the authors a way to vary the two kinds of resource independently. MElt is the system the paper makes freely available, and Megam is the package used to fit its weights.

Experiments and results

What counts as a correct prediction

The full French Treebank variant has 350, 931 tokens in 12, 351 sentences. The split uses 80% for training, 10% for development and 10% for testing. FTB-TRAIN contains 9, 881 sentences and 278, 083 tokens. FTB-DEV has 1, 235 sentences and 36, 508 tokens. FTB-TEST likewise contains 1, 235 sentences, with 36, 340 tokens. The training portion provides the examples from which the classifier learns. Development data support choices about settings and are used for the manual study of errors. The main system comparison is on the test portion.

Accuracy is computed over token occurrences. Each prediction receives credit when its tag agrees with the treebank’s label for that token. Overall accuracy includes the whole split under discussion. Unknown-word accuracy applies the same criterion to occurrences whose forms were absent from training. With the full training set, that subset consists of 1, 892 tokens (5.2%) on development and 1, 774 tokens (4.9%) on test. Because the counts refer to occurrences, repeated uses of a form can each contribute to the score.

The two measures answer different questions. If the overall accuracy rises, the system is making more decisions that agree with the benchmark across the full stream of text. If unknown-word accuracy rises, it has become more reliable in the cases where its training corpus offered no direct examples of the spelling. A system can improve substantially on that subset while only modestly changing the aggregate. The subset is a small share of the full-size evaluation, and all other tokens still contribute to the overall result.

How strong is the baseline without Lefff?

The simplest baseline, UNIGRAM, memorizes the dominant tag for each form seen in the training corpus. For a form absent from training, it chooses the tag most frequent across the corpus, NC. Its predictions are independent of sentence context. This comparison establishes how far common labels and form-specific frequency can go on their own. Where one reading dominates for a familiar form, a lookup can work. Where evidence depends on the sentence or the word has never appeared, the procedure has little basis for choosing among alternatives.

The second baseline is TreeTagger, a statistical tagger that uses decision trees. The authors retrain it on the French Treebank training split, giving it the same annotated source used by MElt. Unlike the unigram baseline, it supplies a comparison against an established tagging procedure with statistical features. The baseline MElt uses its full set of spelling and context features and the dictionary derived from the corpus, with Lefff held out.

Baseline taggers on French Treebank test unknown-word accuracy

The baseline MElt leads both comparisons on words absent from training.

Baseline taggers on French Treebank test unknown-word accuracyUNIGRAM: 24.50UNIGRAM24.50TreeTagger: 75.77TreeTagger75.77Baseline MElt (this paper): 86.10Baseline MElt (this paper)86.10
The numbers
System or settingaccuracy %
UNIGRAM24.50
TreeTagger75.77
Baseline MElt (this paper)86.10

On FTB-TEST overall, UNIGRAM scores 91.90 in percent accuracy, TreeTagger reaches 96.12, and baseline MElt reaches 97.00. The ordering is the same on unknown words, where the figure shows a particularly large gap between reliance on a default label and a classifier that can combine spelling and context. The paper reports that the improvement over TreeTagger is statistically significant. It uses chi-square tests for accuracy changes with p set to 0.01 unless otherwise specified.

On FTB-DEV, baseline MElt records 96.7 overall and 86.2 on unknown words, both in percent accuracy. These are development figures for the same baseline, distinct from the test scores above. They show why the split needs to accompany the number. The unknown-word subset and its mix of examples differ across the two portions. A score on one split gives evidence about that split, even when it is close to the score on the other.

What the full lexicon adds

The lexicon comparison includes versions of UNIGRAM and TreeTagger that receive Lefff. For UNIGRAM, Lefff changes how it treats unknown forms. If an unknown form appears in the lexicon, the tagger ranks its recorded tags by their frequency across the training corpus and takes the most frequent of those candidates. A form absent from both resources still receives NC. The lexicon version of TreeTagger is retrained and supplied with Lefff as an external dictionary.

The authors also compare the taggers with F-BKY, a French adaptation of the Berkeley parser used to supply part-of-speech tags. It gives a comparison with a system whose main job is to infer syntactic structure. Its scores help show how the lexical feature method performs against a strong French system whose route to a tag differs from that of MElt.

Tagging systems on French Treebank test overall accuracy

MElt using Lefff features has the highest overall accuracy in the comparison.

Tagging systems on French Treebank test overall accuracyUNIGRAM with Lefff: 93.40UNIGRAM with Lefff93.40TreeTagger with Lefff: 96.55TreeTagger with Lefff96.55F-BKY parser: 97.30F-BKY parser97.30Baseline MElt: 97.00Baseline MElt97.00MElt with Lefff constraints: 97.10MElt with Lefff constraints97.10MElt with Lefff features (this paper): 97.70MElt with Lefff features (this paper)97.70
The numbers
System or settingaccuracy %
UNIGRAM with Lefff93.40
TreeTagger with Lefff96.55
F-BKY parser97.30
Baseline MElt97.00
MElt with Lefff constraints97.10
MElt with Lefff features (this paper)97.70

Tagging systems on French Treebank test unknown-word accuracy

Both Lefff variants improve on baseline MElt, and the feature-based variant leads.

Tagging systems on French Treebank test unknown-word accuracyUNIGRAM with Lefff: 55.00UNIGRAM with Lefff55.00TreeTagger with Lefff: 82.14TreeTagger with Lefff82.14F-BKY parser: 82.90F-BKY parser82.90Baseline MElt: 86.10Baseline MElt86.10MElt with Lefff constraints: 89.00MElt with Lefff constraints89.00MElt with Lefff features (this paper): 90.01MElt with Lefff features (this paper)90.01
The numbers
System or settingaccuracy %
UNIGRAM with Lefff55.00
TreeTagger with Lefff82.14
F-BKY parser82.90
Baseline MElt86.10
MElt with Lefff constraints89.00
MElt with Lefff features (this paper)90.01

Using Lefff improves both reported test measures for UNIGRAM and TreeTagger relative to their versions without the external dictionary. The unigram comparison makes the direct value of lexical coverage easy to see. The classifier still resolves an unknown word without examining a sentence, but it can choose a familiar grammatical label appropriate to the form’s dictionary entry. The remaining errors show the cost of using training-wide tag frequency to select among the dictionary possibilities whenever context would favor a less frequent reading.

F-BKY ranks above baseline MElt on overall test accuracy and below it on unknown-word accuracy. With Lefff features, MElt leads on both measures. The authors report that the feature-based system’s overall advantage over the other taggers, including the parser-based comparison, is statistically significant. They describe its performance as the best reported for French tagging to their knowledge at the time. The comparison rests on the French benchmark and label inventory they evaluate.

The paper’s conclusion gives the feature-based system’s error reductions over baseline MElt as 23.3% overall and 27.5% on unknown words. An error reduction describes the share of baseline mistakes removed. It answers a different question from the accuracy improvements, which the paper gives as .7% overall and 3.9% on unknown words. The distinction is useful for interpreting an improvement in a system that was already correct on most tokens. Even a modest rise in overall accuracy can account for a substantial share of the errors that remained.

The paper gives inconsistent precision for the feature-based test result on unknown words. Its comparative table prints 90.01, and the accompanying prose gives 90.1%. The chart retains the entry from the comparative test table. A separate development note reports 97.3 overall and 90.01 on unknown words for the feature-based system. Both are percent accuracies on FTB-DEV. The test reporting discrepancy leaves the ordering of the compared taggers intact, although it matters if the unknown-word score is reproduced to the hundredth.

How much annotated text does the lexicon replace?

The size study uses 8 training corpus sizes, ranging from 50 sentences to 9, 881 sentences. The 9 lexicon settings range from 0 to 110, 000 in the experiment’s lemma-based size convention. At each configuration the authors measure accuracy over all evaluation tokens and over unknown tokens. With smaller training corpora, an unknown token is one whose form is absent from the corresponding smaller sample. Consequently, the unknown-word measure follows how the tagger handles the forms it still has no supervised examples for at each stage.

To compare investments in the two resources, the authors estimate manual development time. Their estimates for corpus work draw on the annotation experience described in Building a Large Annotated Corpus of English: The Penn Treebank. The French study assumes that validated tagging can start at around 1,000 words, or 30 sentences, per hour and reach 3, 000 words, or 100 sentences, per hour near a corpus size of 5, 000 sentences. For lexicon work, it assumes that automatically proposed lemmas can be manually checked in around 2 to 3 seconds each, corresponding in the paper to about 1, 500 lemmas per hour.

The authors combine those assumptions in the following expression.

t(s, l) = 36s + 8400 · log(s / 100 + 1) + 2.4 · l

t(s, l) is the estimated development time in seconds. s is the number of annotated sentences, and l is the number of lexical units, described as lexical entries in the timing formula and operationalized using the lemma and category grouping in the subset experiment. 36 is the coefficient of the linear sentence cost. The term with coefficient 8400 adds a logarithmic contribution to corpus time, with log denoting a logarithm acting on s / 100 + 1. Dividing s by 100 scales the sentence count in this term, and adding 1 makes the term zero when no sentences have been added. The coefficient 2.4 is the estimated cost in seconds for each lexical unit. The plus signs add the time contributions, and the dot denotes multiplication. The logarithmic contribution adds progressively less time per added sentence, reflecting the assumption that corpus annotation speeds up with experience and better automatic pre-annotation.

The paper draws contour lines to compare estimated time and observed accuracy across combinations of the two resources. An equal-time line lets the reader consider different allocations of the same estimated effort. An equal-accuracy line lets the reader consider different resource sizes at a given performance target. The authors examine both overall accuracy and unknown-word accuracy this way. This view answers a question that a full-resource ranking cannot answer. A combination with the highest absolute accuracy may use more of both resources, while a different combination can be preferable when human time is limited.

The authors report that below 3 hours of estimated manual work, the allocation has no significant effect on overall accuracy. Unknown-word accuracy in that range is better when the lexicon gets at least as much attention as the corpus. At subsequent stages, developing both resources gives the best tradeoff for both measures. If the comparison is between putting all additional effort into the corpus and putting it all into the lexicon, the corpus is the stronger single-resource investment later on. Continued annotation provides contextual examples that a larger inventory of grammatical readings cannot supply.

According to the authors, reaching any of the fixed performance levels they examined takes between one-half and two-thirds less annotated training data when the full lexicon is available. That finding compares the amount of annotated text needed to reach a target. Developing the lexicon also has an estimated cost. The equal-time comparison accounts for this separately, which is why the paper can report both that Lefff substitutes for part of the annotated corpus and that a mixed investment is preferable once development proceeds beyond the earliest stage.

What the ablations show

The lexical features improve an already capable tagger

The most direct comparison starts with baseline MElt and changes how it uses Lefff. Both variants share the underlying tagger and the French Treebank task. The constraint variant tests whether adding dictionary readings to candidate selection is sufficient. The feature variant tests whether learning how to use those readings gives a stronger result. Holding the base approach steady makes the comparison more informative about lexical integration than a comparison between systems that differ in almost every design choice.

The constraint version has an overall test gain of .1% as reported in the paper, which the authors find statistically insignificant. Its reported gain on unknown words is 2.9%. The pattern fits a resource that helps especially when corpus lookup fails. For forms absent from training, knowing which grammatical readings are available can eliminate choices that spelling and context alone might have favored. For familiar forms, the corpus dictionary already provides a restriction, and adding Lefff readings can also expand the candidate list. The union can therefore have different consequences for known and unknown forms.

The feature-based version has a larger gain, and its advantage extends to overall accuracy. An individual feature can share evidence across forms that would otherwise be represented by different identities. A feature marking the same set of dictionary readings can do the same across forms with a similar ambiguity. This offers an explanation for gains when individual words are sparse in the training data. The fitted tagger can use patterns associated with a grammatical profile even if it has few examples of the specific spelling under consideration.

The authors also argue that more accurate treatment of unknown words can help with later words. Previous tags are among the classifier’s predictors. If an earlier assignment improves, its tag may provide a more appropriate clue when the decoder reaches the next position. This is a plausible route from better coverage at a subset of tokens to changes elsewhere in the sequence. The reported unknown-word and overall scores measure the final predictions. They do not give a separate count of how many later tags changed as a consequence of an earlier correction.

Right-context features provide another explanation. A lexical lookup can expose possible categories of following words before the search chooses their output tags. The constraint variant uses Lefff to determine eligibility for each word, whereas the feature variant brings the possible category of a following word directly into the current local score. The experiment changes the treatment of lexical evidence and the range of available lexical context at the same time. It establishes the advantage of the combined feature design, while leaving the separate contribution of each change unresolved.

What development comparisons say about the baseline

The authors describe several choices they tested during development. They found that the routine use of prefix and suffix features worked better than limiting their application to a subset of words. Their explanation is that the classifier gets better statistics when more examples contribute to these cues. French inflection gives a reason to expect endings to be useful, and the development finding supports using them throughout this system. The paper gives no separate accuracy table for the affix comparison, so its contribution to the full test result cannot be quantified from the reported figures.

The relatively small search beam is also a choice informed by development trials. Larger beams failed to yield significant improvements. That provides evidence that retaining the authors’ chosen number of candidate sequences was adequate for the comparisons they ran. It does not show how often the beam finds the exact best sequence under the classifier, because the criterion they report is tagging accuracy. A decoder can change the sequence it chooses while leaving the measured accuracy nearly unchanged, especially if the new and old sequences differ at few positions.

Other values for the precision of the Gaussian prior were tried without improvements during development. This supports the setting used for the experiment. The paper does not give a controlled comparison between Gaussian regularization and the count cutoff used by the earlier taggers. Nor does the comparison with TreeTagger isolate a single explanation for baseline MElt’s stronger performance. The authors suggest that their classifier shares evidence from sparse features more effectively than a decision tree that partitions the sample. They also point out that TreeTagger’s use of suffixes is more restricted. These are explanations for the observed gap, with the full systems providing the measured comparison.

What the remaining errors look like

The manual error analysis examines the first 200 errors made by the feature-based tagger on FTB-DEV. The authors inspect apparent disagreements with the reference and group the cases by likely cause or by whether the annotation allows a clear decision. All the percentages from this analysis refer to the inspected development disagreements. They measure the composition of those cases, rather than how common any category is among all words in the treebank.

The analysis identifies difficulties that are familiar from ambiguous words and constructions. Adjective versus past participle cases account for 5.5% of inspected disagreements. Errors on de, du and des account for 4.0%. The remaining category of ordinary errors accounts for 34%. A lexical list of grammatical possibilities can help explain why some of these choices are difficult without resolving them. When several categories remain plausible, the system needs features that distinguish how the word is used in that sentence.

Number-related errors account for 15.5% of the inspected cases. The authors note that number expressions can receive grammatical categories including determiner, noun, adjective and pronoun. Their proposal is to replace literal numbers with shared placeholders in both training and evaluation. A spelling feature for one written number may have little evidence behind it. A placeholder would let examples of different numbers support the same feature while leaving context available to distinguish their roles. The existing system already includes a spelling test for digits, so this proposal would go further by changing how number forms are represented throughout the data.

Problems related to named entities account for 27.5% of the sample. The authors propose named entity recognition as a way to address many of those cases. In this setting, recognizing a name could give the tagger evidence about the expression in which a word occurs, especially when the spelling alone is compatible with a more common reading. The paper’s experiment measures the size of this error category in the inspected sample. It does not train or evaluate the proposed recognizer.

Several apparent errors also raise questions about the reference label. The analysis records 8.5% of the sample as cases where the tagger’s prediction appears correct and the development annotation appears erroneous. Another 4.5% are unclear cases in which both labels seem defensible. Truncated text accounts for 0.5%. These distinctions explain why improving agreement with a fixed reference and improving the linguistic analysis are related but distinct objectives. In a clear tagging error, better evidence may bring the prediction into agreement with the corpus. In a disputed or incomplete example, changing the prediction may instead reproduce a questionable annotation.

The inspection supports the authors’ view that some errors have recognizable causes and could be addressed. It does not give measured gains for their proposed changes. Their suggestion that the system might reach 98.5% is a prospect drawn from looking at the errors. The achieved test accuracy remains the reported 97.7%.

What varying corpus and lexicon size isolates

The resource study asks how useful lexical information is when the tagger has less training text. With the training corpus size held fixed, adding a larger lexical subset changes which forms and grammatical readings are available as features. With the lexical subset held fixed, supplying more annotated sentences changes the amount of contextual evidence as well as the inventory of forms seen in training. These comparisons make visible a complementarity that a single experiment with full resources would leave implicit.

Early lexical entries are selected for frequency in the tagged raw corpus. Their impact is therefore evidence about a lexicon that prioritizes common lemma and category pairs in that corpus. As the lexicon grows, the tagger gains evidence for less highly ranked pairs and for the associated forms. The result that lexical information helps at different stages concerns this progression. Because the resource is constructed from complete groups of existing entries, changes in nominal lexicon size can also bring different amounts of coverage at the surface-form level.

A comparison at equal accuracy is particularly revealing. It allows a lexicon-supported system and a system with more annotated text to be judged at the same performance target. The paper’s finding that less annotated text is needed in the first case gives concrete content to the claim that lexical work can substitute for some corpus work. The equal-time comparison then tests the practical implication of that substitution under the authors’ assumed costs. Its preference for developing both resources later on shows the continuing value of annotated examples even when a large lexicon is available.

Limitations

Limits and open questions the authors identify

The authors present a study of French using resources already developed to substantial size. They propose a future test in which comparable resources and a tagger would be built for an under-resourced language. That proposal marks a distinction between simulating resource scarcity by taking subsets and observing what happens when a project starts with scarce resources. The paper demonstrates the former. A project starting from scratch would have to establish annotation practices, decide what a lexical entry should contain and develop tools for proposing or reviewing entries as it went.

The authors also leave larger tag inventories for future work. Their French Treebank configuration retains some verbal and lexical distinctions, but its results concern the 28 tags used there. They suggest investigating how properties within a tag, including gender and number, could be exploited in a richer scheme. A system could benefit from learning that several labels share a property, or it could struggle as the number of possible outputs increases. The experiment does not choose among ways of representing those distinctions.

The manual review identifies clear room for further work on numbers and names, along with genuine uncertainty in some of the development annotations. Both the proposed preprocessing for numbers and the proposed use of dedicated name recognition remain unevaluated in the paper. Likewise, an annotation audit might change which outputs should count as correct, but the reported scores are based on the original evaluation labels. The manual analysis therefore helps explain errors and disagreements without revising the benchmark result.

Finally, the authors characterize their development times as approximate. The annotation rate comes in part from experience reported for an English treebank project. The lexicon rate assumes that candidate lemmas can already be proposed by an automatic procedure, allowing people to spend their time on validation. Those assumptions give a basis for comparing costs within the study. They leave open how much time another annotation team or lexical development process would require.

Limits that follow from the experimental design

The result depends on bringing the treebank and Lefff into a common label inventory. This is an important part of the method, and its difficulty is likely to vary with the resources being paired. A category listed by a dictionary may be broader or narrower than the one chosen by a treebank. An annotation convention may also resolve a familiar ambiguity differently from the lexicon. The feature-based tagger has room to learn to discount some mismatches. The experiment gives no general estimate of how much mismatch it can tolerate or how much labor a different alignment would require.

The benchmark also supplies the token boundaries. Its treatment of compounds affects the objects that the tagger looks up and labels. A system facing unsegmented text would have to decide which form to consult in a lexicon whenever a spelling sequence admits different segmentations. Errors in that earlier decision could change both the features available and the reference units being predicted. The scores in the paper are conditional on the treebank’s tokenization and do not measure performance from raw input through segmentation.

The size experiment uses a specific route through each resource. Prefixes of the treebank follow the order of its sentences. The authors do not compare several independently sampled corpora at each size. Likewise, the early lexicon entries are those prioritized by the procedure using L’Est Républicain. Their order reflects frequency in that journalistic sample and the decisions of the tagger used to process it. Other ordering choices could change which forms are covered at a given nominal size. The measured relationship between resource size and accuracy is consequently most direct for these specific paths through the data.

The lexicon ranking also benefits from infrastructure that would be hard to assume at the start of a genuinely low-resource project. A strong tagger and the larger lexical resource help identify frequent lemma and category groups from raw text. The size experiment asks how well the final tagger performs when retrained with the resulting subsets. It does not demonstrate that a team lacking the full resources would discover the same entries in the same order. The procedure is best read as an approximation of staged development using existing resources.

What counts as an unknown word changes as the annotated corpus grows. That change is appropriate when assessing how a tagger copes with the forms it still has never seen, but it complicates interpretation across training sizes. Some words leave the unknown subset when added sentences contain them. The examples remaining may be harder or simply different in kind. Comparing lexicon sizes at a fixed corpus size keeps the unknown subset fixed. Comparing corpus sizes asks a broader question about performance under a changing training vocabulary.

The design also bundles several mechanisms in the feature variant. To measure how much right-context information alone contributes, one would need a comparison that removes the right-hand features while leaving the rest of the feature-based treatment in place. Similar controlled changes would be needed to quantify the value of whole tag sets separately from individual dictionary tags. The paper offers good evidence for using Lefff through the complete feature design. Its explanations for that design’s advantage do not amount to individual effect estimates.

Finally, the manually inspected errors come from the start of the development error sequence. They give detail about where this tagger can go wrong and how reference uncertainty appears in practice. Their frequencies are not estimates from a sample drawn across the test set. Combined with the uncertainty about annotation and validation costs, this makes the paper more definitive about which tagger scored highest in its comparison than about the accuracy or development time another project should expect.

What came after

The later papers that cite Denis and Sagot span the construction of lexical resources, the development of French tagging and parsing systems, and applications farther downstream. Their topics show where the distinction between a word’s recorded possibilities and its use in context continues to matter. A citation establishes a connection to the earlier paper. The nature of the connection can be described more specifically where the later study’s scope overlaps the tagging method, while implementation details and measured effects require evidence from the later study itself.

The appeal to an external dictionary leads directly to later work describing Lefff as a large-coverage French resource containing morphological and syntactic information. Denis and Sagot use the part of that resource that can be expressed in the treebank’s tag inventory. Work centered on the lexicon addresses the resource behind those features, including information that the tagger’s experiments leave outside the feature set. The link is especially direct because the dictionary is itself one of the two resources whose coverage the earlier study varies. The Lefff, a Freely Available and Large-coverage Morphological and Syntactic Lexicon for French

A later French segmenter-tagger study makes linguistic knowledge part of a conditional random field, a sequence classification framework. Its problem combines segmentation and tagging, whereas MElt receives a token sequence under the treebank’s segmentation conventions. It also puts the question of incorporating linguistic information into a different sequential framework. This is a close continuation of the earlier methodological question because both studies concern the use of linguistic evidence inside a learned tagging procedure. The change in task makes it important to distinguish decisions about where tokens begin and end from decisions about which grammatical tags they receive. Integrating linguistic knowledge in a CRF for French segmentation and tagging

Several citing papers concern dependency parsing, where the system identifies grammatical relations between words. A treebank conversion study prepares French annotated material for that task and presents initial parsing results. A benchmarking study compares statistical dependency parsers for French. For both lines of work, annotation choices determine what the system learns and what counts as a correct output. The tagging paper provides context for a preceding problem in that pipeline, assigning grammatical categories under a stated segmentation and inventory. The parsing studies extend the scope of prediction to relations between tokens. Statistical French Dependency Parsing: Treebank Conversion and First Results, Benchmarking of Statistical Dependency Parsers for French

A study of lemmatization in lexicalized statistical parsing looks at a more specific connection between lexical representation and syntax. The earlier paper uses lemmas to organize the lexicon’s entries and to build the frequency-ranked subsets, while the tagging features consult the grammatical possibilities associated with forms. The later parsing study puts lemmatization at the center of its question about morphologically rich French. A related study takes probabilistic lexical generalization as its subject for French dependency parsing. The affinity lies in using lexical information to share evidence beyond individual observed forms, with the later work examining that issue for the prediction of syntactic relations. Lemmatization and Lexicalized Statistical Parsing of Morphologically-Rich Languages: the Case of French, Probabilistic Lexical Generalization for French Dependency Parsing

Other citing work expands the kinds of French for which annotated material is available. TCOF-POS concerns a freely available part-of-speech-tagged corpus of spoken French. The French Social Media Bank concerns a treebank of noisy user-generated content. These papers take the corpus side of the resource question into settings with different material to annotate. Their scope is relevant to the earlier experimental result because the utility of any dictionary depends on the forms and readings that the target corpus actually contains. Establishing an annotated resource for a different setting also supplies the reference labels necessary to test such coverage directly. TCOF-POS, a freely available POS-tagged corpus of spoken French, The French Social Media Bank

The citing work on linking French lexical resources returns to a practical decision that the tagging experiments depend on. Denis and Sagot map Lefff descriptions to the treebank’s categories so the two resources can supply evidence about the same outputs. Work surveying lexical resource linking puts the correspondence between resources at the center of the discussion. That shift in focus makes explicit a condition of the earlier result. The lexicon can support a supervised tagger once its information has been expressed in a form the tagger can use and its categories can be related to those the corpus annotates. State of the Art: Linking French Lexical Resources

Cite

Cite as Pascal Denis and Benoît Sagot. 2009. Coupling an Annotated Corpus and a Morphosyntactic Lexicon for State-of-the-Art POS Tagging with Less Human Effort. Proceedings of the 23rd Pacific Asia Conference on Language, Information and Computation, Volume 1.

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

@inproceedings{denis2009coupling,
  title = {{Coupling an Annotated Corpus and a Morphosyntactic Lexicon for State-of-the-Art POS Tagging with Less Human Effort}},
  author = {Pascal Denis and Benoît Sagot},
  booktitle = {Proceedings of the 23rd Pacific Asia Conference on Language, Information and Computation, Volume 1},
  year = {2009},
  url = {https://aclanthology.org/Y09-1013/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/denis-2009-coupling-annotated-corpus-morphosyntactic-lexicon/