Elamur Research

Reusable Tagset Conversion Using Tagset Drivers

Paper · 2008 · Daniel Zeman

Interesting ideas

  • I1. Hub-and-spoke conversion: Routing every conversion through one neutral representation turns a quadratic integration problem into a linear one. The same idea suits mapping Ukrainian corpora tags (e.g., to UD features), product codes, or geographic coding schemes.
  • I2. Encoder must be total: Requiring the encoder to output a valid target label for any input, by falling back to the nearest allowed combination, makes conversions robust. This is useful whenever source data are richer or messier than the target schema.
  • I3. Preserving untranslatable detail: Information the universal schema cannot represent can be stored in a side slot so that a decode–encode round trip stays lossless. This helps keep annotation history when normalizing data.
  • I4. Round-trip testing: Decoding and re-encoding the same tagset and checking whether the original tags come back is a cheap sanity check for any schema-mapping tool.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Deep dive: Reusable Tagset Conversion Using Tagset Drivers

How Zeman's tagset drivers and the Interset feature hub replace pairwise tag converters, what the design guarantees, and what came after. · about 15 minutes to read

The problem and its context

Annotated corpora and treebanks attach a morphosyntactic tag to every word. The tag records the part of speech. Depending on the language and the project, it may also record gender, number, case, tense, person, degree and more. Each project designs its own tag inventory, the tagset. Tagsets differ in which categories they encode, in how finely they split them, and in how they write them down. Some use short mnemonic strings. Others use positional codes, where each character slot stands for one category. Two corpora of the same language can be incompatible because different teams built them. Two corpora of different languages are almost always incompatible.

This becomes a practical obstacle once a researcher works with more than one resource. Several situations call for comparable tags:

  • training a tagger or parser on one corpus and applying it to text annotated in another scheme;
  • comparing tagging or parsing quality across languages;
  • merging resources;
  • feeding tags from one project into a tool built around another.

The usual response is a one-off converter written for one pair of schemes. Such a converter tends to sit inside a project's scripts, rarely documented and hard to reuse. The cost also grows badly. Every new tagset potentially needs converters to and from every existing one, so the number of converters grows roughly with the square of the number of tagsets.

The paper places itself among earlier attempts to standardize morphosyntactic description. The author discusses EAGLES, a recommendation for morphosyntactic annotation, and MULTEXT-East, a multilingual specification that gives many languages a shared descriptive framework. These efforts aimed to make new annotation consistent from the start. The paper takes a different angle. It accepts that existing resources use whatever tagsets they use, and it asks how to move between them cheaply and reusably after the fact. The multilingual treebanks of the CoNLL 2006 and 2007 shared tasks on dependency parsing are a central motivating case. They brought many languages together in one data format, but each language kept its native tags, so the tags themselves still did not line up.

The contribution is therefore an engineering architecture for part-of-speech tagging resources and morphological annotation, not a new linguistic theory. It defines one shared representation and a disciplined way to connect each tagset to it.

The method, step by step

The intuition in plain terms

Think of a translation office that handles many languages. It could hire a translator for every pair of languages. Or it could pick one pivot language and hire, for each language, one person who translates into the pivot and back out of it. The second arrangement needs far fewer people. Adding a language means hiring one person rather than one per existing language.

The paper applies this pivot idea to tagsets. The pivot is called Interset. It is a universal inventory of morphosyntactic features, each with a fixed set of possible values. Part of speech is one feature; gender, number, case and tense are others. Each tagset is connected to the pivot by a small program, the tagset driver. A driver can read its own tagset into Interset and write Interset back out as its own tags.

What Interset is

Interset is a feature structure, a collection of attribute–value pairs. The attributes are the categories linguists use to describe inflection and word class across languages. The values are the options within each category, for example the individual cases for the case feature. The design goal is coverage: the inventory should be rich enough to express the distinctions any reasonable tagset makes. When a tagset makes a distinction no other tagset makes, Interset needs a value for it, or the information has to be carried another way (see the side slot below).

Interset is meant to be neutral. It is not the native representation of any one corpus. Each tagset is described relative to it, in the same way the translation office treats its pivot language as a working medium rather than a preference.

The two operations of a driver

Each driver offers two functions.

The decoder takes a tag from the driver's tagset and produces an Interset feature structure describing what the tag means. A tag for a feminine singular noun in the genitive becomes a structure stating that the part of speech is noun, the gender is feminine, the number is singular and the case is genitive. Categories the tagset does not encode stay empty.

