Optimizing a PoS Tagset for Norwegian Dependency Parsing
Paper · 2017 · Petter Hohle, Lilja Øvrelid and Erik Velldal
Summary
A word’s broad grammatical category can leave out information that matters when working out the structure of a sentence. A noun tag tells a parser that a word is a noun. It can also tell the parser whether the noun is definite, whether it is a name, or whether it marks possession, if the tag inventory makes room for those distinctions. In Norwegian Bokmål, the authors ask which distinctions are worth including. Their measure of success is how well the whole pipeline performs dependency parsing, the task of finding the grammatical head of each word and identifying the relationship between them.
The authors start with the Norwegian Dependency Treebank, which records broad word classes, grammatical features and dependency structures. They incorporate selected features into the labels predicted during part-of-speech tagging. A tagger can then provide the parser with information such as whether a verb is finite in the same pass that identifies it as a verb. The authors compare the original tags with a version that includes all available features, then examine targeted changes for nouns, verbs, adjectives, determiners and pronouns. The optimized inventory contains 39 tags, compared with 19 in the original and 368 in the version that incorporates every feature.
On the held-out Bokmål test data, the optimized inventory raises labeled attachment from 86.64% to 88.55% and unlabeled attachment from 90.07% to 91.41%. Labeled attachment requires the correct grammatical head and the correct relation label. Unlabeled attachment checks the head alone. At the same time, exact tagging accuracy falls from 97.30% to 96.35%. The parser thus makes more correct grammatical decisions even though the tagger gets fewer complete tags right under the more demanding labeling scheme. Both stages work with automatically predicted tags when the pipeline is evaluated.
Most of the development-set gain is already present when the authors change only the noun tags, adding noun type, case and definiteness. Other categories benefit from more selective distinctions, such as degree for adjectives and finiteness for verbs. Including every available feature gives only a small parsing gain on the development data, alongside a larger drop in tagging accuracy. The experiments show why the usefulness of a tag inventory depends on what reads it next. Selected grammatical distinctions can improve parsing while keeping preprocessing to a single tagging stage.
Deep dive: Optimizing a PoS Tagset for Norwegian Dependency Parsing
Selective changes to Norwegian Bokmål part-of-speech tags help a dependency parser assign grammatical relations more accurately. · about 30 minutes to read
The problem and its context
What a part-of-speech tag gives a parser
In a dependency analysis, identifying a word’s category and finding its role are separate decisions. The category says what sort of word the parser is considering. The analysis says which other word it depends on and how. A noun can be a subject or have a different role, and a verb can head one construction while depending on another word in a different construction. A tag provides evidence for such decisions. The choice of what the tag contains affects which kinds of evidence reach the parser in an explicit form.
Morphology helps connect word categories to sentence structure. In the paper’s Norwegian examples, nouns and their modifiers can agree in gender, number and definiteness. Personal pronouns distinguish nominative from accusative. Finite and nonfinite verbs participate in different constructions. These properties convey different kinds of information. Agreement can give clues about which words form a phrase. Case can help distinguish grammatical roles. Finiteness can help characterize the construction in which a verb occurs. A tag inventory assigns the system’s predictions a vocabulary for expressing some of these distinctions.
The practical issue is where that information comes from when the input is ordinary text. A manually annotated corpus can record broad categories and grammatical properties in separate fields. A parser trained with access to those fields has to get comparable input at evaluation time. The paper points out that producing a separate morphological analysis can add a costly stage before parsing. Incorporating some properties into the output of the tagger gives the parser access to them through the tagging stage already in the pipeline. It also means the tagger has a harder classification problem whenever a broad category is divided into distinctions that are difficult to predict.
There is a corresponding issue for evaluation. Exact tagging accuracy rewards choosing the expected label. If the label specifies both a word class and a grammatical property, an error in either makes the tag count as incorrect. Dependency accuracy asks whether the grammatical connection was recovered. A parser might correctly attach a word even when a property in its tag was predicted incorrectly. Conversely, a correctly predicted property can help resolve an attachment that a broad category leaves uncertain. The authors therefore evaluate the tags by themselves and the parses produced from them.
The paper places this question in a field that had devoted substantial effort to improving taggers. It draws on Manning’s argument that examining the linguistic distinctions in the inventory may reveal opportunities that changes to learning algorithms or tagging features have left open. Which distinctions matter depends on the task. The authors mention parsing, named entity recognition and sentiment analysis as tasks that can use part-of-speech information. A distinction that helps locate the head of a word may have a different value in a system identifying names or analyzing sentiment. The article’s experiments select distinctions specifically by how they affect syntactic parsing.
What earlier tagset comparisons established
The studies reviewed in the paper vary in which stage they assess. Megyesi compared taggers on the Stockholm-Umeå Corpus and examined smaller inventories derived from its Swedish tags. The starting inventory contained 139 tags, and the smallest variant, with 26 tags, gave the lowest tagging error rate in the study. The review also notes that adding informative distinctions could reduce error for some taggers. The Swedish experiments reported tagging results without corresponding parsing results for the alternative inventories, leaving open whether the easier labeling task gave a parser the most useful input.
Using the Penn Treebank’s Wall Street Journal section, MacKinlay posed a related question. Starting from the original 45 tags, the study introduced finer distinctions motivated by lexical or syntactic considerations. The experiments found no statistically significant improvement in tagging from these changes. That addresses the effect of finer labels on the tagger’s own predictions. The Norwegian study also asks whether finer labels can earn their place through the parser, even if the tagger’s exact-match score falls.
Other studies did evaluate syntax directly. In the paper’s account of French constituent parsing, Seddah and colleagues found value in augmenting verb tags with mood and finiteness. Constituent parsing describes a sentence through phrases and their groupings, whereas dependency parsing represents grammatical links between words. The authors also discuss shared-task work that examined morphology for both kinds of syntax. As they describe it, the value of particular features varied across languages, and the results depended on whether the features came from reference annotations or automatic predictions. Statistical Parsing of Morphologically Rich Languages and the SPMRL shared task form part of that background.
A German comparison by Maier and colleagues gives an example in which intermediate granularity worked best. The study compared the 12 tags of the Universal Part-of-Speech Tagset, the 54 tags of the original German STTS inventory, and an extended STTS that reached up to 783 tags with morphological information included. TnT gave the most consistent behavior across the taggers and settings that Maier and colleagues tried. Tagging accuracy declined as the labels became more detailed, and the original STTS gave the best constituent parsing performance of the three inventories. The comparison shows why a broad-versus-detailed choice can miss a useful middle ground.
Rehbein and Hirschmann made a narrower change to STTS for German. They refined distinctions involving modifiers, changing two original categories and adding four tags. They also used two tagging passes. The first supplied context from the original inventory to a tagger using the refined inventory. With Mate and automatic tags during both parser training and evaluation, labeled attachment went from 86.94 to 87.13. The authors’ review also reports a small gain for the Berkeley constituent parser. The Norwegian study takes up the idea of syntactically motivated refinements, applies it across a wider range of categories, and makes the refined tag the output of a single pass.
Müller and colleagues explored an automatic way to find refinements. Their training procedure repeatedly proposed splitting tags into subcategories and kept a split when it improved the likelihood criterion sufficiently. The refinements were selected through the tagging procedure, and the system used two tagging layers. As reported in the review, test-set labeled attachment with Mate rose from 90.34 to 90.57 for English and from 87.92 to 88.24 for German. The authors of the Norwegian paper instead begin with features already named and annotated by the treebank, and judge candidates by the parsing results they produce. This makes it possible to track a change such as adding definiteness to nouns through to the evaluation of the resulting dependencies.
Together, these studies motivate several choices in the Norwegian experiments. The inventory needs to be assessed at the stage that will use it. Reference features and predicted features bear on different operating conditions. Fine labels can help, but the relevant selection is among linguistically plausible distinctions in particular categories. The Norwegian treebank gives the authors a way to study those choices while keeping the reference syntax and the general tagging and parsing procedure fixed.
The method, step by step
Start with a corpus that records both kinds of information
A treebank pairs text with a grammatical analysis. The Norwegian Dependency Treebank, or NDT, supplies the starting labels for the tagger and the reference dependency structures for the parser. It contains manually checked material for Bokmål and Nynorsk. The experiments in this paper use its Bokmål portion. The rule-based Oslo-Bergen Tagger supported the original annotation work. Human annotators corrected the grammatical information and added the dependency analysis. This produces a distinction important to the experiments. The manually checked record is the reference for scoring, while the trained tagger supplies the labels the parser actually sees in the main evaluation.
It helps to think of an NDT entry as answering different questions about the same item. One field says that the item is a noun. Other fields might identify it as a common noun, mark definiteness, or give a value for number. The dependency annotation identifies its head and grammatical relation. Changing the first group of fields that reach the tagger leaves the dependency analysis available as a common target. An experiment can therefore change how much morphology is expressed in the predicted word labels and ask whether they make the same reference dependencies easier to recover.
The original inventory has 12 morphosyntactic tags and 7 tags for punctuation and symbols. Many of the grammatical labels cover a wide range of words, as subst does for nouns and verb does for verbs. The separate feature annotations are more detailed. Which features apply depends on the category. Number can be recorded for nouns, for example, and degree is meaningful for adjectives. Noun type can distinguish common nouns from proper nouns. The authors use these category-specific features as the raw material for the refinements.
The syntactic conventions matter because the parser learns the particular dependencies that NDT annotates. The treebank has 29 dependency relations, including ADV for an adverbial, SUBJ for a subject and KOORD for coordination. Under its annotation choices, a preposition takes its complement as a dependent, the first conjunct heads subsequent conjuncts, and a finite auxiliary can head the lexical verb. A noun heads its determiner. When a feature helps in these experiments, it is helping the parser reproduce structures defined by these conventions. That is the sense in which the inventory is optimized for a particular parsing task.
Turn selected properties into tags
The basic operation is to attach feature values to an existing part-of-speech label. In the optimized inventory, adj|komp identifies a comparative adjective and verb|fin identifies a finite verb. subst|appell|be|gen identifies a definite common noun marked as genitive. The vertical bars mark where the pieces of the label meet. TnT learns to predict the complete label. The morphological features that the authors select are already available in the reference annotations used to build its training targets.
Consider the verb example. In one experiment, the input to the parser distinguishes verbs from other categories but makes no finer distinction in the verb label. In another, the treebank’s annotations are used to assign finite and nonfinite labels, and the tagger learns to predict those labels. The parser can use the resulting distinction during training and evaluation. The grammatical reference remains the same. This comparison tests the effect of making finiteness available as part of the automatically supplied representation.
The authors use two endpoints to establish how granularity can affect the pipeline. At one end is the original tag inventory. At the other, every available morphological feature for a token is appended to its original category. The resulting full inventory gives a reference point for what happens when the pipeline is asked to predict all the annotated detail in its tags. Between those endpoints, the authors define candidate inventories in which the added detail is confined to selected distinctions.
For each of the word classes they investigate, they begin by adding the available features individually. The results show which properties look promising when the other categories keep their original labels. The authors then try selected combinations based on the initial results and on linguistic considerations. In the noun experiments, for instance, the common-versus-proper distinction can be tested separately from definiteness and genitive case, then included with them. This procedure narrows the search to changes the authors can interpret and evaluate.
A candidate needs some judgment even before training. The verb finiteness distinction is an example. The authors derive it from tense information and use mood when handling imperatives. This groups distinctions in the reference annotation into the syntactic division they want to test. The tagger is asked to predict whether a verb is finite, a property shared across the verb category, instead of always having to distinguish the particular source values that supply the mapping. The study therefore considers both adding annotated features directly and combining their information into a label that better serves the intended grammatical decision.
Selecting part-of-speech tags for Bokmål dependency parsing
The steps in order.
Predict the parser’s input during training as well as evaluation
The authors use TnT for tagging. The search requires repeated cycles of training and evaluation, so the choice reflects both its speed and its reported accuracy. They use the graph-based Mate dependency parser for the second stage. Earlier work on the same treebank had found Mate to perform best among the parsers it compared, and the authors also cite a comparison in which it performed strongly for English. The method keeps these two tools in place while the definition of their shared tag inventory changes.
For each inventory, TnT trains on the reference tags derived from the training portion of the corpus. It then tags the same training sentences. Mate receives these predicted tags as input, paired with the manually established dependencies as the output to learn. The automatic tags are sometimes called silver-standard because they come from applying a trained tagger. The dependency targets retain their manually checked status. With this arrangement, the parser’s training input can include the kinds of label errors it will have to handle when the tagger processes unseen text.
The alternative the authors discuss is jackknifing. In a jackknifed setup, a portion of the training corpus is held back from tagger training when predictions are made for that portion. Predictions for the parser’s training corpus are thus produced from sentences unseen by the corresponding tagger. The method used here applies the tagger directly to its own training material, so tagging errors there are training errors. The paper cites earlier work that found this approach performed better for parsing in its own setup than tagging the training corpus with a 10-fold procedure. The Norwegian paper’s initial tag-source experiment tests reference versus automatic tags for Mate, while the cited comparison supplies the evidence concerning the alternative fold procedure.
When evaluating the pipeline, the authors use TnT’s predictions on the sentences being evaluated. The held-out test sentences are unseen by the tagger during training. The parser also receives no separate bundle of morphology, so a grammatical feature reaches it through a tag if the relevant tag inventory includes it. This restriction gives the comparison a direct interpretation. Each pipeline must predict the linguistic information it uses, and changing the inventory changes the information that can be expressed by the tagger’s output.
Select by parsing and check the completed inventory
The comparison starts with the original and fully expanded inventories, then proceeds through changes to nouns, verbs, adjectives, determiners and pronouns. The development data are used to assess the candidates and decide which distinctions to combine. The tagger’s score indicates how accurately it can predict each inventory. Parser performance supplies the selection criterion for an inventory intended to improve parsing. For the best category-level changes, the authors also use a randomized comparison of parsing results to test the differences against the original inventory.
The combined inventory keeps the coarse tags and adds specialized labels. Adjectives receive labels for positive, comparative and superlative degree. Determiners can be marked for definiteness. Pronoun labels encode type and, for personal pronouns, case where available. The noun labels distinguish common and proper nouns, represent definiteness among common nouns, and mark genitive where the combinations occur. The verb additions encode finite and nonfinite. These additions bring the total to 39 tags. They express a mixture of inflectional properties and subtypes because the criterion is how the information functions in this pipeline.
The final comparison runs the original and optimized inventories on development data and on the held-out test data. Development scores describe behavior on the data used to guide selection. Test scores show how the chosen inventory performs on a separate part of the Bokmål treebank. In both comparisons, the parser operates with predicted tags. The final run therefore evaluates the output of the tagging and parsing stages together, including whatever tagging difficulty the chosen labels introduce.
Experiments and results
The Bokmål data and the measures
The Bokmål portion of NDT contains 311,000 tokens. Most come from newspapers, with material also drawn from government reports, parliamentary transcripts and blogs. Because the treebank lacked an established split at the time of the experiments, the authors defined training, development and test sections using an 80-10-10 split. They sought to keep stretches of text together and maintain a balance of genres across the sections. The paper makes the split available through its ndt-tools repository. Keeping the sections fixed lets the authors compare inventories on the same grammatical examples.
The simplest tagging baseline is the most-frequent-tag baseline, or MFT. It assigns each word the tag that occurred most often with it in the training data. A word absent from training receives the tag found most often among words that occurred only once. The baseline relies on the word’s identity and the training counts, without using its current sentence context. As the inventory is refined, instances of a word can be distributed across more labels, making a single fixed prediction less reliable. The MFT results help show how much of the task can still be solved by a word-level default.
The TnT accuracy score measures agreement with the full reference tag for each item. A predicted broad class with an incorrect added detail is counted as an incorrect tag. The criteria for the parser are different. The unlabeled attachment score, or UAS, measures the share of evaluated words for which the parser identifies the correct head. The labeled attachment score, or LAS, also requires the grammatical relationship to match. A correct head paired with the wrong relation can count toward UAS while failing the LAS check. The paper calculates tagging accuracy with TnT’s tnt-diff and both attachment measures with the CoNLL evaluation script eval.pl.
These measures distinguish the decisions made at different points in the pipeline. MFT and TnT accuracy judge the same target inventory from different sources of evidence. UAS and LAS judge the resulting syntactic output. The grammatical targets for attachment stay the same when the tag vocabulary changes. An increase in LAS therefore means the pipeline recovered more reference head-and-relation pairs under the same criterion, even though TnT’s own exact-match target was revised.
What changes when the tags are predicted
The initial tag-source comparison uses Mate with reference tags, which the paper calls gold, and TnT predictions, which it calls automatic. With gold tags during both parser training and evaluation, the comparison reports 90.15% LAS and 92.51% UAS. When the parser trains with gold tags and is evaluated with automatic ones, those scores are 85.68% LAS and 88.98% UAS. When automatic tags are used during both training and evaluation, the scores are 87.01% LAS and 90.19% UAS. The last pair also appears as the original-inventory development result in the baseline experiments.
The gold-to-gold condition shows what Mate achieves in the comparison when the category information comes from the reference annotations throughout. An end-to-end pipeline must produce its own categories on the sentences to be parsed. The comparison between the two automatic-at-evaluation conditions shows that the choice of parser training input matters under that requirement. With the same automatic source at evaluation, training Mate on predictions gives higher attachment scores than training it on reference tags. The authors use this result to support supplying predictions at both stages of the main experiments.
This setup also makes the later comparison between tag inventories fairer for the practical use case. For the optimized inventory to help, its added distinctions have to be predictable enough to survive their passage through the tagger. A comparison with gold tags would tell a reader what the parser can do when the correct properties are supplied. Evaluating with automatic tags incorporates both the value of the added detail and the errors involved in obtaining it. The early comparison shows that replacing clean input with predictions can have an appreciable effect even before the labels are made more detailed.
What happens when every feature is included
The original inventory and the maximal inventory give the first development-set comparison. With the original 19 tags, the most-frequent-tag baseline reaches 94.14% accuracy and TnT reaches 97.47%. With all available morphological features folded into 368 labels, the corresponding accuracies are 85.15% and 93.48%. The exact class is harder both for a fixed word-level prediction and for TnT. These are accuracies against the references for each inventory. The full-inventory score requires getting more information right on each label.
On the same development data, the parser reaches 87.01% LAS and 90.19% UAS with the original inventory. Using the full inventory gives 87.15% LAS and 90.39% UAS. The added information produces a small improvement under both attachment measures. Even at this early stage, the ranking of inventories depends on the output being scored. The broad categories are easier to recover as tags, while the complete feature bundles give the parser some helpful evidence despite their greater prediction difficulty.
Original, full and optimized tags on NDT Bokmål development LAS
The selected feature combinations give the highest labeled attachment score.
The numbers
| System or setting | LAS % |
|---|---|
| Original | 87.01 |
| Full | 87.15 |
| Optimized (this paper) | 88.87 |
The optimized 39-tag inventory performs better on development data than either endpoint of that comparison. TnT accuracy is 96.85%, compared with 97.47% for the original inventory and 93.48% for the full one. With the optimized tags, Mate reaches 88.87% LAS and 91.78% UAS, against 87.01% LAS and 90.19% UAS with the original tags. The paper reports a gain of 1.86 percentage points in development LAS. The development MFT accuracy for the optimized inventory is 85.15%, the same reported value as for the full inventory. TnT’s different scores for these two settings show why the fixed word-to-tag baseline and the trained tagger give different views of the difficulty.
The held-out result
Original and optimized tags on held-out NDT Bokmål test LAS
The optimized inventory improves labeled attachment on held-out sentences.
The numbers
| System or setting | LAS % |
|---|---|
| Original | 86.64 |
| Optimized (this paper) | 88.55 |
On the held-out test section, labeled attachment rises from 86.64% with the original inventory to 88.55% with the optimized one. The paper reports this as a gain of 1.91 percentage points. Unlabeled attachment goes from 90.07% to 91.41%. The gains at both levels indicate that the revised input helps with finding heads as well as increasing the score that requires the correct relation. The experiment does not break the change in LAS into attachments whose head improved and attachments whose relation improved while the head remained correct.
The test MFT accuracies are 94.22% for the original tags and 88.08% for the optimized tags. TnT gives 97.30% and 96.35%, respectively. The same broad ordering seen on development data therefore holds on the test section. Exact tagging accuracy is lower under the revised target, and both measures of syntax are higher. The paper describes the parsing improvements for the original-versus-optimized comparison as significant on development and test data.
The held-out evaluation answers a question that the development comparison cannot settle on its own. During feature selection, the authors look at which candidate tags help on development sentences. The final choice could reflect details of those sentences. Evaluating it on a different portion of NDT checks whether the advantage survives that selection process. The test data show that it does for this split and pipeline. The figure compares the two inventories actually reported for that test section. The maximal inventory’s results belong to the earlier development comparison.
What the ablations show
Noun distinctions account for most of the development gain
The category experiments are controlled comparisons in which one word class receives different labels and the other categories keep their original tags. This setup measures the effect of changing the information available about a class throughout the pipeline. It also means that an improvement in the overall attachment score can involve other words whose syntactic links depend on that class. For example, a more informative noun label can bear on where a modifier attaches as well as on the noun’s own dependency. The reported scores concern the complete set of evaluated dependencies.
Nouns show the largest gains of the categories examined. The authors test case, definiteness, gender, number and type separately. Each individual distinction improves the parser scores over the original inventory. Only case improves exact tagging accuracy in the noun experiments. Case yields 97.48% tagging accuracy, compared with 97.47% for the unmodified tags, and raises development LAS from 87.01% to 87.63%. The treebank’s noun case feature singles out the genitive, which marks possession and has different syntactic behavior from other nouns. That gives the parser a reason to use the distinction when assigning dependencies.
Definiteness is the strongest isolated noun feature for LAS, at 88.27%. Type, which includes the common-versus-proper distinction, gives 88.07%. Number yields 87.97%, while gender gives 87.21%. These contrasts qualify the general argument for agreement features. Gender, definiteness and number all participate in agreement, but expressing them individually in the noun tags yields different effects. The ability to represent a distinction, how well TnT predicts it, and how often Mate can use it all bear on its observed value.
The combinations improve on the strongest single-feature setting. Type and case give 88.46% development LAS. Type and definiteness give 88.44%. Adding type, case and definiteness together produces 88.81% LAS and 91.73% UAS, with TnT accuracy of 97.05%. Against the original noun setting, the paper reports gains of 1.80 percentage points in LAS and 1.54 percentage points in UAS. This noun-only change achieves a development result close to the complete optimized inventory’s 88.87% LAS and 91.78% UAS. It is the clearest evidence in the paper for which class contributes most strongly when modified by itself.
The noun result is also informative because the selected features characterize different aspects of a noun. Type classifies the noun, definiteness participates in agreement, and the case feature identifies a particular possessive construction. Their combined score shows that the pipeline can take advantage of their joint representation. The comparison evaluates the entire tag inventory after the change. It does not isolate individual attachment decisions or establish which of those grammatical mechanisms accounts for each corrected link.
Verb finiteness helps more than the original verb features on their own
The verb experiments test distinctions involving mood, tense and voice. The treebank explicitly marks the imperative for mood and the passive for voice, with indicative and active implicit in the corresponding unmarked cases. Imperatives are syntactically distinctive because they lack an overt subject. The mood refinement gives 87.04% development LAS, compared with 87.01% for the original inventory. Tense alone gives 86.97%, and voice alone gives 86.96%. A conspicuous grammatical difference, such as active versus passive, therefore has no guarantee of improving the score when incorporated into predicted labels.
Some combinations fare better. Mood with tense produces 87.12% LAS and 90.31% UAS. The combination of mood, tense and voice gives 86.83% LAS and 90.05% UAS. The results illustrate the cost of asking for several verb properties at once. A combined tag can convey more information if identified correctly, but for this pipeline the broadest tested verb bundle produces a weaker parsing result than the original verb labels.
The strongest verb change comes from grouping the original distinctions by finiteness. The authors use tense and, for imperatives, mood to determine that grouping. It applies across the verb class and distinguishes verbs that occur in different syntactic constructions. The resulting inventory gives 87.30% LAS and 90.43% UAS, with TnT accuracy of 97.35%. The paper reports gains of 0.29 percentage points in LAS and 0.24 percentage points in UAS over the original inventory. The authors relate this to earlier observations on parsing Swedish, where finiteness had also proved helpful.
This is one place where the choice of representation matters independently of adding detail. A parser using a finite tag sees the same categorical distinction across verbs whose underlying tense or mood may differ. A parser given a collection of separate tense and mood combinations encounters those distinctions through separate labels. By testing both possibilities, the authors show that grouping related values can be more effective than exposing each source feature in the most detailed form. The evidence here comes from changing the verb labels and measuring the pipeline response.
Agreement features have different effects across modifiers
For adjectives, the treebank supplies several properties associated with noun agreement and a separate feature for degree. The latter distinguishes positive, comparative and superlative forms. It is the strongest individual change, giving 87.29% development LAS and 90.44% UAS with 97.41% tagging accuracy. Adjective definiteness by itself gives 87.14% LAS, and gender gives 87.10%. Number alone gives 86.99%, against the original 87.01%. The adjective experiments therefore give a different ordering of features from the noun results, where definiteness was strongest by itself.
Definiteness and number together reach 87.27% LAS and 90.44% UAS. Their performance is consistent with the authors’ observation that adjectives agree with their noun and determiner in those properties. The best tested combination matches degree on UAS, while degree alone gives the higher LAS. Adding definiteness to degree gives 87.23% LAS and 90.39% UAS. The authors choose degree for the combined inventory. Within the comparisons they ran, adding the tested agreement information to degree produced no further improvement in attachment.
Determiners provide another comparison between agreement and subtype. Their type feature covers distinctions such as demonstrative, possessive and interrogative. With this refinement, development tagging accuracy increases to 97.61%, from 97.47% with the original inventory. LAS, in contrast, is 87.00%, compared with 87.01% originally. The paper treats the tagging improvement as noteworthy because the additional categories are easier for TnT to use accurately than the expectation about increased granularity would suggest. Under the parsing criterion, the distinction has little apparent value in this setting.
Determiner definiteness gives the strongest parsing result for the class, at 87.30% LAS and 90.42% UAS, with tagging accuracy of 97.49%. Gender gives 87.09% LAS but reduces tagging accuracy to 97.28%. The authors note that Norwegian masculine and feminine determiners share many forms, making this distinction difficult to predict. Number produces 87.04% LAS and 90.18% UAS, which place the two attachment measures on different sides of the original results. These outcomes show that similar linguistic motivations for adding a feature can lead to distinct effects in automatic processing.
The determiner result for definiteness also comes with a coverage qualification. The authors count 121 determiner tokens marked for definiteness in the development material. They remark on the parsing gain given that count and choose to leave further determiner refinements involving definiteness unexplored. The experiment measures the outcome for the parse as a whole. It gives no count of how many links involving those marked determiners changed, so the score cannot be used to assign the gain to particular constructions.
Pronoun case is more helpful when the tag also identifies the subtype
The pronoun experiments distinguish properties such as person, number, type and case. Pronoun type includes personal, reflexive, reciprocal and interrogative categories. For personal pronouns, nominative and accusative are associated with different grammatical roles. The authors also discuss their typical positions in relation to the verb in Norwegian declarative clauses. The combination of subtype and case can make those patterns available in a single label. A parser that sees the broad pronoun class alone has to infer them from its other evidence.
Among the individual pronoun refinements, person yields 87.22% development LAS, number 87.21% and type 87.19%. Case on its own gives 87.08%. Combining type and case yields 87.30% LAS and 90.41% UAS, with TnT accuracy of 97.51%. The authors select this combination for the optimized inventory. The experiment makes a case for encoding a feature together with the subtype for which it has a clear grammatical interpretation.
For pronouns, the paper reports higher tagging accuracy for every tested refinement than for the original inventory. The most detailed tested combination, type with case and number, gives the highest tagging accuracy in that group at 97.52%, while its LAS is 87.11%. The comparison with type and case again shows that the most successful tag inventory under exact-match evaluation can differ from the one that provides the strongest parsing result.
The authors also describe a decline in LAS when number and person are combined, even though each is useful in isolation. The printed LAS entry for that combination conflicts with their discussion and with the ranking of the other pronoun experiments. The prose supports the direction the authors report for the change, while the other, internally consistent rows establish the results for the selected type-and-case setting. The discrepancy makes the size of the number-and-person effect uncertain.
How far the individual comparisons go
For the strongest refinement in each class, the authors use Dan Bikel’s randomized parsing comparator, compare.pl, to compare parser outputs with those for the original tags. All the selected class-level LAS gains reach the reported significance threshold of 0.05. Most of the corresponding UAS comparisons also reach that threshold. The exceptions are verbs with finiteness, with p=0.15 for UAS, and pronouns with type and case, with p=0.06 for UAS. Both settings have higher observed UAS than the original inventory, while their randomized comparisons give weaker evidence for a UAS improvement under the paper’s criterion.
The pattern across classes is more informative than a ranking of features without their categories. Definiteness makes a large contribution for nouns, a smaller contribution for determiners, and a different tradeoff among adjective settings. A feature such as type can help one stage of the pipeline more strongly than the other. A derived distinction such as finiteness can give better attachment scores than the separate verb properties used to construct it. These comparisons point to the value of selecting grammatical information at the level of the class that carries it.
The completed inventory also gives a check on how the individually selected changes work together. Its development result is close to the noun-only result, even though the other chosen refinements improve LAS individually over the original tags. Those individual gains cannot be added to predict the joint gain. They are measured on the same dependencies, and their effects can overlap once the parser sees all the refinements together. The paper compares the chosen bundle with the original inventory. It does not report removing each refinement in turn from the completed bundle, so the experiments establish the effect of each change against the coarse baseline and the effect of the final combination as a whole.
Limitations
Scope set by the authors
The paper reports experiments for Norwegian Bokmål. The treebank also includes Nynorsk, but the experiments described here give no Nynorsk tagging or parsing results. Within Bokmål, the evidence comes from NDT, its annotation conventions and the authors’ split. Earlier studies supply a reason to expect the useful distinctions to vary across languages, especially when the parser receives predicted features. The paper’s result is therefore about the tested Bokmål pipeline, with a method for investigating similar questions elsewhere.
The authors also bound the search by available annotation and linguistic judgment. A property needs to be recorded in the treebank, or derivable from its features as finiteness is, before it can supply a tagging target in this procedure. The authors choose the combinations to test based on how single features perform and whether they expect the combinations to be linguistically sensible. Their decision against exploring further determiner combinations after observing the small number of marked examples is one explicit instance of that boundary. The optimized inventory is the result of this guided search through candidates.
The authors suggest that other tasks could benefit from designing their own tag inventories around downstream performance. They mention sentiment analysis and named entity recognition as possible evaluation tasks. Neither is evaluated in the experiments. A parsing improvement establishes that the chosen distinctions help with recovering dependencies under the reported conditions. Their value for another output would require an assessment using that output.
Limits of the evidence
The experiment keeps TnT and Mate fixed, so the reported gain is inseparable from how those tools learn and use the tags. A different tagger could make different mistakes on the same refined categories. A different parser could find a property less useful, or obtain similar evidence from other input. Even the same pipeline trained against another annotation scheme would face different head and relation decisions. The study gives a controlled result for one pipeline rather than measurements across parser architectures, tagging systems or annotation schemes.
The exact tag accuracies use different targets for the coarse and refined inventories. Some errors under the optimized definition could be cases in which the broad category was right and the added feature was wrong. The paper reports scores for complete tags. It gives no accompanying evaluation that collapses the refined predictions back to coarse categories, or that reports separate accuracy for each added property. The decline in exact tagging accuracy therefore describes success at the revised task. It leaves open how frequently coarse category errors increased, decreased or stayed stable.
The training predictions for Mate come from the same sentences used to train TnT. This can expose the parser to tagging errors, and the initial comparison shows an advantage over gold-tag training when evaluation uses predicted tags. The predictions made on TnT’s own training sentences may still differ in quality or pattern from those on unseen sentences. The held-out test addresses performance on unseen text, but the paper gives no same-corpus comparison of the final inventory using jackknifed training tags. The preference for the simpler tagging procedure is supported by the comparison the authors make and by the earlier work they discuss.
Aggregate scores also leave the mechanisms of improvement open. The authors give linguistic reasons for expecting definiteness, case or finiteness to be useful. The category experiments support the value of particular distinctions, but they do not trace the successful changes to individual relation labels or construction types. A higher noun-only LAS is compatible with better predictions for nouns, their dependents, and other dependencies that the parser revises when given different evidence. The experiments establish the effect of supplying the information more directly than they establish how Mate uses it in each sentence.
Feature selection occurs on development data, with numerous candidates compared against the same baseline. The significance results identify the class-level attachment gains that pass the reported comparison criterion. They do not quantify uncertainty about the order in which close candidates rank across another sample. The held-out comparison is valuable because the completed inventory is tested after that selection process. The test section is still part of the same treebank, so it provides stronger evidence for this Bokmål setting than for new collections or different annotation conventions.
Finally, the pipeline design avoids a separate pass for producing the particular morphological information included in its tags. The experiments test whether this design gives useful predictions for parsing. They give no measured runtime savings from removing a separate analyzer and no direct comparison with a pipeline that predicts a full morphological analysis independently of part of speech. The evidence supports a way of supplying selected, useful distinctions through a single tagger. It leaves the cost and accuracy tradeoffs with other ways of supplying morphology open.
What came after
Joint UD Parsing of Norwegian Bokmål and Nynorsk cites the tagset study and takes up a related Norwegian parsing problem. Its stated scope is joint parsing of Bokmål and Nynorsk in Universal Dependencies. That scope changes two aspects of the question. Hohle and colleagues test how to represent grammatical distinctions in the tags of a Bokmål pipeline, and they evaluate dependencies under NDT’s annotation conventions. The joint parsing work addresses both Norwegian written standards under the dependency framework named in its title. The citation connects those questions, while the adoption of the 39-tag inventory and the effect of individual refinements in the joint setup remain unspecified.
NorNE: Annotating Named Entities for Norwegian cites the study in work on Norwegian named entity annotation. The connection is relevant to a possibility the tagset paper raises explicitly. Named entity recognition is another task that can receive grammatical information from a tagger, and a tag inventory could be evaluated according to how well it serves that task. NorNE concerns which text receives named entity annotations. Its citation establishes a relationship to the earlier work, while any use of the Bokmål refinements or comparison of entity recognition under different part-of-speech inventories remains unspecified.
The two citing works thus touch different parts of the original paper’s scope. Joint parsing raises the question of how grammatical information should be represented when parsing covers both Bokmål and Nynorsk. Named entity annotation provides a distinct downstream target for the paper’s general proposal to judge tags by the job they support. The evidence for the selected noun, verb, adjective, determiner and pronoun tags remains the attachment results from the Bokmål dependency experiments.
Cite
Cite as Petter Hohle, Lilja Øvrelid and Erik Velldal. 2017. Optimizing a PoS Tagset for Norwegian Dependency Parsing. Proceedings of the 21st Nordic Conference on Computational Linguistics.
@inproceedings{hohle2017optimizing,
title = {{Optimizing a PoS Tagset for Norwegian Dependency Parsing}},
author = {Petter Hohle, Lilja Øvrelid and Erik Velldal},
booktitle = {Proceedings of the 21st Nordic Conference on Computational Linguistics},
year = {2017},
url = {https://aclanthology.org/W17-0217/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hohle-2017-optimizing-pos-tagset-norwegian-dependency/