Elamur Research

Slovak Dependency Treebank in Universal Dependencies

Paper · 2017 · Daniel Zeman

Summary

The Slovak National Corpus already contained a large collection of sentences whose grammar had been marked by hand. Researchers could use only a fraction of that work at the time, however, because the full collection was awaiting the resolution of differences between annotators. Daniel Zeman describes how a subset became the first Slovak treebank publicly available for research. The release also addressed a question of compatibility. The original trees followed the conventions of the Prague Dependency Treebank, while a growing multilingual collection used a shared system called Universal Dependencies.

The release gave priority to sentences on which independent annotators agreed in every detail. Before that final selection, the project screened out files and sentences with problems such as incomplete annotation or incompatible word boundaries. In the comparison of the remaining syntactic annotations, the annotators chose the same parent for 87.31% of tokens and agreed on both parent and relation label for 80.34%. The complete-agreement rule produced a public subset of 10,604 sentences and 106,043 tokens. Its sentences averaged 10.0 tokens, compared with 16.7 before sentences with conflicting annotations were removed. The difference matters because the shorter selection can underrepresent constructions common in longer sentences.

The conversion changed both the grammatical information recorded for individual words and the way the words were connected. Many features, such as case and number, could be carried across through a shared inventory. Other decisions required the word, its dictionary form, or its role in the sentence. Some connections had to be rebuilt. In a phrase meaning for business, for instance, the Prague representation places the preposition between the noun and the rest of the sentence. Universal Dependencies attaches the noun to the rest of the sentence and treats the preposition as a dependent of the noun. The paper shows why converting a treebank therefore involves more than renaming its labels.

The converted resource supported early experiments in dependency parsing for Slovak. In the CoNLL 2017 shared task, the strongest Slovak submission came from Stanford. Starting with raw text, it obtained 83.86% content-word labeled attachment, 86.04% labeled attachment and 89.58% unlabeled attachment on the Slovak test data. Those scores show what one competitive system achieved with the released training material under the shared task’s conditions. The paper’s main contribution is the annotated resource behind that evaluation, along with an account of the filtering and conversion choices that determine what the resource can represent.

Deep dive: Slovak Dependency Treebank in Universal Dependencies

How the first public Slovak treebank was selected and converted to Universal Dependencies, and what its initial parsing results show. · about 32 minutes to read

The problem and its context

A large corpus was awaiting a usable release

A dependency tree describes a sentence through connections between words. In a clause with a verb and a subject, for instance, the annotation identifies the word that represents the subject, connects it to its governing word, and labels that connection. A treebank collects sentences with these decisions recorded. Linguists can use it to find and compare constructions across many examples. A parsing system can use it to learn which connections to predict, and researchers can test those predictions against a held-out portion. Both uses depend on what decisions the annotation encodes and which sentences are available to examine.

The Slovak National Corpus, abbreviated SNK in the paper, provided the underlying material. More than 63,000 sentences had received manual annotation of word structure and syntax. The paper’s comparison of Slavic treebanks gives the Slovak source collection as 63,238 sentences and 994K tokens. The source was substantial in the Slavic context the paper describes, alongside Prague’s Czech treebank and the Russian SynTagRus collection. The immediate difficulty was making existing work available in a form that researchers could use.

The material was drawn from several kinds of writing. The source treebank’s reported composition was 78% fiction, 13% scientific text and 9% journalism. It also contained material from sources such as Wikipedia and folk tales, which the paper identifies as easier to distribute. Those percentages describe the source treebank. They give a picture of the material from which the release was selected, while the composition of the selected subset is a separate question.

Most sentences had been assigned to independent annotators working in parallel. A third annotator was meant to settle their differences. At the time of the paper, that final review was unfinished for part of the corpus, so the full treebank was still awaiting its official release. A catalogue entry had existed since 2011, but it offered no download. A researcher could establish that the treebank existed and still have no copy of its sentences, trees or grammatical labels to work with.

This situation created an opportunity for a partial release. Sentences whose annotations already agreed could be set aside from those that still required a decision. That gave the project a way to make a consistent body of material available while leaving the unresolved cases for further work. It also meant that the resulting resource would be shaped by the selection rule. The distinction between the source corpus and the public subset runs through the paper, from the statistics on agreement to the interpretation of parsing results.

Why cross-language compatibility required another step

The SNK syntax used the analytical conventions of the Prague Dependency Treebank. The analytical layer assigns syntactic roles through connections between the words found in the sentence. A language can be annotated successfully in that tradition and still be difficult to compare directly with a treebank that uses other rules. Even where two schemes identify broadly the same phrase, they may choose different words to stand for it in the graph. A program looking for subjects, modifiers or coordinated phrases can then encounter structurally different answers to the same question.