The encoder goes the other way. It takes an Interset feature structure and produces a tag in the driver's tagset. If the structure exactly matches something the tagset can express, the encoder writes that tag.

Conversion between two tagsets is the composition of these operations: decode with the source driver, then encode with the target driver. No code is ever written for a specific pair of tagsets.

The notation

The paper presents the procedure in prose and code terms. Written compactly, it is the following composition.

convert(A→B)(t) = encode_B(decode_A(t))

Here t is a tag from tagset A. decode_A is the decoder of A's driver, which maps t to an Interset feature structure. encode_B is the encoder of tagset B's driver, which maps a feature structure to a tag that belongs to B. convert(A→B) is the resulting converter from A to B, assembled from two independent drivers rather than written by hand.

The scaling argument can be written the same way.

pairwise converters ≈ N × (N − 1)      versus      drivers = N

N is the number of tagsets one wants to interconvert. The left side counts one converter for each ordered pair of distinct tagsets. The right side counts one driver per tagset, and composition then yields every pair. The left side grows quadratically and the right side linearly. That difference is the core economic argument of the design.

The hard part: the encoder must always succeed

The real engineering difficulty sits in the encoder. A feature structure decoded from tagset A may describe a combination that tagset B never uses. A may distinguish a category that B ignores. A may mark a value that B lumps together with another. A may also assign a feature to a word class for which B never records that feature. A naive encoder that only looks up exact matches would fail on such input, and the conversion would break.

The paper requires the encoder to be total. Whatever feature structure it receives, it must return a tag that is valid in its own tagset. When the exact combination is not permitted, the encoder falls back to the closest permitted tag. It drops or adjusts features until it reaches a combination the target tagset actually uses. What matters to a user is that the output is always a legal tag of the target scheme. It may be less specific than the input, but it is never an invented string that the target's tools cannot read.

This shifts responsibility to the driver author, who knows the target tagset. That author encodes the knowledge of which tags exist and how to approximate missing ones. Everyone else can treat the driver as a black box that never fails.

Keeping what Interset cannot say

Some tagsets record details that are specific to the project and have no natural place in a universal inventory. To keep a decode–encode round trip on the same tagset lossless, a driver can store such details in a side slot of the feature structure. The slot is a kind of "other" field that only that driver understands. When the same driver later encodes the structure, it reads the slot and restores the original tag exactly. A different target driver simply ignores the slot. The universal part of the representation stays clean, and native round trips still reproduce the original annotation.

How drivers are built and checked

Writing a driver means studying a tagset's documentation and the actual tags in its data, then writing the decoding rules and the encoding rules with their fallbacks. The architecture suggests a natural test. Decode every tag of a tagset, re-encode it with the same driver, and check that the original tag comes back. Failures point to decoding rules that lose information or to encoding rules that resolve ambiguity incorrectly. Converting into a different tagset and inspecting the results shows whether the fallbacks behave sensibly.

The paper describes drivers for several tagsets used in multilingual resources, notably those in the CoNLL shared-task treebanks. It also discusses how the shared representation relates to the standardization schemes mentioned earlier.

Converting a tag from tagset A to tagset B

The steps in order.

Converting a tag from tagset A to tagset BStep 1: Read tag from source tagset A1. Read tag from source tagset AStep 2: Source driver decodes tag to Interset features2. Source driver decodes tag to Interset featuresStep 3: Keep unrepresentable details in driver's side slot3. Keep unrepresentable details in driver's side slotStep 4: Pass feature structure to target driver B4. Pass feature structure to target driver BStep 5: Encoder checks whether combination exists in B5. Encoder checks whether combination exists in BStep 6: Fall back to nearest permitted tag if not6. Fall back to nearest permitted tag if notStep 7: Output a valid tag of tagset B7. Output a valid tag of tagset B

Experiments and results

What was tested

The paper tests the driver architecture in experiments built around multilingual treebank material of the CoNLL shared-task kind, where several languages come with their own native tagsets. The practical question in such settings is whether tags converted through Interset are usable downstream. They need to carry enough information, in a form a target tool expects, to support tasks like parsing or tagging when the original annotation used another scheme. The round-trip property gives a second, simpler criterion: decoding and re-encoding within a single tagset should reproduce the original tags.

Where the material comes from

