From the constitution of a treebank to the syntactic analysis of the Serbian language
Original (French): De la constitution d'un corpus arboré à l'analyse syntaxique du serbe
Paper · 2018 · Aleksandra Miletic, Cécile Fabre and Dejan Stosic
Summary
In Serbian, moving a word can leave its grammatical role intact. The ending of a name can help identify it as the object of a verb, and a noun and its adjective can agree in case, gender and number even when other words separate them. To make these relationships available for computational and linguistic study, the authors annotated passages from Bašta, pepeo and Testament. The resulting collection contains 101,029 tokens and supplies a literary counterpart to the Serbian newspaper material annotated by Universal Dependencies. When the authors began, the previous experiment that trained a Serbian parser on Serbian text had used 7,000 training tokens, and its training material was unavailable for reuse as far as they knew. Their own corpus is distributed for noncommercial use under its license. It is a manually checked treebank.
Each word is recorded with its grammatical category, relevant features of its inflection and its dictionary form, or lemma. The syntactic annotation identifies the word that governs it and the relationship that connects them. An adjective can therefore be linked to its noun wherever the two occur in the sentence. Finding such links automatically is the task of dependency parsing. The release also includes lexicons and trained tools for assigning grammatical tags, finding dependencies and carrying out lemmatization. One lexicon came from Wiktionary. It covered fewer forms in a Serbian text sample than the separately developed srLex, but the merged inventory covered more than either source by itself.
The authors adapted Fort’s framework for organizing human annotation to a project with limited training data and staff time. They began grammatical tagging with a tool trained on Croatian, prepared Serbian examples for lemmatization from earlier work, and annotated an initial set of syntactic trees by hand. During the campaigns, software proposed tags, lemmas or dependencies and people corrected the proposals. Checked batches could then be used to train the tools for the next round. Agreement studies helped the authors revise the guides before production. During the campaigns, an experienced annotator checked work and the teams discussed recurring problems. A final review applied the latest version of the guides across the corpus.
The paper records faster manual work with automatic suggestions for grammatical tagging and lemmatization. The parser, trained on the completed corpus, scored 87,48 % for labeled attachment and 91,22 % for unlabeled attachment when given manually assigned grammatical tags. Labeled attachment requires both the reference governor and the reference relationship. Unlabeled attachment checks the governor alone. Earlier parsing results offer context because the experiments used different genres, annotation rules and parsing algorithms. The Serbian project demonstrates how a team assembled and used a richly annotated resource under its particular conditions. The authors proposed testing the workflow in another language.
Deep dive: From the constitution of a treebank to the syntactic analysis of the Serbian language
How the authors built a Serbian literary treebank, used automatic suggestions to speed annotation, and tested the resulting dependency parser. · about 35 minutes to read
The problem and its context
Grammatical roles can survive a change in order
In one example, Filip introduces Ana to Alan. The subject Filip is nominative, the direct object Anu is accusative, and the indirect object Alanu is dative. Serbian permits the participants and the verb to occur in several orders while retaining those roles. The subject–verb–object arrangement is canonical, and the paper says that the 5 other arrangements of those three constituents are grammatical. The indirect object can also move. A system assigning roles from position has to accommodate that variation. The forms of the names provide evidence that persists when their positions change.
The example illustrates a division of labor between ordering and inflection. Case can help a reader identify a subject or object even when the words depart from the canonical sequence. The authors call nominative subjects and accusative direct objects prototypical realizations. Their examples explain why case is worth recording without turning those examples into rules for assigning every subject or object in the corpus. A grammatical description still needs to account for the local construction and the other information supplied by a word’s form. This interaction is central to the paper’s treatment of morphology.
Another example makes the importance of that information easier to see. In the sentence where Filip buys a beautiful book, lepu, the form meaning beautiful, occurs near the start. Knjigu, the form for book, comes after Filip. The two forms are feminine, singular and accusative. The combination supports attaching the adjective to the book across the intervening words. In a dependency tree, that analysis can be recorded as a direct link from the adjective to the noun. The positions of the tokens remain as they were in the sentence. The annotation captures a relationship that would be easy to overlook if proximity were the main clue.
Each grammatical distinction needs enough examples
The paper describes a system with 7 cases. Nouns, adjectives and pronouns also have distinctions of number and gender. Adjectives add degrees of comparison, and verbs have an extensive conjugation system of their own. The authors describe a typical nominal paradigm with 14 forms, an adjectival one with 126 and a prototypical verbal paradigm with more than 120. A paradigm is the inventory of ways a word can be inflected. Its slots describe grammatical possibilities, and several slots can be realized by the same spelling.
The authors illustrate the overlap with detetu, which can be the dative or locative singular of dete, meaning child. Likewise, the adjective form lepih can express genitive plural across genders. This sharing of a surface form among grammatical values is called syncretism. For the annotator, it means that spelling can leave several analyses open. For the lexicon designer, it means that recording just one analysis for a spelling would lose information the sentence might require. The corpus resolves the features for a particular occurrence, while a lexicon can represent the possibilities associated with the form.
Rich inflection can thin out the observations a parser learns from. The same lexical item may occur repeatedly while a particular realization of that item occurs rarely. Flexible order adds a separate source of variation. Even many examples of a grammatical relation may be distributed across several arrangements of the words involved. The paper argues that languages with these properties can need larger annotated collections for good coverage and that the detail required to annotate them makes such collections expensive to produce.
The authors respond to the sparse evidence in two ways. Assigning lemmas gives a tool access to a word’s lexical identity across its inflections. Recording detailed grammatical features lets it also use properties such as case and agreement. Those are distinct opportunities to learn from a sentence. Several forms can share evidence at the lemma level while contributing different evidence at the level of inflection. The paper draws on earlier work in Czech and Modern Standard Arabic when motivating the use of lexical and inflectional information for parsing. A Statistical Parser for Czech and Dependency Parsing of Modern Standard Arabic with Lexical and Inflectional Features.
The gap was in reusable syntactic material
Serbian already had work on electronic dictionaries, word recognition, grammatical tagging and lemmatization. At the beginning of the project, the freely distributed resources the authors identify included a corpus suited to grammatical tagging, a web corpus with automatic annotations, a tagger and lemmatizer, and a morphosyntactic lexicon. They judged the automatically labeled web material unsuitable as training data for the statistical tools they intended to build. They also found that several resources cited in the literature were unavailable for free reuse. The gap concerned access to the right kind of examples, particularly sentences whose dependency analyses had been checked. In that practical sense the paper treats Serbian as a low-resource language. An example of the Serbian work already available was Lemmatising Serbian as Category Tagging with Bidirectional Sequence Classification.
The authors identify an earlier effort by Jakovljević and colleagues to train a parser with Serbian examples. Its small training corpus restricted the amount of structure it offered for learning. The authors knew of no release of the training annotations or of the resulting parser. An available corpus would let later researchers inspect what counted as a correct analysis, reuse the examples and ask linguistic questions of the sentences themselves. These uses help explain why the project set out to create and distribute data as well as fit a parser.
Croatian offered a way to begin while Serbian material was scarce. The paper describes the two languages as especially close in phonology, morphology and syntax, with more substantial differences in vocabulary. Croatian also had more freely shared resources for language processing. Previous work had considered how tools developed from Croatian data performed when applied to Serbian. This gave the team software and a basis for trying transfer. Whether a transferred analysis was worth using also depended on which grammatical distinctions the software had learned and what conventions the new corpus required. Lemmatization and Morphosyntactic Tagging of Croatian and Serbian and Parsing Croatian and Serbian by Using Croatian Dependency Treebanks.
The resources available to Serbian researchers changed while the authors were working. The inflectional lexicon srLex appeared, and the Serbian Universal Dependencies treebank was released in autumn 2017. The latter uses newspaper text and conventions intended to apply across languages. The authors could contribute a different genre and pursue a scheme tailored to Serbian, especially in the treatment of dependents of verbs. Those decisions gave the literary corpus a purpose alongside the newly available work. Universal Dependencies for Serbian in Comparison with Croatian and Other Slavic Languages.
Corpus design and parser assessment had distinct purposes
The paper describes dependency syntax as an increasingly established choice for automatic analysis, citing the shared tasks at CoNLL and the development of Universal Dependencies. A dependency tree organizes a sentence by specifying how its words attach to one another. The governing word, also called the head, anchors a relationship, and the dependent fills a role in it. The adjective and book example illustrates why this framework suited the particular phenomena the team wanted to represent. It could preserve the order in which the words occur while recording their grammatical connection explicitly. CoNLL-X Shared Task on Multilingual Dependency Parsing and The CoNLL 2007 Shared Task on Dependency Parsing.
A theoretical representation still leaves many questions about production. A team needs instructions, examples, people trained to use them and ways to resolve differences in judgment. The authors discuss earlier descriptions of annotation by Hovy and Lavid and by Pustejovsky and Stubbs, along with Fort’s division of the work into preparation, precampaign, campaign and finalization. They follow Fort in keeping the development of the corpus distinct from the evaluation of an automatic tool. This lets them ask whether people can apply the guidelines and whether a parser can reproduce the resulting judgments as two separate questions.
The agile approach discussed in the paper processes the corpus in batches and uses review to inform the work on the next batch. In its fuller form, each cycle includes an agreement measurement based on independent decisions by multiple annotators. This is useful for discovering that a guide leaves room for several interpretations. It also requires more manual work. The Serbian project preserved the cycle of production and review while changing how the routine checks were done. Its procedure links two recurring tasks, improving the draft supplied by the software and improving the instructions used to correct it. Both are part of linguistic annotation.
The authors had precedents for letting people edit an automatic first pass. They point to the Penn Treebank for assisted grammatical tagging and to other projects for assisted syntactic annotation. They also discuss work by Skjærholt in which a Danish parser supplied preannotations for Norwegian, illustrating the possibility of starting from a related language. Earlier work by Fort and Sagot identified a cost of preannotation alongside the gains in speed. A mistake made by a tagger can be carried into an annotator’s decisions. The Serbian project’s checks and correction stages address the practical question of how to use a draft while maintaining responsibility for the final analysis. The Penn Treebank.
The method, step by step
Prepare texts that can be studied and distributed
The authors selected material from Danilo Kiš’s Bašta, pepeo and Vidosav Stevanović’s Testament. At selection, the samples contained 55,783 and 45,642 tokens, respectively. The paper lists the original collection at 101,425 tokens. A token here is an occurrence of a unit in the corpus, so a word form appearing in several places contributes separately at each position. The finished release has its own set of counts after the annotation and preparation work.
The literary material came with permissions for noncommercial distribution and with annotations from an earlier project. Both samples already had grammatical tags. Testament also had lemmas. The treebank project could thus start with text whose publication was feasible and with some of the analysis already in place. Those conditions matter when interpreting the work reported for the annotation campaigns. The authors were completing and harmonizing material with different starting points, and they could also use some earlier work to teach the automatic tools.
The overall framework begins by selecting texts and tools, deciding what the annotation should represent, drafting the guides and preparing starting data. A precampaign trains the people who will work with those guides and the annotation interfaces. The campaign itself repeatedly produces and checks batches of annotation. The authors planned the stages in the order shown below because the later tools use information from the earlier ones. In practice, grammatical tagging and lemmatization ran together, and the dependency work took place in a separate campaign.
Preparing, annotating and releasing the Serbian literary treebank
The steps in order.
Specify the information attached to each token
The first layer identifies what kind of word is present and what features its use expresses. A broad category such as noun or adjective is the basis for part-of-speech tagging. The detailed annotation can distinguish subclasses and specify the inflection relevant to the category. An adjective can carry case, number, gender and a degree of comparison. A pronoun can carry person as well as case, number and gender. For verbs the scheme includes distinctions of form, person, number and gender. Different categories call for different features. A preposition can be recorded with its part of speech alone under the scheme.
The team began with distinctions recognized in Serbian grammatical descriptions and asked which were useful for identifying relationships in a sentence. They also asked whether a distinction could be defined by explicit evidence that humans and automatic tools could use. The earlier Serbian tag set cited by the paper had 1,243 tags. The authors devised an inventory of 1,042, leaving out verbal aspect, adjective definiteness and the animate–inanimate distinction. The selection reflects the needs of this project’s surface syntactic analysis. A possible tag in the inventory represents an allowed combination of categories and features. The set observed in any batch depends on what that batch contains.
The second layer gives the lexical identity of the token. For example, resolving a token of detetu to dete identifies the word underlying the inflection. The grammatical annotation can independently specify which case is realized in the sentence. The pair of decisions lets a later analysis see both that an occurrence belongs to the same lexical item as other forms and that it has particular grammatical properties in context. The authors included lemmatization because they expected evidence for individual inflected forms to be dispersed across the collection.
The syntactic layer records a governing word and a labeled relationship. To define those relationships, the authors examined notions from Serbian grammar using criteria from dependency theory and practical work on Spanish annotation. Possible criteria included the categories or lemmas of the governor and dependent, their inflection, whether they agree, and constraints on their linear order. For a verbal dependent, the paper also discusses testing whether it can be replaced by a clitic pronoun, a short form that attaches to neighboring material. The purpose of such tests is to ground a label in something that can be identified or checked in the sentence.
The basic inventory contains 48 syntactic labels, with a separate treatment for ellipsis based on the Prague Dependency Treebank. Ellipsis leaves an understood element unexpressed and can make it difficult to decide where the remaining overt words attach. The annotation preserves familiar distinctions such as subject, object and predicative functions. The authors had greater difficulty giving the distinction between arguments and adjuncts a reliable surface test. Arguments are dependents selected by a governing expression, while adjuncts are optional modifiers in the distinction the authors discuss. Where they leave that distinction open, they use an underspecified dependent label. The head and dependency can thus be recorded without settling those additional roles.
The scheme follows a functional-head principle, under which grammatical function words can serve as heads according to the chosen analysis. Conventions of this sort affect the identity of the governor as well as the name attached to a relation. The authors deliberately developed a Serbian-specific scheme after considering Universal Dependencies. They regarded a conversion to that scheme as a useful additional project. The choice of head conventions would later matter when interpreting comparisons with parsers developed on other corpora.
Check that the guides produce repeatable decisions
The guides explain how to apply the inventories to actual sentences. The authors tested them by asking pairs of annotators to work on the same samples and examining where they agreed. In grammatical tagging, a pair can agree that a word is an adjective yet differ on a feature value. The team therefore measured agreement both for the broad category and for the complete tag. In the dependency study, agreement on an attachment required the same head and relation label.
The measure was Cohen’s kappa. It assesses agreement in relation to the level expected from the annotators’ distributions of choices. A pair using a few labels very often can coincide on those labels often. Taking that tendency into account gives a different measure from simply counting the fraction of matching decisions. The authors note that interpretation of kappa values is debated and describe values above 0,90 as generally regarded as satisfactory. This convention tells a reader how the authors judged the guides, while the individual disagreements offer more concrete information for revision.
A confusion matrix records the combinations of decisions made on the same items. When two labels are frequently substituted for one another, the corresponding cells identify a boundary the authors can inspect. For the grammatical guide, recurrent distinctions involved participles and adjectives formed from verbs, and adverbs and particles. The syntax guide needed more help with different kinds of ellipsis. The authors revised the written instructions in response to those findings. This preparatory study was intended to make the guides usable in production, where repeated independent labeling of each batch would have consumed time the project needed for completing the corpus.
Assemble a lexicon that exposes possible analyses
A morphosyntactic lexicon gives a tool access to forms and analyses that may be absent from a small set of annotated sentences. The paper counts distinct entries using the following record.
⟨inflected form, lemma, detailed morphosyntactic tag⟩
The angle brackets enclose one ordered entry and the commas separate the fields. The inflected form is the spelling that a lookup can match. The lemma identifies the word to which it belongs. The detailed morphosyntactic tag records the grammatical category and features of that possible reading. A spelling associated with several readings can therefore occur in several distinct entries. The count of entries and the count of spellings describe different aspects of the lexicon.
At the start, the freely available Serbian lexicon the authors identified had just 20,000 entries. They expected that coverage to be too limited for their parsing work, so they built Wikimorph-sr from Serbo-Croatian Wiktionary material. The new lexicon contained 1,226,638 inflected forms for 117,445 distinct lemmas, represented by 3,066,214 unique entries. The authors say the work took three weeks. The process made a large inventory available on the timescale of their project and inherited some limitations from the material and the way its paradigms were populated.
In particular, the adjective paradigms supplied comparatives and superlatives even for relational adjectives for which the authors considered those forms overgenerated. Invariable word categories were absent from the extraction, so the authors supplemented it with material from other resources. These observations illustrate the difference between giving a tool more possible readings and determining which readings belong to the language and to an individual sentence. The size of a lexicon describes the material supplied to the tool. Its coverage and the appropriateness of its entries require separate evidence.
When srLex became available, the authors could combine the two lexicons. SrLex originated in the Croatian, Serbian and Bosnian lexical resources of Apertium and had undergone substantial manual expansion. Its distribution terms allowed the team to redistribute the combined material. They named the merged lexicon ParCoLex. It contains 7,180,665 unique entries, with 1,956,094 inflected forms and 157,886 lemmas. The project released ParCoLex and Wikimorph-sr with the treebank.
Give each automatic tool a starting point it can use
The team wanted useful predictions from software that could be trained and rerun without slowing down the campaigns. They chose HunPos to propose morphosyntactic tags and CST to find lemmas. They chose Talismane for syntax, although earlier experiments pointed toward Mate. Mate is graph based. Talismane is transition based, meaning that it constructs a parse through a sequence of decisions. The authors valued the ability to specify which information Talismane could draw on, including tokens, grammatical categories, lemmas and detailed morphology.
One feature of Talismane shaped the role of the lexicon. For detailed morphological information, the parser consulted an external lexicon carrying the possible readings of forms, keeping their ambiguity. As the authors describe the design, this differs from learning with a single disambiguated bundle of features taken from the training annotation for each token. They expected retaining the possible readings to help when working with raw text. The human grammatical tags used in the project and the set of possible analyses available from a lexicon are distinct sources of information. The annotation marks a reading in context, while the lexicon can tell the parser which readings a form admits.
For the tagger, previous Croatian work offered a usable first draft. The authors ran a HunPos configuration trained exclusively on Croatian over Serbian material. Annotators could start with its proposals and change the incorrect or incompatible tags. The authors then used the first validated sample to train HunPos under their own conventions. This training run used 20,000 tokens. The project gained a tool whose output could be understood in the same inventory as the guides, and the Croatian tool had helped produce the examples needed for that training.
CST needed a different start. It draws on grammatical categories, and the Croatian-trained version had learned from data tagged with a scheme different from the project’s own. The authors found that this compromised its results on their material. They turned to a manually lemmatized Serbian text from earlier work and converted it into a training lexicon of about 20,000 entries from 10,000 distinct lemmas. A later training run used ParCoLex. The two runs show how the available lexical material changed between the beginning of the project and the stage at which the team had assembled a much larger inventory.
Syntax posed a difference in both inputs and targets. The Croatian parser expected morphosyntactic tags drawn from another scheme and produced trees under substantially different syntactic rules. Editing output from that parser would potentially have meant changing the governing word, the relation label and the grammatical information relevant to the decision. The authors chose to establish the first examples by hand. They trained Talismane initially with 40,000 tokens annotated manually. This seed allowed the parser to begin proposing analyses of the kind the team actually wanted to validate.
Alternate automatic suggestions and manual correction
In the general procedure, each tool sees corrected inputs from the preceding layer. HunPos starts from the words. The annotator revises its tags before CST uses the categories to propose lemmas. The lemmas then receive their own manual correction. The parser can work from trusted earlier annotation when supplying the dependency draft. The order follows the dependencies among the tasks. A grammatical error caught after tagging need never become an input to the next automatic decision in the annotation workflow.
There is another sequence across batches. At the start, each automatic tool has only the relevant resources prepared for it. It proposes annotations for an unprocessed sample. People correct what it proposed or fill in missing entries, and the validated work becomes available for the next round of training. The authors describe this as bootstrapping. The project acquires new material that can improve a tool by using that same tool to reduce the effort of preparing it. Validation is where the draft becomes an example that can be reused.
The authors recruited student annotators who spoke Serbian, mainly from the University of Belgrade’s Department of Romance Studies. Questionnaires helped them select people for the tasks. Work took place at Toulouse-Jean-Jaurès, and some participants chose to continue remotely in Belgrade. Before the campaigns, they were trained with the project’s guides and annotation interfaces. Tagging and lemmatization went forward in sequence in the first campaign. The authors organized syntax separately in view of the skills of the people recruited for the earlier work. The later stages could still draw on validated information from the earlier ones.
For syntax, Talismane could associate a probability with each proposed dependency. The team retained proposals with a value strictly greater than 0,85. Annotators thus saw a partial tree. They could check existing links and supply the missing ones. An expert had worked with the complete automatic output during preparation and preferred the partial draft because it offered the suggestions believed more reliable. The paper explains the choice as a practical judgment about what was easier to work with.
Review work during production and harmonize it at the end
The authors’ adaptation of agile annotation kept a review period at the end of each manual cycle. During production, an experienced annotator made spot checks. A discussion with the annotators let the team consider which rules were difficult to apply and what kinds of problems occurred in practice. Guides could then be revised. This arrangement used less duplicated labor than computing interannotator agreement from scratch on every batch. The formal agreement studies remained part of developing the guides.
A rule revised halfway through annotation can leave technically similar cases treated differently in earlier and later batches. An experienced annotator therefore reviewed the annotations against the last version of the guides during finalization. This harmonization made the evolving documentation usable as a description of the finished corpus. The authors also prepared documentation and converted the trees for distribution in CoNLL-X.
The released records give the token identifier, the token, its lemma, a broad grammatical tag, a finer grammatical category, morphological features, the identifier of the governor and the dependency relation. The identifiers connect the row for the dependent with the row for its head. The authors randomized sentence order before dividing the corpus into training, development and test data. Their aim was to avoid systematic differences in length associated with sections of the source material. The corpus is distributed under CC BY-NC-SA 3.0. The release also supplies the trained tagging, lemmatization and parsing tools and the documentation for the annotation.
Experiments and results
What the release contains
The completed corpus has 101,029 tokens and 3,861 sentences. The training section has 80,869 tokens in 3,116 sentences, the development section 9,998 tokens in 379 sentences, and the test section 10,162 tokens in 367 sentences. Training supplies examples for learning the analysis. Development is available for setting up and refining an automatic system, and test material is reserved for evaluation. These counts describe the release, while the figures for the initial passages describe the project’s starting selection.
The authors report separate counts for inflected forms and lemmas. The whole corpus has 22,739 distinct inflected forms and 11,251 distinct lemmas. The training section contains 19,598 forms and 10,120 lemmas, development contains 3,959 forms and 2,722 lemmas, and test contains 4,033 forms and 2,802 lemmas. Several occurrences can share a form, and several different forms can share a lemma. These figures describe the vocabulary represented at those two levels.
Average sentence length is 27,16 tokens over the collection. It is 26,95 tokens in training, 27,38 in development and 28,69 in test. The paper also measures the maximum depth of each dependency tree and averages those values over sentences. The average maximum depth is 6,98 for the corpus overall, 6,98 for training, 6,88 for development and 7,11 for test. Length describes how many tokens a sentence contains. Depth describes how far the chain of dependencies can extend from the top of its tree. The authors judge the sections reasonably balanced on these measures and on the representation of parts of speech.
Fine-grained tags were less evenly represented. The full release has 679 distinct detailed tags, with 643 in training, 424 in development and 432 in test. These are counts of attested categories, regardless of how frequently any individual tag occurs. The paper draws attention to their uneven distribution because a system learning to predict detailed tags depends on what combinations occur in its examples. The release also lists 67 attested syntactic labels overall. That corpus count and the earlier inventory of 48 basic labels describe different things, since the design also makes special provision for ellipsis.
How much agreement the guides supported
For the grammatical guide, two pairs of annotators each worked on a sample of 2,000 tokens. The paper gives 11 instantiated labels at the broad category level and 205 instantiated detailed labels for this assessment. The pairs achieved Cohen’s kappa of 0,96 and 0,97 on broad part-of-speech decisions. On the complete tags their respective scores were 0,90 and 0,91. The stricter comparison asks for agreement on several possible distinctions at once. The results show that the broad categories were more consistently recognized than complete combinations of category and features.
For syntax, a pair annotated a sample of 3,000 tokens, with 48 labels instantiated. Their kappa was 0,94 for labeled attachments, counting both head and relation. The authors give the French FrWikiDisc corpus as an example from prior work, where the corresponding chance-adjusted measure was 0,86. Genre, guides and annotators were specific to those projects. The paper also mentions an observed agreement of 95,3 % for the Norwegian syntax resource studied by Skjærholt.
The paper gives observed agreement figures for earlier grammatical annotation projects as well. The Penn Treebank reported 96 % with 36 labels, and NEGRA reported 98,6 % with 54 labels. Observed agreement counts matching judgments. Kappa uses a different scale because it takes expected agreement into account. The authors use these previous figures as context, and they use their own matrices of differing decisions to identify which parts of the guides to refine.
How often each lexicon can supply a form
The lexical coverage evaluation uses the same text sample for Wikimorph-sr, srLex and ParCoLex. It consists of 16,389 tokens representing 6,301 distinct inflected forms. Counting coverage of distinct forms gives each spelling the same influence whether it occurs once or often. Counting coverage of occurrences measures how frequently an item encountered in the running text has an entry. The authors report both because a lexicon can cover common items well while missing many rarer forms.
Coverage of distinct inflected forms in the Serbian text sample
The merged lexicon matches more distinct forms than either source alone.
The numbers
| System or setting | coverage % |
|---|---|
| Wikimorph-sr | 63,3 |
| srLex | 92,8 |
| ParCoLex (this paper) | 95,2 |
For the same sample, Wikimorph-sr covers 73,2 % of all occurrences, srLex covers 93,8 %, and ParCoLex covers 97,8 %. SrLex is the stronger individual inventory by both measures. The union adds coverage despite that large difference between the component resources. The occurrence result shows that some forms contributed by Wikimorph-sr also arise often enough in this sample to affect coverage of the running text. The test records a match at the form level. It leaves the sentence-level choice of lemma and features to the annotation or the tool.
How much manual work the suggestions saved
HunPos trained only on Croatian obtained mean accuracy of 77,95 % as a tagger on the project’s initial Serbian material. The authors cite 85 % mean accuracy from the earlier work under its own conditions. With the Croatian suggestions as their starting material, the annotators processed 24 % more tokens than they did with fully manual annotation. The paper identifies changes to comply with the project’s scheme as particularly time-consuming. Correcting the output meant recognizing ordinary prediction errors while also applying conventions the Croatian training had never been designed to reproduce.
With 20,000 validated training tokens in the project’s scheme, HunPos reached mean morphosyntactic accuracy of 78,82 %. In that setting the authors report a 60 % acceleration over wholly manual tagging and average throughput of 710 tokens/h. The same evaluation thus includes an automatic accuracy result and a measure of the rate at which people finish the annotation. Those measures concern related outcomes. For the manual task, it matters what sort of editing an incorrect suggestion requires. The authors mention a rate of 3000 tokens/h from the Penn Treebank for context and point out the substantial difference in the sizes of the tag inventories.
The first Serbian CST setup reached mean lemmatization accuracy of 86,2 % using the smaller training lexicon built from manually lemmatized text. The corresponding manual work was reported to be 41 % faster than fully manual lemmatization. Training CST with ParCoLex produced overall accuracy of 96,5 %. Under that later setup, the authors give manual throughput of 3,400 tokens/h and report a 242 % acceleration relative to fully manual lemmatization. These measurements refer to project preparation settings. The paper gives the sources for training and the manual baseline but does not identify a named release split for the accuracy figures.
Reported CST lemmatization accuracy in Serbian corpus preparation
The setup trained with ParCoLex has the higher reported lemmatization accuracy.
The numbers
| System or setting | accuracy % |
|---|---|
| CST trained on the initial Serbian lexicon | 86,2 |
| CST trained on ParCoLex (this paper) | 96,5 |
The production campaign figures measure workload as distinct from automatic prediction accuracy. For grammatical tagging, the authors record 30,000 tokens and 60 person-hours in Toulouse, and 30,000 tokens and 50 person-hours in Belgrade. For lemmatization they record 35,000 tokens and 25 person-hours in Toulouse. The syntax campaign accounts for 40,000 tokens and 150 person-hours in Toulouse, with a further 20,000 tokens and 60 person-hours in Belgrade. Since part of the annotation preceded these campaigns, the records describe the assisted work of completing the material. A token could require work at several layers.
How well the parser found heads and relations
Unlabeled attachment score, abbreviated UAS, credits an attachment when the predicted governor matches the reference analysis. Labeled attachment score, abbreviated LAS, requires the reference label as well. For example, if an adjective is connected to the right noun and the type of link is misidentified, the head decision contributes to unlabeled accuracy and the labeled decision is marked wrong. Both measures are useful for a corpus that distinguishes different kinds of grammatical dependency.
The initial Talismane training used 40,000 hand-annotated tokens. This setup reached 76,3 % LAS and 80,6 % UAS in the authors’ initial evaluation. They judged that performance sufficient to use the tool in preparing the syntax campaign. The paper places it alongside previously published Serbian results from parsers using Croatian resources. MST had obtained 73,9 % LAS and 80,6 % UAS. Mate had obtained 75,8 % LAS and 82,4 % UAS in the comparison cited at this stage. The authors cite 87,000 training tokens for those earlier efforts. These scores are useful for understanding why the authors considered a fairly small manual seed a workable start. Parsing Croatian and Serbian by Using Croatian Dependency Treebanks and Universal Dependencies for Croatian (that work for Serbian, too).
Using the completed treebank, Talismane attained 87,48 % LAS and 91,22 % UAS with manual morphosyntactic annotation supplied as input. The authors report that condition explicitly and give no split-specific breakdown for these figures. The earlier Serbian-trained parser by Jakovljević and colleagues, using 7,000 training tokens, had reported 58 % LAS and 66 % UAS in its own evaluation. The paper also discusses its final figures alongside Mate results from prior work. The genre of the data, definitions of syntactic relationships and algorithms vary across the comparisons. The final scores quantify performance under the study’s stated grammatical input and annotation conditions.
What the ablations show
The paper reports no formal parser ablation series and instead examines lexicon coverage, successive preannotation settings, manual workload and the cases on which annotators disagreed.
The smaller lexicon supplied forms that srLex missed
The coverage experiment held the text sample constant and changed the inventory consulted. This makes its comparison particularly direct. If an inflected form was found by ParCoLex and absent from srLex, the Wiktionary-derived inventory supplied complementary material. The higher coverage of the merged resource shows that its increment in entries included spellings that mattered in the sample. An increase in the number of entries could also have come from more analyses of spellings already covered. The form-level result establishes that the union added some matches in actual text.
The distinction between coverage of forms and coverage of occurrences helps characterize those matches. A spelling that occurs many times has the same weight as any other spelling in the distinct-form measure, and it has more influence when each occurrence counts. The combined lexicon led on both measures. This gives the authors evidence that the resources complemented one another across the set of spellings and in processing the sample as running text. Whether any individual lookup returned the appropriate grammatical reading is a separate question.
The two CST runs offer a further comparison of lexical resources in use. A small lexicon drawn from manually lemmatized text was sufficient to start the process and save manual effort. After the team had built ParCoLex, the later CST setting had higher reported accuracy and was associated with faster correction. This comparison tracks a real change in project conditions. A matched training experiment using srLex and Wikimorph-sr independently would be needed to assign the lemmatization improvement to either source. Likewise, the coverage study supplies no estimate of how many additional dependencies Talismane could attach correctly because of the merged lexicon.
The kind of correction matters to taggers and annotators
The HunPos comparison is useful because the shift in human throughput was more pronounced than the shift in the reported automatic accuracies. Annotators singled out the task of converting decisions to the project’s scheme as especially laborious. A transferred tag can reflect a consistent decision by the original tool and still need editing in the new corpus. If a boundary is drawn differently in the two guides, the problem can recur each time the relevant construction appears. The in-scheme training brought the automatic predictions into the vocabulary of decisions the annotators were expected to make.
The runs also changed the training material. The first tool had learned from Croatian text, and the later one learned from Serbian annotations prepared in the project. The comparison establishes that the later configuration was more effective for the work in hand. It cannot isolate the effect of language, the examples selected for training or the annotation scheme. The annotators’ account supplies a reason to take scheme compatibility seriously in interpreting the throughput result.
For lemmatization and parsing, the authors used compatibility to decide whether to pursue the Croatian starting point at all. A lemmatizer using categories needs those categories to provide the signals it has learned. A dependency parser needs usable input categories and must also propose the correct kind of output tree. The different choices across layers show how the authors used earlier tools selectively. The experiment with HunPos gives direct evidence that transfer helped at the beginning of tagging. The syntactic campaign shows that manual examples could start Talismane. It supplies no timed head-to-head comparison between that manual start and editing the output of a Croatian parser.
Disagreement located problems that an overall score could hide
In the agreement study, the move from broad grammatical categories to complete tags increased the number of ways two decisions could differ. This affected the measured agreement, and feedback from annotators pointed to the number of features attached to inflecting categories. The confusion matrices supported a closer examination. For instance, izgubljen, meaning lost, can pose a classification problem at the boundary between a participle and a deverbal adjective. The authors adjusted the guide to handle that boundary more clearly.
The paper also uses jednostavno to illustrate the difficulty with adverbs and particles. It can describe the manner in which someone speaks. In another sentence it can have broader scope over what is being said. The annotation question depends on what the form is doing in the sentence. Looking at which judgments recurring forms elicited gave the authors a way to improve the instructions with concrete cases.
For syntax, the greatest concentration of problems identified in the confusion analysis came from ellipsis. In such a sentence, people can agree about the understood meaning and still choose different overt words for the head and dependent under an annotation scheme. The authors added syntactic tests for those choices. This analysis shows the value of inspecting a category of disagreements even when a global score is satisfactory. The paper reports the guide revisions and the team’s decision to proceed with production. It supplies no separate measurement of how much the revisions improved agreement on ellipsis itself.
The probability filter was a production decision
The team’s trial of full syntactic preannotation led it to retain only suggestions above the stated probability threshold. A complete draft gives an annotator a candidate for every link and requires checking every candidate. A partial draft leaves more links for the annotator to build from scratch. How the two workloads compare depends on the ease of recognizing and repairing the proposed errors. The experienced annotator’s judgment supported the partial draft in these conditions.
The paper explicitly says that this choice was not tested systematically. The scores of the initial parser concern the accuracy of its analyses, while the filter changes which parts of those analyses are shown to a person. The probability threshold and the final campaign workload cannot establish the causal effect of filtering on speed or agreement. They document how the authors put limited automatic accuracy to work in the annotation process.
Limitations
Limits identified by the authors
The authors caution that the published parsing scores come from different experimental conditions. Their own texts are literary, while the Mate comparison uses journalism. Talismane builds trees by transitions, whereas Mate uses a graph-based algorithm. The annotation schemes also differ. A change in head conventions can affect unlabeled attachment itself, and a change in relation definitions can change labeled attachment even when the parser has connected the same words. The authors discuss why they saw no reason to assume their choices gave them an inherent advantage. They regard literary text as potentially more difficult and note the expected suitability of graph-based parsing for languages with rich morphology. They call for direct evaluations to determine what each of the differences contributes.
The authors also point to the uneven distribution of detailed grammatical tags. Balance in sentence length or tree depth cannot establish balance in the examples for fine inflectional distinctions. A tagger may see an uncommon feature combination only rarely during training. The corpus statistics identify this as a concern for learning detailed tags, although the paper’s aggregate inventories cannot show exactly which individual categories will be difficult. The authors identify further work on verbal dependents and ellipsis as well, two areas where the convention for a syntactic decision can have a substantial effect on the resulting tree.
For the lexicon, the authors recognize both overgeneration and gaps in the Wiktionary extraction. An available form can have entries that the authors regard as unjustified, and some grammatical classes had to be added from elsewhere. The lexical coverage trial addresses the presence of spellings. It does not answer how often the lexicon offers the relevant analysis along with irrelevant alternatives. Talismane’s decision to preserve lexical ambiguity makes that distinction consequential for understanding which features may be available to it.
The paper explicitly records the absence of a systematic evaluation of the syntactic probability filter. It also describes the risk of human annotators retaining mistakes from automatic drafts, citing earlier evidence for this in grammatical tagging. The project applied expert review and discussions during production because measuring agreement after every batch would have taken extra staff time. It follows from the authors’ protocol that the formal measurements characterize designated exercises with the guides. The production work has the assurance of a different review process.
Finally, the proposed application to Occitan appears as a way of testing transferability. Serbian had an unusually close source of freely available tools in Croatian, along with reusable earlier annotation and literary material cleared for the intended distribution. The paper demonstrates what the method accomplished under those conditions. Its general claim about resource development is a proposal to apply and test the procedure in other settings.
Limits that follow from the setup
The reported final parsing result uses manual morphosyntactic tags. This matters because the case, number and gender of a word can help determine the link to its head, as in the separated adjective and noun. A complete automatic pipeline starting from raw text would have to assign the earlier annotations before using them to find dependencies. An erroneous tag can remove the evidence for a correct link or favor an incorrect one. The authors’ campaign cascade gives each tool corrected input. Consequently, a score from that setting does not quantify the error propagation that could occur in fully automatic processing.
The study also leaves several questions about the feature design open. The grammatical examples explain why morphology is relevant and the earlier literature motivates carrying both lexical identity and inflection into the annotation. The paper gives no matched parsing results for using broad categories alone, removing lemmas, or changing how the parser obtains its fine morphology. The reported attachments therefore characterize Talismane and the corpus under the conditions described. They cannot attribute a portion of the final result to any one layer or lexical source.
The genre comparison is also limited by the composition of the literary collection. The project extends the range of available Serbian texts by including two literary works. Random sentence ordering before splitting leaves train, development and test data drawn from the same overall selection. That setup gives a reserved set of sentences from the collection. An evaluation that reserves an entire work, another author or a different genre would address generalization beyond that setup. Comparing such material under compatible conventions would also make it easier to distinguish a change in text from a change in what constitutes a correct tree.
The reported labor costs describe a project with annotations already available for some of its text, training examples prepared in several ways and participants selected for particular tasks. There are timed comparisons with wholly manual grammatical tagging and lemmatization. The paper does not offer a corresponding measurement of an entire syntactic campaign without assistance. Estimating the total effect of the workflow would require knowing how much of the work each comparison includes, including preparation of the training seed, changes to the guides and harmonization. The production record shows what the team accomplished with its combination of earlier work, volunteers or recruited staff, software and review.
Agreement measures consistency in using a scheme. Even close agreement can coexist with uncertainty about a specific rare construction or with a deliberate decision to leave a grammatical distinction unresolved. The treatment of arguments and adjuncts illustrates the latter. The authors could make dependency decisions more repeatable by specifying an underspecified label, and those decisions leave some questions that a linguist might wish to ask of a more detailed analysis. The guide studies and the linguistic scope of the scheme therefore supply different evidence about the resource.
What came after
The paper documents two applications of the treebank to Serbian syntax. They had already begun by the time the authors reported the completed resource. One used an earlier version to investigate discontinuous constructions from both a Serbian and a comparative perspective. A dependency tree gives that kind of study an explicit record of which words belong together grammatically, even when other material interrupts their sequence. It also keeps the order of the words available for examining how the discontinuity is realized. The paper describes the scope of that investigation without presenting its detailed findings. Non-projectivity in Serbian.
Miletic used the finished version in her dissertation to study the position and structure of adjectival groups governed by nouns. This application draws on the same annotation as the parser but asks a different question of it. With grammatical links already identified, examples can be examined for where the dependent occurs and how its own words are organized. The example of lepu and knjigu shows the kind of information such a study can use. The tree records the adjective’s relationship to a noun and leaves its placement visible for comparison with other sentences.
The authors proposed adding a layer in Universal Dependencies while retaining the original analysis. The same Serbian literary sentences would then be available under the conventions of both schemes. That would permit work using the broadly shared representation while preserving the study’s more specific treatment of Serbian constructions. The proposal was particularly relevant to the authors’ interest in comparisons involving the existing journalistic resource. As reported in the paper, conversion was a future step.
The authors also planned to try the annotation procedure on Occitan through LINGUATEC. They cited earlier work in which adding Catalan examples helped with Occitan tagging, giving a reason to explore the use of related-language material in that setting. The Serbian experience had already shown that effective reuse could differ from one annotation layer to the next. Applying the workflow to Occitan was intended to test how those choices would work with a different combination of lexical resources, training materials and annotation needs.
Cite
Cite as Aleksandra Miletic, Cécile Fabre and Dejan Stosic. 2018. De la constitution d'un corpus arboré à l'analyse syntaxique du serbe [From the constitution of a treebank to the syntactic analysis of the Serbian language].
@misc{miletic2018de,
title = {{De la constitution d'un corpus arboré à l'analyse syntaxique du serbe [From the constitution of a treebank to the syntactic analysis of the Serbian language]}},
author = {Aleksandra Miletic, Cécile Fabre and Dejan Stosic},
year = {2018},
url = {https://aclanthology.org/2018.tal-3.2/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/miletic-2018-de-la-constitution-d-un/