The broader work described in the paper sought annotation conventions usable across languages. Cross-language compatibility involves decisions about the grammatical distinctions to preserve, the names to give them, and which word should govern another. An earlier effort discussed in the paper addressed this problem in the context of multilingual parsing. Universal Dependency Annotation for Multilingual Parsing

Universal Dependencies, or UD, supplied annotation guidelines and distributed treebanks using those guidelines. The distribution was part of the practical value. Researchers could obtain data from several languages in the same collection and work with common conventions for parts of speech, features and syntactic links. At the time Zeman was writing, UD 2.0 covered 70 treebanks and 50 languages. His overview shows that a substantial portion of the Slavic languages was represented, although the available collections differed greatly in size. Universal Dependencies v1

Slovak therefore faced a pair of related problems. One was to establish which annotations were ready for public use. The other was to put them into a form that could be used alongside treebanks for other languages, including closely related ones. The first problem turned on the quality and completeness of the individual records. The second turned on the meaning of the annotation categories and the shape of the trees. Solving each problem called for a different procedure.

Earlier conversion work gave the project something to build on. Interset supplied a common representation for morphosyntactic tags. That representation let the Slovak converter interpret a source tag as a bundle of grammatical properties before writing those properties in UD form. Earlier work on harmonized treebanks had also produced software for transforming Prague-style syntax. The Slovak project could reuse that infrastructure while adding decisions specific to the SNK tagset and to the constructions encountered in its trees. Reusable Tagset Conversion Using Tagset Drivers

The method, step by step

What the source records contain

The conversion starts with a sentence whose words have already been identified and annotated. A token is an individual unit in that annotated sequence. A word’s surface form records how it appears in that particular sentence, and its lemma records the form under which it is grouped with other inflections. A Slovak noun can have different surface forms depending on its grammatical role. Across those forms, a shared lemma lets the treebank represent them as uses of the same lexical item. Word form

A source tag records the word’s grammatical category and other properties that apply to it. The opening character identifies the broad part of speech. Further characters can give information such as gender, number or case, or a verbal property such as aspect or voice. The relevant distinctions depend on what kind of word or form the tag describes. The source tagset also accommodates combinations such as a preposition joined to a pronoun. All of this information belongs to the word-level morphology that the converter reads alongside the syntactic annotation.

The syntactic record says which word governs a token and what relation the token has to that governor. The governing word is frequently called the head or parent, and the word that depends on it is its dependent. A subject annotation therefore involves both a choice of governor and a choice of grammatical relation. A change in either part changes the annotation. When the entire sentence is viewed as a tree, the parent choices determine its shape and the relation labels give the individual branches their grammatical interpretation.

The public treebank was made by selecting from these manually annotated records and then applying a rule-based conversion. The parsing evaluations came afterward. They used the resulting trees as training and evaluation material. Putting those stages in order is important because the criterion for admitting a source sentence was agreement between its human annotations, while success in a parsing experiment was measured by agreement between a system’s predictions and the released reference annotation.

From Slovak National Corpus annotations to public UD data

The steps in order.

From Slovak National Corpus annotations to public UD dataStep 1: Screen files for manual and independent annotation1. Screen files for manual and independent annotationStep 2: Check sentence boundaries, tokens, and annotation fields2. Check sentence boundaries, tokens, and annotation fieldsStep 3: Retain sentences with matching annotations3. Retain sentences with matching annotationsStep 4: Map grammatical tags and features4. Map grammatical tags and featuresStep 5: Rewrite dependency structures and labels5. Rewrite dependency structures and labelsStep 6: Release fixed training, development, and test splits6. Release fixed training, development, and test splits

Screen files before comparing trees

The first checks operated on whole files. A file was excluded if its morphological annotation had been assigned automatically. The project also excluded files with syntax annotated by only one person, since they offered no independent comparison. A further exclusion applied when annotators divided a file into different numbers of sentences. In such a case, the comparison lacked the assumed pairing of sentences between the two versions of that file.

The procedure then examined individual sentences. It dropped sentences when the versions contained different numbers of tokens, and it discarded empty entries and entries consisting of a single token. A sentence was also discarded if any lemma, morphological tag or dependency label was missing. These filters made it possible to compare complete trees over corresponding sequences of words. A missing label, for example, would leave the comparison without an annotation value on one side.

The unit of exclusion depended on where the problem was found. A file-level problem led to loss of the file, whereas a token-level inconsistency could lead to loss of its entire sentence. The project treated these cases through selection. Its account recognizes that many of the affected entries could in principle have been recovered by correcting them. Filtering allowed the work to proceed with fewer demands on human review and made it possible to release a usable portion sooner.