The tagsets the drivers handle come from treebanks distributed in the two CoNLL shared tasks on dependency parsing, the 2006 and 2007 editions. The driver paper appeared in 2008, directly after them. The timeline matters for reading the paper. The shared tasks had just shown that many languages could be packed into one file format while their tags stayed mutually unintelligible. The drivers are an answer to precisely that leftover gap.

Timeline of the CoNLL shared-task treebanks and the tagset-driver paper (publication year)

The driver paper follows directly on the two shared tasks whose treebanks motivated it.

Timeline of the CoNLL shared-task treebanks and the tagset-driver paper (publication year)CoNLL shared task on dependency parsing: 2006CoNLL shared task on dependency parsing2006CoNLL shared task on dependency parsing: 2007CoNLL shared task on dependency parsing2007Tagset drivers and Interset (this paper): 2008Tagset drivers and Interset (this paper)2008
The numbers
System or settingyear
CoNLL shared task on dependency parsing2006
CoNLL shared task on dependency parsing2007
Tagset drivers and Interset (this paper)2008

What the results support

The paper reports its evaluation in tables that compare configurations differing in which tags a system sees. The qualitative picture is that tags passed through Interset remain usable. The conversion keeps enough morphosyntactic information that downstream processing does not collapse. The architecture also handles the mismatches between real tagsets through its encoder fallbacks instead of failing on them.

This deep dive does not reproduce the individual scores from those tables. Their exact values, and the exact list of tagsets and settings behind each row, should be taken from the published paper itself before they are cited. For that reason the chart above records only the timeline of the resources, not any score. A chart with uncertain scores would mislead more than it would inform. Anyone who wants to compare configurations should read the tables in the original publication and note which treebank each row uses and whether the score refers to tagging or to parsing.

How to read this kind of evaluation

Evaluating a conversion framework is different from evaluating a tagger. There is no single gold standard for "the right conversion", because two tagsets often make genuinely different distinctions. The meaningful evidence comes from three places:

  • Round-trip fidelity shows that drivers are internally consistent.
  • Downstream task performance on converted tags shows that the information survives in a useful form.
  • Coverage, meaning how many tagsets have working drivers, shows that the approach scales in practice and not only on paper.

The paper's case rests on all three. The strongest argument is architectural. Once the drivers exist, conversions between every pair of covered tagsets come for free, which no collection of pairwise scripts can offer.

What the ablations show

The paper has no ablation study in the modern sense, where components of a model are removed one at a time to measure what each contributes. The system is a set of hand-written rule-based drivers, not a trained model, so the usual ablation dimensions do not arise.

The paper does offer analyses of the conversion itself. The round-trip check works as a controlled comparison of a tagset against itself after passing through Interset. Any difference isolates a flaw in a driver, because nothing else changes between input and output. The comparisons between original and converted tags in the downstream experiments play a similar role. They contrast a setting with native tags against settings where tags have travelled through the shared representation, which shows how much the conversion costs in practice.

The discussion of encoder fallbacks is the other analytical thread. By asking what happens when a decoded structure has no exact counterpart in the target, the paper examines the boundary cases where information must be dropped. That is where the design either holds up or leaks. These analyses are qualitative and design-oriented rather than statistical, which suits a paper whose contribution is an architecture for reusable resources.

Limitations

What the author acknowledges

The paper's own design makes one limitation explicit: conversion can lose information. The encoder has to fall back to the nearest permitted tag precisely because exact matches are not always available. Converting from a rich tagset to a poor one necessarily throws distinctions away. The architecture guarantees that the result is valid, not that it is complete.

The side slot for untranslatable detail is also an implicit admission. Some distinctions are too project-specific to belong in a universal inventory, and they survive only when the source and target driver are the same.

The paper also positions Interset alongside schemes like EAGLES and MULTEXT-East rather than claiming to replace them. Its scope is conversion between existing schemes, not a final standard for new annotation.

What a careful reader notices

The following points are observations about the setup, not statements made in the paper.

The quality of every conversion depends on hand-written drivers. A driver encodes one person's reading of a tagset's documentation and data. Errors or arbitrary choices in it propagate silently into every conversion that passes through it. The round-trip test catches internal inconsistencies, but it cannot catch a driver that misreads a tag the same way in both directions.

"Nearest permitted tag" is a heuristic, not a well-defined optimum. Two reasonable driver authors could choose different fallbacks. When several features cannot be kept, deciding which one to drop first is a linguistic judgment, and the framework offers no general principle for it.