After this first pass there were 40,350 sentences and 671,968 tokens. Each sentence at this stage had separate, complete dependency trees from two annotators. These counts describe the pool after the initial file and sentence checks, before the final selection of identical trees. They are especially important because the paper gives statistics for several stages of the process. The pool used for comparison was already smaller than the entire manually annotated source.

Check the words before checking their relationships

The syntactic annotators were mainly expected to work on dependencies. They had inherited the words, lemmas and tags from an existing SNK annotation, so the lower layers would generally be expected to match. The versions were compared all the same, and the comparison found 747 differences in surface word forms, two in lemmas, and three in morphological tags. These are counts of mismatches by field. A mismatch count alone does not say how many different sentences contained those problems, because a sentence could contain more than one differing item.

The word-form check served a different purpose from the earlier check on the number of tokens. Two versions can have the same number of tokens and still record different words at corresponding positions. Similarly, the versions can record the same surface form and differ in what lexical item or grammatical tag they assign to it. The paper interprets these cases as evidence that the lower annotation layers were occasionally changed during the syntax work. It does not trace every mismatch to an individual edit.

Every sentence affected by these lower-layer differences was dropped. The remaining comparisons could then treat the word sequence and its morphological description as shared. That matters because a numerical pointer to a parent position is meaningful only when the versions agree about the sentence that the positions refer to. It also gives a clearer interpretation to a difference in syntactic labeling when the corresponding words and tags are already aligned.

Select whole sentences by agreement

The syntactic comparison asked both whether the annotators chose the same parent and whether they gave the link the same name. The Prague label is called the analytical function, or afun. Agreement could hold at the parent level even if the annotators gave different grammatical interpretations of the link. Conversely, giving a word the same relation name in the two versions could still leave a structural difference if the chosen parents were different. The paper reports agreement with and without considering those names so that the effects can be distinguished.

Admission to the release was decided for the entire sentence. Every annotation had to agree for a sentence to enter the selected set. A token whose relation label was disputed could therefore exclude a sentence even when the rest of its tree matched. The filtering produced complete sentences usable as reference trees with the project’s chosen level of agreement. It also tied the chance of retaining a sentence to how many individual decisions its annotation required.

The rationale was that independent agreement provided a practical indication of reliability, especially while full adjudication remained unfinished. With the Ľudovít Štúr Institute of Linguistics’ permission, the project made the selected material available through LINDAT/CLARIN in the original Prague-style form. That edition preserved the source representation. The UD conversion could then be understood as a separate operation on the selected material, with its own rules for what to preserve, reinterpret or change.

Read the original tags as grammatical features

The word-level conversion began by interpreting the SNK tags. The Interset Perl library provided a shared set of morphosyntactic categories. Its internal representation is intended to express the content of different tagsets in a common vocabulary, and the feature inventory used by UD is based on that representation. Accordingly, many distinctions in the Slovak source could be transferred directly after the source tag had been decoded.

UD represents a broad part of speech and additional grammatical features in separate fields. Its inventory has 17 universal part-of-speech tags, also written as UPOS. The broad tag indicates a category such as noun, adjective or verb. Features can record further details that apply to a particular token, such as number or case. This separation is central to the conversion. The Slovak source can pack several distinctions into a single tag, while the UD record distributes those distinctions across the category and its associated features. Part-of-speech tagging

An intermediate representation also reveals gaps between inventories. The paper singles out paradigma, the source annotation for inflection class, as having no direct UD equivalent. An inflection class groups words by the patterns according to which their forms change. Recording a word’s case and number can preserve properties of the particular token even when the target scheme has no directly matching field for the class of patterns associated with that word. Compatibility at the feature level is therefore selective.

Some broad categories split predictably as soon as the converter reads beyond the first character of the source tag. A source noun tag, for instance, can map to NOUN or PROPN. The source tag contains the further information needed to distinguish a common noun from a proper noun. Other input types have a similarly interpretable correspondence once a feature is carried over with the category. The paper’s table maps a Slovak participle to ADJ with VerbForm=Part, while a digit receives NUM with NumForm=Digit.

The table also shows cases in which a broad word category is accompanied by a feature giving the reason for a more specific interpretation. A reflexive pronoun is tagged PRON and marked Reflex=Yes. A conditional morpheme goes into AUX with Mood=Cnd. An abbreviation or a foreign citation can carry a corresponding feature even when the broad category is X. These cases illustrate how a relatively small inventory of parts of speech can coexist with a more detailed description of an individual form.

Use the lexical item when the tag leaves a choice open

Some Slovak tags allow several UD categories without containing enough information to choose between them. Those decisions were handled outside Interset using the word or its lemma. One example is a pro-adjective, a pronominal word whose inflection and use resemble an adjective’s. The project listed such items and assigned them the determiner tag DET. It also used PronType to describe the pronominal type of pronouns, determiners and pronominal adverbs. Their broad categories could differ while a shared feature preserved the fact that the items were pronominal.

Numerals provide another example. A cardinal gives a quantity, an ordinal gives a position in an ordering, and a multiplicative can express how frequently something occurs. The paper describes reserving NUM for definite cardinals. Ordinal and multiplicative forms are distinguished using NumType and can be assigned ADJ or ADV. The UD representation thus records both the kind of numeral and the grammatical category appropriate to its behavior. A simple substitution for the original numeral tag would collapse those decisions into a single category.

The source conjunction category also splits. A coordinating conjunction joins comparable units, as the word meaning or does between the alternatives in the paper’s example. A subordinating conjunction introduces a dependent clause, as the word meaning if does earlier in that example. A word list distinguishes the coordinating CCONJ category from the subordinating SCONJ category. Later, when the dependency tree is rewritten, those kinds of words also receive different grammatical relations.

A further change concerns the treatment of verbal negation. SNK treats many verbs with the negative prefix ne- as distinct lexical items for purposes of annotation. Its affirmative obviniť and negative neobviniť therefore have different lemmas, and the negative meaning is absent from the source tag. In UD both forms share the affirmative lemma. The grammatical feature Polarity distinguishes Pos from Neg. This treatment also brings the Slovak annotation into closer alignment with the Czech UD treebanks discussed in the paper.

The prefix can generally be recognized with regular expressions, but the converter has to respect lexical exceptions. Zeman names nechať, nechávať and nenávidieť as affirmative verbs whose spelling starts with the same letters. Automatically treating every initial ne- as a negative marker would give these words the wrong grammatical analysis and could also alter their lemmas. The paper uses this case to show why an otherwise simple form-based rule must take the identity of the verb into account.

Reassign heads and then interpret the relations

Syntactic conversion used the publicly available Treex package, with extensions to an existing configuration for transforming Prague-style trees. The paper gives a correspondence table for the source and target relations and illustrates the structural rules on a full sentence. The table is best read as a guide to possible outcomes. Some source labels identify roles broad enough to split across several UD relations, and some target relations appear only after the converter has changed which words are connected.

A copula is a linking verb in a predication such as is nice. In the Prague tree, the verb je heads the adjective príjemné. In the UD tree, príjemné heads the predicate and je depends on it. The adjective can now represent the predication in its links to other parts of the sentence. In the figure, it is also the sentence’s main head. The link that connects the dependent copula to that adjective is labeled cop.

This example also illustrates why tag conversion and syntactic conversion are only partly independent. A form of byť, meaning to be, may first be treated as a verb. Once the procedure recognizes a copular or auxiliary use, it tags the token AUX instead of VERB. The word’s role in the tree therefore supplies information used by its final part-of-speech annotation. The lexical form identifies the verb, and the syntactic analysis determines how that occurrence functions.

Prepositions require a different change of head. In the Prague representation, a preposition stands between its noun and the element that governs the phrase. With za obchodom, meaning for business in the paper’s example, the preposition is on the route connecting the noun to the verb. In UD the noun represents the phrase in the surrounding tree, and the preposition depends on that noun. The same principle applies to o občana, the phrase glossed as about a citizen. These dependent prepositions take the case relation.

A subordinating conjunction undergoes a similar change in position. In pokiaľ ide, glossed in the paper as if [it] concerns, the Prague analysis puts the conjunction in the path between the embedded predicate and its governor. The UD analysis makes the embedded predicate responsible for the clause’s connection to the surrounding sentence. The conjunction hangs from the embedded predicate with the label mark. The new clause-level link and the new conjunction-level link express different parts of the structure.

Coordination changes which element represents a group. The Prague scheme lets a conjunction or punctuation sign head the coordination. Its children carry labels indicating whether they are members of the group or modifiers shared by the members. The UD tree uses the first coordinated member as the head, with the following member or members attached to it. A coordinating conjunction has its own grammatical role, but it no longer governs the group. The relation used for a following coordinated member is conj.

The change affects what can be recovered from the basic tree. The Prague tree can distinguish a shared modifier from one belonging only to the first member by the way the coordination is annotated. Once the first member heads the group in the UD representation described here, the resulting attachments do not preserve that distinction. Both interpretations can give the modifier the same place in the basic tree. This is a concrete case where converting to shared conventions changes the grammatical distinctions visible in the released data.

Follow the rules through a sentence