A shared feature name does not guarantee shared meaning. Two tagsets may both mark a category such as case or aspect while drawing its boundaries differently, for instance in how they treat participles or adjectival forms. Interset aligns labels. It cannot by itself ensure that the corpora applied those labels to the same phenomena. Mismatches in annotation guidelines lie beyond what tag-level conversion can repair.

Conversion is tag-by-tag and context-free. A source tag that is ambiguous with respect to the target cannot be resolved by looking at the word or the sentence, because the driver sees only the tag. Some target distinctions would need lexical or contextual information that the architecture does not use.

The evaluation is tied to the tagsets and treebanks the paper covers. Claims about how well the approach carries over to languages or tagsets with very different structure, such as heavy agglutination or rich verbal morphology, go beyond what the experiments can show.

Finally, the universal inventory is itself a design decision. Whatever Interset leaves out becomes awkward for every tagset at once, and extending the inventory may require revisiting existing drivers. Linear scaling holds for adding tagsets. It is less clear-cut for changing the hub.

What came after

The problem the paper tackles, incompatible annotation across resources, became a central concern of multilingual NLP in the following years. Several later works cite it while building shared schemes.

A Universal Part-of-Speech Tagset (2012) addresses the same pain point from the part-of-speech side. Treebanks used incompatible and very fine-grained tags, which made cross-lingual comparison and model transfer hard. Its answer is a small shared tag inventory onto which native tags can be mapped. The relationship to the driver idea is close in spirit, since both route heterogeneous tags through a common target. The universal tagset trades richness for simplicity, while Interset tries to keep as many features as possible.

Universal Dependencies v1 (2016) extends harmonization from tags to entire syntactic annotation. It frames the problem much as the tagset-driver paper did: incompatible annotation schemes held back multilingual research on syntax and parsing. It quantifies the issue by noting that for parallel sentences in Swedish, Danish and English, the share of dependencies common to any two languages did not exceed 40%. Harmonized morphological features, the kind of information Interset represents, are a natural ingredient of such a project. The broader framework is covered under Universal Dependencies.

Universal Dependencies v2 (2020) describes how the project grew into an open community effort. Treebanks for many languages follow shared principles, with the aims of easier multilingual parsing and the study of cross-lingual transfer. A companion entry, Universal Dependencies v2: An Evergrowing Multilingual Treebank Collection (2020), stresses uniform rules harmonized across languages and the lexicalist dependency model behind them. Seen from the tagset-driver paper, these works move from converting existing resources after the fact toward annotating new and converted resources under one scheme from the outset. Conversion tools remain necessary, though, because many treebanks enter such collections by converting their older native annotations.

A Language-Independent Feature Schema for Inflectional Morphology (2015) tackles the morphological side directly. Each language and resource used its own labels for inflection, which made comparison and transfer hard. The authors propose a universal feature schema grounded in linguistic typology. This has the same shape as Interset, a universal feature inventory serving as a common language. It is motivated by typological coverage rather than by the inventory of existing corpus tagsets. See also the morphology topic.

Marrying Universal Dependencies and Universal Morphology (2018) meets the problem one level higher. By then there were two cross-lingual schemes for morphosyntactic annotation. UD marks up individual tokens in running treebank text, whereas UniMorph catalogues inflected word forms collected from Wiktionary paradigm tables. The paper works on bringing the two together. It illustrates the original paper's lesson well. Even universal schemes multiply, and once they do, the question of mapping between them returns, now between hubs rather than between individual tagsets.

Taken together, these works trace the path the tagset-driver paper anticipated. Harmonization moved from bespoke scripts to shared inventories, and then to large community schemes. The tension between rich feature sets and simple shared tags, and the remaining need to map between schemes, stayed in view throughout.

 Institutions

 Fields, topics and concepts

Cite

Cite as Daniel Zeman. 2008. Reusable Tagset Conversion Using Tagset Drivers. Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC'08).

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

@inproceedings{zeman2008reusable,
  title = {{Reusable Tagset Conversion Using Tagset Drivers}},
  author = {Daniel Zeman},
  booktitle = {Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC'08)},
  year = {2008},
  doi = {10.63317/59db3mkyeshs},
  url = {https://doi.org/10.63317/59db3mkyeshs}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/zeman-2008-reusable-tagset-conversion-tagset-drivers/