The two trees in the paper depict a sentence that begins by saying that the disappearance of borders is pleasant, then continues with a clause concerning a citizen who travels for business or for a holiday. The example puts several rules into contact. It contains a copular predicate, a subordinate conjunction, a clause modifying the word for citizen, and a coordination whose members are both prepositional phrases. Looking at the end of the sentence shows why it matters that the converter handles these structures together.

In the original tree, the conjunction alebo, meaning or, heads the alternatives. Each alternative is introduced by za, and the coordination marking identifies which branches are members of the group. With this arrangement, the Prague label that gives the adverbial role of the phrase meaning for business occurs below the conjunction and preposition in the structure connecting it to cestuje, meaning travels. The practical question is which word, after both transformations, should bear the relation between that group and the governing verb.

In the converted tree, obchodom, the noun for business in the example, represents the first member and bears the connection to cestuje. The other member is attached to it as a conjunct. Each instance of za now belongs to its own noun as a dependent. The relation connecting the first noun to the governing verb is obl, the oblique nominal relation. A reader following the new tree can start at cestuje and find the nominal head of the phrase directly. The conjunction and prepositions have their own attachments within the coordinated structure.

The same logic helps explain the correspondence table. The source Adv covers several kinds of adverbial modification. Its UD realization can be a nominal dependent, an adverb or a clause, with a relation appropriate to the kind of unit involved. Likewise, an Atr in the Prague annotation can correspond to a range of UD modifiers depending on whether the dependent is adjectival, nominal, numerical or clausal. The source label provides evidence about a general function. The target label may also require information about the dependent and the converted structure.

Some entries go further. The table’s indirect correspondences identify cases where a source relation prompts a structural transformation, after which the corresponding UD relation connects a different pair of words. The Prague label for a nominal predicate, Pnom, is one such case. In the copular example, UD’s cop marks the verb as dependent of the adjective, reversing which of those words acts as head. Changing just the label on the original connection would leave the adjective governed by the verb and fail to represent the UD predicate.

The same issue arises with prepositions. The presence of a Prague AuxP reveals a prepositional construction to the conversion procedure. After the structure changes, UD’s case relation holds between the preposition and the noun that it marks. The original connection between the preposition and its external governor has been replaced by a connection from the noun to the appropriate content head. A correspondence can therefore describe what the rules will create without being a direct translation of the source arc.

Fix the dataset splits across releases

The Slovak treebank entered the UD collection with release 1.4 in November 2016. The released data were assigned to training, development and test portions. The training portion supplied annotated examples from which a parser could learn. The development portion supported choices made during system development, while the test portion supplied the reference for final evaluation. Specifying the partition lets results from different systems refer to the same collection of held-out sentences.

UD 2.0, issued in March 2017, brought the Slovak annotation into line with the revised guidelines. The examples in the paper use those revised conventions. The sentence split stayed the same across the two UD editions, while the test material for UD 2.0 was withheld for the CoNLL 2017 shared task and released separately afterwards. The reused split and the change in guidelines are distinct aspects of the release history. The split governs which material a participant can use for training, and the guidelines govern the structure the participant is expected to predict.

Experiments and results

How much material was available

The public collection contained 10,604 sentences and 106,043 tokens. Its training portion contained 8,483 sentences with 80,575 tokens. The development portion contained 1,060 sentences with 12,440 tokens, and the test portion contained 1,061 sentences with 13,028 tokens. These are counts for the official Slovak UD partition. They give the size of the supervised training resource and the size of the held-out sample against which the paper reports the shared-task results.

The project’s source data, intermediate comparison pool and released splits serve different purposes. The source counts indicate how much manual annotation had already been done. The intermediate pool supports a comparison between independent assignments after basic quality checks. The final split defines which sentences can support training and evaluation in experiments using the public data. The presence of additional annotated material in the Slovak National Corpus did not place it in the training portion used for the benchmark.

A second useful description is sentence length. The paper gives 16.7 tokens as the average before sentences with annotation mismatches were removed and 10.0 tokens as the average after the selection of complete matches. The longest completely matching sentence contained 54 tokens. The existence of long examples in the release is compatible with a substantial shift in the overall length distribution. For interpreting the shared-task scores, the mean describes the kind of data selected, while the maximum gives an example of the range the filter could still admit.

Agreement at the level of individual dependencies

The paper’s clearest controlled comparison concerns what counts as a matching dependency. The source annotations under comparison stayed the same. One criterion accepted agreement on the parent position. The stricter criterion also required agreement on the analytical function. Because the stricter criterion includes all the requirements of the parent-only criterion and adds a label check, the comparison identifies disagreements that arise even when the annotators have selected the same governor.

Token-level agreement in the Slovak source treebank by matching criterion

Annotators match more often when agreement requires the same parent alone.

Token-level agreement in the Slovak source treebank by matching criterionSame parent and relation label: 80.34Same parent and relation label80.34Same parent (this paper): 87.31Same parent (this paper)87.31
The numbers
System or settingAgreement %
Same parent and relation label80.34
Same parent (this paper)87.31

Parent agreement was 87.31%, and joint agreement on parent and label was 80.34%. The paper reports that the label alone was disputed on 6.97% of tokens. It describes these cases as 35% of dependency disagreements. Those percentages have different denominators. The former concerns all compared tokens, while the latter concerns the subset with a disagreement over the dependency. The reported values come from comparison of the human source annotations, before the trees were converted to UD.

Agreement per token answers a different question from the percentage of sentences admissible under the release rule. A sentence with nearly every attachment in agreement can be valuable for assessing which relation types cause trouble, yet still be excluded from the public subset. Similarly, the statement that the release has 100% inter-annotator agreement describes the gate applied to the selected sentences. It gives neither the agreement rate of the original treebank as a whole nor a parser’s accuracy on the release.

Parsing Slovak from raw text

Early users of the treebank included the VarDial 2017 shared task on parsing closely related languages. Slovak was included with languages such as Czech, Slovenian and Croatian. Zeman cites that participation as an immediate use of the released data. The paper leaves the individual Slovak scores from that exercise to the shared-task report. VarDial Evaluation Campaign 2017

The paper gives more detail about the CoNLL 2017 shared task. Here a system received raw text and had to infer the sentence boundaries and the units within each sentence. It also had to produce lemmas and grammatical tags and recover the dependency structure. The parser could not consult the reference segmentation, tokenization or morphology when making its predictions. This setup gives the scores a concrete meaning for anyone comparing them to evaluations where some of those preliminary steps are supplied. CoNLL 2017 Shared Task on Multilingual Parsing

UDPipe supplied the baseline. It was available as open-source software, together with pretrained resources for running the pipeline. The paper reports that twenty competing systems surpassed the baseline result, without supplying the baseline’s Slovak attachment scores. The headline figures it gives for Slovak belong to the best-performing team on that language, Stanford. Their difference from the Slovak baseline cannot be read from this account. UDPipe

The Stanford submission achieved 86.04% labeled attachment score, abbreviated LAS, on the Slovak test data. In a labeled attachment evaluation, the predicted governing word and the dependency label have to match the reference. The same submission obtained 89.58% unlabeled attachment score, or UAS. This metric credits the correct choice of governor without requiring the predicted label to match. The team also obtained 83.86% content-word labeled attachment score, or CLAS, which focuses labeled attachment evaluation on the content-bearing part of the sentence’s structure.

Those scores describe different conditions for crediting a prediction. UAS addresses the shape of the attachment, LAS also addresses the grammatical name of the attachment, and CLAS directs attention to content-word relations. The CLAS result should be read on its own terms because it concerns a different part of the analysis. The figures come from the same submission on the same Slovak test data. They are three views of one system’s performance, so treating them as alternative systems competing on a single metric would misrepresent the evaluation.

The paper specifies that Slovak training for these experiments used the official training portion of the UD treebank. The Stanford result shows what a strong participant achieved when asked to construct the analysis from raw text, under that restriction. It does not allocate responsibility for errors among the stages of the pipeline. A missing or incorrect sentence boundary can affect which words are available for attachment, for example, and a different word segmentation can change the units on which predictions are made. The aggregate attachment scores leave such cases combined with errors in grammatical analysis.

Zeman describes the shared task as establishing a new state of the art across 45 languages, including Slovak. For this paper, the most direct result is that Slovak could participate in a common end-to-end evaluation and receive scores from competing systems under shared conditions. The evaluation demonstrates a use of the released corpus. The conversion itself was the preceding work of selecting the sentences, mapping grammatical properties and rewriting their trees.

Searchable annotated text beyond the benchmark

The paper also describes a resource built in connection with the shared task. Large collections from CommonCrawl and Wikipedia were automatically processed using UDPipe. The resulting Slovak parsebank contained over 59 million sentences and 811 million words. Its first 2 million words were indexed for search through SETS at the University of Turku. The scale of that collection concerns the output of automated annotation across a large amount of text.

The hand-annotated substrate and the automatically analyzed corpus support different kinds of inquiry. The official Slovak training, development and test material provides reference trees created through annotation and selection. The parsebank lets users search for predicted instances of constructions in much more text. The shared-task scores give evidence about performance on the manually annotated test set. The paper does not evaluate a sample of the automatically parsed web collection separately or assign that collection the same accuracy.

The manually annotated treebank itself could also be queried through PML-TQ, maintained at Charles University, and through SETS. That made the release usable for finding particular structures as well as for training and evaluation. The downloads Zeman reports provide another indication of access. As of July 19, 2017, the repository recorded 79 unique downloads of the Prague-style release, 2,592 of UD 1.4 and 1985 of UD 2.0. The UD counts cover releases of the wider collection, so they do not identify how many individual downloaders used the Slovak part.

What the ablations show

The paper reports no formal ablation experiments. Its analyses instead compare agreement under different matching criteria, show how sentence length changes when complete agreement is required, and inspect examples of the grammatical and structural changes made by the converter. These comparisons explain properties of the released data and the conversion. They provide no estimate of how much any individual rule improves a downstream parser’s scores.

The relation label has its own sources of disagreement

The parent-only comparison shows that annotators sometimes gave a token the same governor while disagreeing about its function. That matters for subsequent review of the source treebank because an unresolved label need not involve repairing the shape of the tree. An adjudicator in such a case can focus on how to characterize the dependent’s role. Disagreement over the head can have wider consequences, especially when changing a link also changes which phrase or clause a dependent belongs to.

The paper identifies a often confused pair of Prague relations. AuxT is used for a reflexive pronoun belonging to an inherently reflexive verb. AuxR marks a reflexive pronoun used to form a reflexive passive. Under the conversion described in the paper, both belong to the UD family expl, with the subtypes expl:pv and expl:pass respectively. This illustrates a case where agreement at a coarser category level can coexist with a meaningful difference at the subtype level. The paper points to the relatedness of the labels as a reason to investigate these cases during further review.

Another recurring difference is between AuxX and Coord, the labels associated in the paper with a comma and a coordination head. The author raises the possibility that some such cases reflect inconsistent annotation of coordination and might be normalized automatically. That is a hypothesis about the origin of a disagreement, based on the labels involved. Confirming it would require looking at whether the competing analyses encode the same construction and whether a normalization rule preserves its intended structure.

The paper reports 7,564 sentences, containing 95K tokens, with just one point of disagreement. This quantifies a possible intermediate target for extending the release. A reviewer could examine a localized decision while keeping the rest of the sentence’s annotation intact. The count alone gives no result for the time required to settle those cases, how many a procedure would resolve correctly, or what distribution of constructions they would add to the public corpus.

Whole-sentence selection changes which examples survive

The before-and-after sentence lengths show a consequence of requiring complete agreement. Longer sentences offer more opportunities for a mismatch, even if many individual decisions in them are straightforward. A sentence may be rejected because of one disputed label at the end of a tree that otherwise agrees throughout. Selection at the sentence level makes every local ambiguity relevant to whether that sentence is present in the dataset.

The reported shift from 16.7 to 10.0 tokens describes the overall result of that selection. It gives reason to expect that some longer or more involved constructions will be less visible in the release. The comparison does not identify which individual constructions are most affected. For instance, the conversion figures establish that the retained material contains an example with coordination and embedding. They give no comparative count of how frequently either construction appears across the source and released subsets.

This analysis also bears on what a high-agreement benchmark measures. The benchmark offers a consistent reference for its sentences, and that consistency was deliberately selected. Evaluating a parser on it gives a performance estimate for that selected material. The comparison in sentence length is evidence that the selection was consequential, independent of how well the parser performs afterwards. Reading the agreement and benchmark figures together helps locate the conditions under which each was obtained.

The figures expose interactions between conversion rules

The paired trees function as a worked structural comparison. A reader can follow the same words before and after conversion and see where the corresponding head or label changes. The clause involving a citizen who travels supplies an especially revealing case because coordination and prepositional attachment overlap. The target structure needs to identify the first member of the coordination and to choose the noun within that member as the head representing the phrase.

This is evidence that the conversion needs to account for interactions among rules. It is not a comparison between independent versions of the conversion software. The paper does not report results from removing lexical exceptions, leaving Prague heads in place, changing the order of transformations or checking how much each operation affects parsing accuracy. Its demonstrations explain what those operations accomplish in the annotated representation, with the example serving as a concrete check on the intended behavior.

Limitations

Limits identified by the author

The first cost of filtering is loss of document continuity. The surviving sentences may come from a larger text whose neighboring sentences were discarded, and the resulting corpus contains no complete documents. Zeman identifies this as a barrier to discourse-level work. A syntactic construction can still be retrieved within an individual sentence, but a study that depends on the sequence of preceding and following sentences lacks the complete context that would support it.

The second cost is the skew towards short sentences. The author warns that more complicated grammatical structures may be seriously underrepresented as a result. Sentence length is a coarse indicator, and the paper uses it to establish that the filtered and preselection material differ. This is a reason to extend the corpus through further review. A larger release that includes adjudicated sentences could make some constructions easier to study, depending on which sentences were recovered.

The paper also identifies distinctions that the conversion does not directly preserve. Inflection class lacks a matching UD feature. The basic UD treatment of coordination described in the paper also loses the distinction between a modifier shared across the group and one that modifies just its first member. These limitations affect the kinds of question a user can ask of the converted representation. A researcher looking specifically for one of these distinctions would need an annotation that encodes it.

The author treats full resolution of the outstanding disagreements as a task requiring time and human resources. Semi-automatic checking is presented as a possible way to advance it. The near-matching sentences and recurring label confusions give possible starting points, but the paper describes no completed review of that material. Its expectation of a release four times bigger refers to a future scenario in which the remaining material has been incorporated.

Zeman also points out that the SNK has far more tagged material than the benchmark training split. Incorporating that material could improve the tagging stage and, in turn, the parse when the system depends on morphological information. The author notes that some parsers do not require morphology as input. The proposed benefit therefore depends both on what additional data are used and on the architecture of the parser. The reported benchmark supplies no measured gain from that extension.

Limits implied by the setup

Agreement is evidence of consistency between the two source annotations. It gives stronger grounds for releasing a sentence than an unresolved disagreement would provide, while leaving open the possibility that both annotators applied a guideline incorrectly or shared the same difficult interpretation. The selected set’s 100% agreement reflects the construction of the set. Independent review would be necessary to estimate accuracy against a separate standard for those selected source trees.

The move from Prague syntax to UD adds another point at which errors could arise. Agreement was established on the source records. It did not separately establish that every converted structure was the UD analysis a human expert would choose. The rules and illustrated trees give a linguistically motivated account of the transformation. The paper does not report a held-out manual audit of converted trees or a numerical estimate of the converter’s accuracy. A parser’s agreement with the converted test reference measures how well it reproduces that reference, which is a separate question.

The genre proportions reported for the source treebank cannot be assigned to the accepted sentences on the strength of the paper’s figures. The file-level filters could have affected sources differently, and the sentence-level filter could have favored material whose annotations were easier to align. The paper reports the shift in average length, but it supplies no matching genre breakdown for the release. A genre-specific interpretation of the shared-task scores would require such information and results separated by genre.

For the same reason, the CoNLL scores establish performance on a narrowly defined evaluation. They do not establish how the Stanford submission would perform on the excluded material, which includes sentences with unresolved syntax and those rejected earlier for other reasons. A sentence can prove difficult for human annotators because it admits competing analyses, requires more context or exposes an inconsistency in the guidelines. The experiment does not test those explanations or the system’s performance on those sentences.

The strongest Slovak submission also cannot stand in for an estimate of how much UD conversion itself improved parsing. The paper provides no matched benchmark comparing one parser trained and tested under the Prague representation with the same parser trained and tested under UD. Differences between those representations would in any case affect what the evaluation counts as a correct attachment. What the reported experiment establishes is performance under the public UD conventions and the official split. It does not quantify a change in performance caused by adopting those conventions.

Finally, the shared-task results and the production of a large parsebank answer different questions. The benchmark tests predicted annotations on a selected, held-out reference sample. The parsebank demonstrates that the pipeline can produce searchable annotations at much larger scale. Without a separate evaluation of the web data, the test scores do not tell a reader how frequently a construction returned by a parsebank query is correctly identified in that collection.

What came after

The later citation listed for the paper is Massive Choice, Ample Tasks (MaChAmp), a 2021 work on a toolkit for multitask learning in natural language processing. Its citation connects the Slovak resource paper to later work concerned with handling several language-processing tasks in one toolkit. The title and citation establish that connection. They leave the specific role of Slovak open, including whether the toolkit trained on the treebank, evaluated on it or cited it as documentation for a resource.

The distinction matters for following the paper’s influence. Zeman documents actual participation of the Slovak dataset in VarDial and CoNLL and gives the conditions and scores for the latter. For MaChAmp, the documented evidence here is the citation. It shows that the treebank paper remained a point of reference in later work on NLP tooling, while the direct experimental uses established by Zeman’s account remain the shared-task evaluations and the associated work on automatically parsed Slovak text.

Cite

Cite as Daniel Zeman. 2017. Slovak Dependency Treebank in Universal Dependencies. Journal of Linguistics/Jazykovedný casopis.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1515/jazcas-2017-0048

@article{zeman2017slovak,
  title = {{Slovak Dependency Treebank in Universal Dependencies}},
  author = {Daniel Zeman},
  journal = {Journal of Linguistics/Jazykovedný casopis},
  year = {2017},
  doi = {10.1515/jazcas-2017-0048},
  url = {https://doi.org/10.1515/jazcas-2017-0048}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/zeman-2017-slovak-dependency-treebank-universal-dependencies/