Elamur Research

A Universal Dependencies Treebank for Marathi

Paper · 2017 · Vinit Ravishankar

Summary

In Marathi, a noun and a following grammatical marker can be written together even when they need separate places in a sentence’s grammatical analysis. Decisions about those boundaries determine what an automatic parser is expected to find and how its answers are scored. Vinit Ravishankar tackles this problem by building the first open-source Marathi treebank under the standards of Universal Dependencies. A treebank records the grammatical structure of sentences, including which words depend on which others and the nature of each connection. Hindi and Urdu already had releases converted from a different scheme. Ravishankar presents Marathi as the first Indic example known to him whose trees were annotated by hand with UD as the intended standard.

The corpus has 3,506 tokens across 486 sentences, drawn chiefly from Wikisource stories selected for their closeness to contemporary usage. An open-source Apertium analyzer proposed grammatical readings. Ravishankar chose among the alternatives, corrected mistaken readings, and supplied grammatical connections by hand. Most of the annotation used VISL as a working format before conversion to CoNLL-U, the release format. The work moved to the UD-Annotatrix editor around the final quarter of the corpus. The resulting annotations follow UD version 2.0.

The main grammatical decisions concern what a word’s form can tell us about its role. Case suffixes generally remain part of the noun, while joined postpositions can have independent entries. Dative marking can occur on the person experiencing a state or on the direct object of a verb. In the paper’s example about watching birds, putting the birds in the dative points to particular birds while preserving their object function. Ravishankar introduces nsubj:own for the possessor in a specific ownership construction. The paper also explains how the treebank distinguishes kinds of complex predicate and represents passive clauses and detached demonstrative pronouns.

The dependency parsing evaluation uses 10-fold cross-validation. BIST gives the best labelled attachment score on raw text, 54.18. That measure requires both the correct grammatical head and the correct relation. With reference segmentation and part-of-speech tags supplied, UDPipe with fastText word embeddings leads on labelled attachment at 71.94, and MaltParser leads on unlabelled attachment at 80.75. Adding fastText to UDPipe lowers its raw-text labelled score from 51.79 to 48.20. The paper suggests that poorly segmented joined forms may help explain the reversal. The release gives Marathi a parsing benchmark and documents the grammatical analyses behind its scores. For a future release, the author aims to parse 10,000 tokens by hand.

Deep dive: A Universal Dependencies Treebank for Marathi

Ravishankar builds a Universal Dependencies treebank for Marathi, explains its grammatical choices, and tests parsers on raw and annotated text. · about 35 minutes to read

The problem and its context

What a treebank makes comparable

A grammatical analysis needs to answer questions at different scales. It can identify the class of a word, describe the particular form it takes, and specify what it does in a sentence. Consider the noun in the paper’s sentence about someone watching birds. Identifying it as a noun answers the first question. Describing its case answers the second. Recording that the birds are what the speaker watches answers the third. A dependency analysis expresses that last judgment as a connection to the word for watching, with a label for the object relation. A treebank turns judgments of this sort into records that a reader can inspect and a parser can learn to reproduce.

Universal Dependencies provides common conventions for all these layers. Its word categories give annotators a shared vocabulary for part-of-speech tagging. Its features record form-level information, such as case, within morphology. Its labelled connections describe the grammatical structure. The scope of the standard matters here because Marathi poses questions at the boundary between the layers. An ending can carry grammatical information and belong inside a word. Another ending can contribute a unit that takes part in the dependency tree. The scheme has to accommodate both kinds of analysis for forms that can appear similarly joined on the printed line.

Ravishankar gives two reasons for choosing the shared framework. One is practical. Marathi can draw on annotation conventions already developed for a multilingual collection and participate in parsing research organized around those conventions. The other concerns the framework itself. Each added language is an occasion to examine how well the shared categories fit a new set of constructions. The paper places this choice in the context of a growing treebank collection and a shared task that encouraged the development and release of systems for parsing directly from unannotated text. Universal Dependencies v1 · CoNLL 2017 Shared Task

The two interests meet in the benchmark. An automatic system needs a determinate reference for what counts as a word and what counts as a correct connection. UD makes it possible to express those judgments in the same format across languages. Marathi supplies the language-specific evidence that makes the judgments meaningful. A shared label for a subject, for example, becomes useful for comparison once the reader knows how the annotation recognizes subjects bearing different kinds of case marking. A common vocabulary keeps the results legible across treebanks. The annotation account gives that vocabulary its interpretation in Marathi.

Earlier resources and the choice to annotate directly

There was already Indic material in UD. The Hindi and Urdu treebanks described by Ravishankar had been converted from an existing scheme. Such a conversion starts from earlier choices about what the annotation needs to distinguish. A target scheme may ask for distinctions the original trees did not retain, which creates the risk of losing information or leaving analyses underspecified. For the Marathi corpus, UD supplied the target categories at the point when the syntactic decisions were made. The paper’s priority claim is consequently specific to direct manual annotation for UD and qualified by the author’s knowledge of earlier releases.

Ravishankar discusses AnnCorra as an existing grammatical annotation effort for Indian languages, drawing on the Paninian tradition. The prior work he cites described a Marathi treebank under that scheme as being in progress and discussed parsing approaches for Marathi and other languages with limited resources. That work gave the new project a relevant precedent for analyzing Marathi dependencies. The UD project pursued a separate set of conventions intended for a wider range of languages. The paper’s question was how to give Marathi a resource in that particular common system.

Tools for analyzing Marathi grammatical form also existed. The paper mentions earlier part-of-speech taggers and morphological analyzers, with availability and transparency varying across tools. Ravishankar chose a freely available Apertium analyzer and judged its readings adequate as a starting point for tagging. This choice supported a workflow in which a program could expose the possible analyses and the annotator could decide which one fit the context. The eventual treebank therefore depended on usable earlier tooling as well as on the annotator’s analysis.

The descriptive sources had different scopes. Masica’s account supplied the principal foundation for understanding the language alongside other Indic languages. Ravishankar also consulted Dhongade and Wali’s Marathi grammar and notes that it differs from Masica on some points. An older grammar by Navalkar offered a concise additional account. These sources helped locate the grammatical distinctions that might matter. The annotation then had to make those distinctions operational. A discussion of a suffix can leave room for competing descriptions, while a tree release must say whether that suffix stays in the word or receives a position of its own.

Why Marathi puts pressure on the distinctions

The paper situates Marathi primarily in Maharashtra and describes its script as Devanagari with some additions and modifications. It identifies a tendency for subjects to precede objects and for verbs to follow them, alongside considerable freedom in word order. A tree therefore supplies information that a word’s place in the sentence alone cannot settle. For the annotations to be informative, they must represent the relation that holds in the construction even when the order varies.

Nominal forms pose a separate problem. In the account the paper adopts, a noun can first take an oblique form, sometimes with changes that make the relation to the base form hard to recognize. Case marking can follow, and a following postposition may add a further layer. Much of this material can occur together in the spelling. A reader who takes only spaces as evidence of separate words will miss a distinction the treebank needs to make. Conversely, splitting every identifiable piece of grammatical material would divide forms the author wants to describe as inflected words. An annotation policy needs linguistic evidence for where to draw the boundary.

Marathi also varies the marking of arguments with aspect, the grammatical characterization of an event. The paper describes perfective clauses as inducing ergative–absolutive alignment, with nominative–accusative alignment in the imperfective. In a grammatical description, alignment concerns how the marking of participants in clauses with different argument structures fits together. For the treebank, the most immediate consequence is that a shift in the form of a subject can occur while the annotator still needs a subject relation. The case feature and the dependency label have separate jobs.

Some predicates make the split between form and function especially clear. A person who experiences a state can be marked in the dative. Some direct objects also take dative marking. Using that case as the sole rule for assigning a relation would give two quite different participants the same treatment. The paper likewise discusses verbal expressions whose words are easy to recognize individually but whose roles inside the combined predicate need interpretation. A noun and verb can form a light-verb construction, a main verb can take a vector verb, and a passive can contain an auxiliary. The annotation has to distinguish what those accompanying words do, including cases where the inventory of available labels offers only an approximate fit.

The method, step by step

Choosing the text and preparing its readings

The collection began chiefly with stories from Wikisource. Ravishankar selected material whose grammar appeared relatively close to current written or spoken Marathi. Older formal writing can use forms that had largely fallen out of use in the spoken variety used for comparison. The paper’s reference point was urban Marathi in Pune, and some passages still struck the author as a little old-fashioned. This was a selection criterion for an initial release. It gave the annotator a practical basis for deciding which stories to include while leaving Marathi’s regional and social variation outside that single point of reference.

Newspapers would have added a different kind of writing. The attempt to collect them encountered an obstacle before annotation began. The widely circulated Marathi papers the author tried to obtain offered online issues as images or GIFs, so the effort to gather machine-readable text stopped. The author identifies optical character recognition as a possible way to turn images into text for future annotation, subject to licensing. The release reported in the paper is the corpus the author was able to select, prepare, and parse from the available material.

From Marathi source text to UD dependency trees

The steps in order.

From Marathi source text to UD dependency treesStep 1: Select stories resembling contemporary usage1. Select stories resembling contemporary usageStep 2: Generate candidate readings with Apertium2. Generate candidate readings with ApertiumStep 3: Choose readings and correct errors manually3. Choose readings and correct errors manuallyStep 4: Apply the word segmentation policy4. Apply the word segmentation policyStep 5: Assign dependency heads and relations5. Assign dependency heads and relationsStep 6: Convert VISL annotations to CoNLL-U6. Convert VISL annotations to CoNLL-UStep 7: Refine features that require finer UD distinctions7. Refine features that require finer UD distinctions

Apertium provided candidate analyses of the words. A reading can say what grammatical class a form has and assign features to it. A program can find several admissible readings for the same form because the spelling on its own may leave the intended analysis open. The author resolves those ambiguities by using the surrounding sentence. Manual correction also covers cases in which the proposed analysis is wrong. Selection among existing alternatives and correction of the candidates are both part of preparing the word-level reference.

For most of the treebank, Apertium wrote the alternatives in VISL. Ravishankar chose it for the mechanics of the work. An unwanted reading could be removed as a line of text. Once the reading was settled, dependency information could be added at the end of the relevant token line. The format thus gave the annotator a place to work on both the description of an individual form and its relation to the sentence. The program proposed readings at the first level. The author supplied the grammatical connections at the second.

The pipeline used one script to produce CoNLL-U and another to map the part-of-speech and morphological categories to the UD inventory. Changing the file format arranged the analyses for exchange, while mapping the categories gave the annotations the vocabulary expected by the standard. Some UD features required finer distinctions than the analyzer supplied. Ravishankar edited those cases by hand after conversion. This explains how the paper can describe both a direct UD annotation and a conversion step. The syntactic judgments were made for UD, and the scripts dealt with how to represent the work and name the word-level categories.

The working interface changed around the final quarter of the corpus, when Ravishankar adopted UD-Annotatrix. The paper describes that experience favorably. The resource itself follows the same version of the UD guidelines across the workflow. The appendix shows a sentence in VISL and in CoNLL-U, letting the reader trace what the finished representation contains. The key differences visible in the example concern fields for the word, its grammatical properties, and the dependency links.

Choosing which units receive separate entries

Ravishankar’s policy for tokenization begins by keeping case inflection with the noun. A recognizable suffix can carry case without receiving an independent position as a word in the tree. A postposition, a grammatical item placed after the nominal it goes with, can receive a separate position even when spelling joins it to the nominal. The annotation must therefore make a decision about grammatical status before the spelling can be expanded into the words the parser will be scored on.

The author discusses several ways of trying to tell the categories apart. One is to look for a genitive oblique form between a noun and the proposed postposition. The possibility of intervening material supports treating the outer element as a postposition. Another is to examine how freely the element enters other morphological patterns. The paper mentions the ability to produce an attributive adjective, an adjective that can modify a noun. Grammatical diagnostics can give uneven evidence across the elements under consideration, so Ravishankar also appeals to descriptive tradition and to the treatment of related languages in their grammars.

The resulting inventory treats nominative, ergative, dative, and accusative as cases. It also includes oblique, vocative, ablative, locative, instrumental, and comitative, which the paper also calls sociative. The oblique is the case used as a base for postpositions. Each member of the inventory can be handled as a feature of a word under the segmentation policy. The closed inventory gives the annotator a practical decision where the diagnostics alone leave a boundary uncertain.

Genitive marking gets a separate treatment. Ravishankar splits it from its host, citing consistency with Hindi and a preference to avoid the elaborate possessive feature notation that would accompany a joined analysis. A description of an expression as genitive-marked can consequently coexist with an analysis in which the nominal is technically oblique and the marker is separately represented. This becomes important in the paper’s account of object cases. The description of the whole expression and the feature attached to the nominal’s own record refer to different units.

The appendix shows what is gained by preserving both a surface unit and its expanded analysis. Its sentence concerns a speaker who says they will keep their land. The written possessive is recorded as a joined form, with a pronoun and a genitive marker on separate component lines. The pronoun modifies the word for land through nmod:poss, the subtype for a possessive nominal modifier. The genitive marker depends on the pronoun through the UD case-marking relation. The word for land is the selling predicate’s object, and the selling predicate is the root of the sentence. The negative verb is recorded as an auxiliary of the selling predicate.

The individual lines also keep the form that occurs in the sentence distinct from its base form, or lemma. The form and the features can specify how the word appears in this context. The lemma provides a way to identify it across forms. The head and dependency relation then tell a reader where the word fits. In the appendix, assigning the possessive a surface entry and separate component records lets the representation preserve the original spelling and give each grammatical piece an explicit analysis.

This is what the evaluation means by a multiword token. A token in the text can stand for a sequence of syntactic words in the reference analysis. When the representation expands the possessive, the resulting components can have different heads or relations. A tokenizer has to recognize the expansion as well as detect the boundary between that written form and the next one. The choices made for case suffixes and postpositions thus affect the input on which every subsequent stage relies.

Identifying subjects when case varies

In ordinary clauses, the annotation follows the participant function recognized by the author across the changes of marking associated with split ergativity. A nominative subject can be unmarked in the imperfective. An ergative subject can carry the ending -ne. The dependency connects the subject to its predicate in either case, and the word’s features register the marking. That separation lets searches and scores track the function of a nominal subject across changes in the word’s grammatical form.

Experiencer clauses require a further judgment. An experiencer is the participant undergoing a state, as with the woman who was unable to sleep during the night in the paper’s example. In Marathi, the pronoun denoting that participant can be dative. Ravishankar treats it as the subject and motivates the decision by appealing to tests of subjecthood. One is adjunct subject control. An adjunct is an added expression that qualifies the clause. The test asks whether the candidate can determine who is understood as the subject of such an expression when that subject is left unspoken. The paper says Marathi dative experiencers can display the relevant behavior.

Agreement, in which a verb’s form reflects grammatical properties of another element, gives weaker grounds for the same analysis. The paper explicitly reports that dative subjects fail a verbal agreement test. It separately draws attention to the negative element in the sleeping example, analyzing it as a verb with agreement behavior and using aux to connect it to the predicate. These observations concern different pieces of evidence in the construction. The argument for dative subjecthood rests on the diagnostics that the dative participant does satisfy, and the annotation leaves the disagreement among tests visible in the accompanying discussion.

A clause expressing ownership receives a more specialized subject label. In the construction Ravishankar singles out, the owner takes an oblique form with the postposition -kaḍe. The paper compares this way of expressing ownership with the use of locative marking in Turkish and adessive marking in Finnish. The treebank marks the owner’s dependency as nsubj:own. The word that expresses existence keeps the ordinary copula relation. Its use here falls within the ordinary existential pattern in the author’s analysis, so the distinguishing information is attached to the owner’s relation.

That analysis concerns ownership predicated in a clause. The appendix’s possessive concerns a phrase identifying whose land is involved. Those uses give the treebank separate places to express different grammatical configurations of possession. Ravishankar also mentions nmod:own as a possible future replacement for the ownership subject subtype. The possible change would revise how the owner is connected in the dependency tree. The observation that the owner appears in oblique form with a postposition would still describe the construction that motivates the analysis.

Identifying direct and indirect objects

The objects discussed in the paper illustrate how flexible the mapping from case to dependency can be. A direct object can be accusative or dative and can also be sociative. The paper discusses genitive-marked objects as well, with the qualification that the nominal receives oblique analysis when its genitive marker is split off. These descriptions bring together observations about the forms and decisions about the dependence of the argument on the verb.

The pair of sentences about a speaker watching birds provides the cleanest contrast. In one, the word for birds is described as accusative with no overt suffix. The statement can be understood as watching birds in general. The dative-marked version points to a more definite group of birds. The watching verb has the same argument structure in both sentences. The speaker does the watching, and the birds supply the participant that is watched. The example illustrates differential object marking, in which the form of a direct object can vary with its interpretation.

Ravishankar considers treating the two markings as surface forms of a single case chosen according to the verb’s argument frame. An argument frame describes the participant positions associated with a predicate. That treatment would keep the frame central to the case analysis. The release instead assigns case according to the morphology of the word and uses the dependency relation to register the role in the frame. The marked birds therefore remain a direct object and have a dative feature. The paper cites the UD restriction on using the indirect object relation in a construction whose only arguments are the subject and the object. The marking on the birds supplies no additional argument position.

The sociative examples introduce a question about the argument frame itself. In the paper’s example about people talking to dogs, the dogs can be analyzed as interlocutors selected by a transitive use of the verb. Under that analysis, the sociative nominal fills an object position. The verb can also be understood in an intransitive use, with a sociative phrase adding an accompanying participant. That account would give the phrase an oblique nominal relation. The author opts for an object analysis in some cases of this sort and describes the choice between the analyses as close.

The same comitative feature can therefore appear on a phrase whose treatment depends on the use of the governing predicate. The paper also observes that the indirect objects encountered in its corpus all have dative marking. Taken with the experiencer and bird examples, that observation establishes a distinction between recognizing the dative form and interpreting any occurrence of it. A dative can receive a subject label, a direct object label, or an indirect object label for reasons that come from the sentence.

Representing predicates made of a noun and a verb

In one of the complex predicate types, a noun and a verb function together as a verbal expression. The paper calls these light-verb constructions and notes that many use a verb meaning do or make. Its example describes a frog jumping by means of a nominal for a jump and a verb whose independent meaning is to hit. The noun supplies much of the recognizable content of the event. Ravishankar makes the verb the syntactic head and attaches the noun with compound:lvc, a subtype of the compound relation. The verb remains the head in the example even though it is non-finite. The paper connects that decision with practice in the Persian treebank.

The noun in the jumping example keeps some flexibility. An adjective can describe the size of the jump, and an adverb can describe how forcefully the action is done. The Marathi expression for worrying is more fixed. Ravishankar describes it as a fully lexicalized verb and says that it resists comparable qualification. Lexicalization here concerns the extent to which the whole expression behaves as an established unit. The paper uses the same relation for both examples. The label records the noun–verb construction even when different instances vary in how freely the nominal can be modified.

The attachment decision and the description of lexicalization answer separate questions. Choosing the verb as head provides a consistent way to connect the combined predicate to the rest of the clause. Recognizing that one expression has greater internal flexibility explains possible differences in its use. The annotation groups the examples at the level of dependency type. The grammatical discussion supplies finer distinctions that a query for the relation alone would leave unresolved.

Representing predicates made of verbs

The paper reserves the term compound verb for a different construction, whose two components are verbs. Ravishankar notes that earlier descriptions also use light verb for this phenomenon, which makes the paper’s distinction in terminology important. In this construction, the verb giving the main event is very often a converb. In the paper’s reading example, the converb is the form of the reading verb used alongside a second verb. Other compound constructions may use a participle or an infinitive for the main component.

The second, or vector, verb comes from a closed set in this function. The contribution can concern the character of the event, called Aktionsart in the discussion, including how the event reaches completion. In the example involving a story, the simple verb describes reading it. The compound construction adds a form of a verb meaning put and can give the reading a sense of finality or sudden completion. The paper also identifies an example in which removing the vector would make little discernible difference to the intended event. The annotation needs to cover compound verbs across that range of semantic contributions.

The reduced lexical contribution makes an auxiliary analysis conceivable. Ravishankar follows Deoskar’s account in distinguishing the class of vectors from the class of auxiliaries and chooses the available subtype compound:svc. The abbreviation in that subtype comes from serial verb constructions, which the paper treats as syntactically distinct from the Marathi pattern discussed here. The author uses the subtype provisionally because the relation inventory lacks a closer fit. For interpreting the release, the defining evidence is the paper’s account of what the main verb and vector do in Marathi.

The treatment of the two complex predicate types consequently depends on how their components are organized. With a light-verb construction, the connection singled out by the subtype is between a nominal and its verbal head. With the compound verbs, the subtype describes the connection involving the vector. The labels preserve the structural distinction even where attributing just how much meaning comes from each component requires attention to the particular expression.

Passives and detached demonstratives

The passive examples give the author reason to use two familiar UD subtypes, nsubj:pass for the passive subject and aux:pass for the passive auxiliary. In one construction, a form of the verb meaning go serves as the auxiliary. The main verb is perfective and agrees with the passive subject. The example in the paper describes a palace after people decorated it. The palace supplies the passive subject, and the extra verb contributes to the expression of voice.

The paper also discusses a more formal construction in written Marathi that occurs repeatedly in the corpus. In that pattern a form of the verb meaning come is the auxiliary, and the main verb is a locative infinitive. Ravishankar reworks the palace example to show how that pattern expresses much the same event. In the annotations, both constructions fit the passive relations. Their different auxiliaries and the forms of the main verbs supply information about which construction is being used. The shared syntactic treatment and the differences in form can both be read from a tree.

A final example concerns a demonstrative used to emphasize a nominal or nominal clause. The paper compares this use with dislocation in French. In the example involving a horseman, the demonstrative stands as a pronoun of its own. A clue is its lack of gender and number agreement with the noun denoting the horseman. Treating it as a determiner would place it inside the noun phrase, whereas the annotation uses the relation for a dislocated element. The example illustrates why identifying the grammatical category of a demonstrative in context can matter to the placement of a dependency, even with a recognizable noun nearby.

Experiments and results

What the parsers were given

Ravishankar’s main experiment begins with raw versions of the sentences in the Marathi treebank. The system has to find sentence and word divisions, provide grammatical tags, and assign the dependency links. The secondary experiment supplies reference tokenization and part-of-speech tags. These are called gold standard because they come from the treebank annotations used for evaluation. In that condition the parser still has to predict heads and relation labels. The two conditions ask how well the systems work from unannotated text and how well they parse when those earlier decisions are supplied.

The primary pipeline for automatic tokenization and tagging is UDPipe. It includes components for segmentation and grammatical tagging as well as the Parsito dependency parser. The paper names MorphoDiTa in its account of preprocessing. Parsito learns transitions with a neural network. A transition is an operation that helps build the tree, for instance by adding a connection as the parser works through the sentence. The paper evaluates UDPipe with its defaults and with external word vectors trained on Marathi wiki text. These are two configurations of the same parser. UDPipe · Open-Source Tools for Morphology, Lemmatization, POS Tagging and Named Entity Recognition

The external vectors come from fastText and have dimension 300. An embedding represents a word numerically, giving the parser information it can use alongside other input. FastText makes use of pieces within words to construct its vectors. Ravishankar expected that design to be helpful for a language with extensive inflection. Different forms can share some of their internal material, making that material a potential source of information about the complete forms. Which parts of a written item need an independent syntactic position is decided earlier, during tokenization. Enriching Word Vectors with Subword Information

BIST is the other neural parser in the comparison. It processes sentences with bidirectional LSTMs, which can draw on information from the context on either side of a word. The paper notes that BIST offers a graph-based implementation as well. The reported scores give a BIST result for each input condition. They provide no separate comparison of BIST’s parsing strategies. Though BIST can accept external word vectors, the author encountered a steep increase in the size of the resulting system and ran the reported comparison without custom embeddings. Simple and Accurate Dependency Parsing Using Bidirectional LSTM Feature Representations

MaltParser is the non-neural baseline. It also learns transitions for building dependencies, using a different kind of learner. Its inclusion tests a motivating question about a small training corpus. Neural parsers had performed well in competitive evaluations averaged over treebanks, and Ravishankar wanted to see whether a non-neural system would still be competitive on this collection. The baseline is a functioning parser assessed with the same reported attachment metrics. Each parser retains its own design and training requirements.

Training, scoring, and intermediate outputs

The paper uses 10-fold cross-validation. The idea is to rotate which portion of the available annotated data is reserved for testing. For a given fold, the system trains on the material outside the held-out portion and is assessed on the held-out material. Across folds, evaluation is spread through the collection. BIST also requires a development set, which serves a separate purpose from the test data of a fold. The author reserves 45 fixed sentences for BIST development and runs its cross-validation on the remaining sentences. Parameters are left at their defaults in the other systems. In BIST, the training schedule is raised to 50 epochs, with each epoch representing a pass through its training material.

Ravishankar uses the official scoring script from the CoNLL 2017 shared task. The paper reports intermediate scores for segmentation and tagging, along with the parsing scores. Measuring those intermediate outputs gives the reader a way to see what quality of input can reach the parser in the raw-text condition. It also makes visible differences among tasks that can be obscured by a single end-to-end score.

The tokenizer is evaluated for its recovery of sentences, words, and multiword tokens. Precision asks how many predicted items are correct among the items the tokenizer outputs. Recall asks how many of the items in the reference the tokenizer finds. F1 combines precision and recall into one measure that rewards a balance between them. The three evaluation targets concern different decisions. Finding a sentence boundary can succeed while an expansion within the sentence is missed. Similarly, recovering many ordinary words is compatible with considerable difficulty on the subset that comes from joined forms.

On raw text, sentence segmentation has precision of 92.24 and recall of 92.72, with F1 of 92.44. Word segmentation has precision of 94.90 and recall of 90.18, with F1 of 92.48. The multiword results have a different shape. Multiword-token precision is 99.09, while recall is 45.31, giving F1 of 61.88. When the tokenizer proposes an expansion, its proposal typically matches the reference. Many expansible items in the reference go undetected. The paper suggests that the frequency of joined postpositions contributes to the challenge. The aggregate scores apply to multiword tokens as a group.

The tagging comparison reports F1 with gold segmentation and with automatic segmentation. For universal part of speech, abbreviated UPOS, the score is 78.82 with gold segmentation and 74.11 with automatic segmentation. The corresponding scores for morphological features are 65.99 and 64.73. The paper’s all-tags measure gives 62.67 and 61.87. The lemma results go in the other direction, at 74.40 with gold segmentation and 75.37 with automatic segmentation. These are separate criteria for evaluating grammatical output. Broad word class, case and other inflectional information, and identification of a base form can differ in accuracy on the same corpus.

The segmentation and tagging comparisons also clarify what it means to supply gold inputs at the parsing stage. The reference-tokenization tagger evaluation still asks a tagger to predict classifications. The reference-input parsing experiment gives the parser the part-of-speech tags as well. Thus the 78.82 UPOS score describes a predicted tag comparison with given boundaries. It is separate from the test of dependency attachment with reference word classes already supplied. Keeping the stages distinct helps explain why an upstream score cannot be read as one of the attachment results.

Dependency attachment on raw text

Unlabelled attachment score, or UAS, checks whether a predicted word attaches to the correct head. Labelled attachment score, or LAS, requires the head and the grammatical relation to agree with the reference. In the watching example, linking the word for birds to the watching verb has the right attachment. Identifying it specifically as the object also gives the correct label. Weighted LAS, reported as (w)LAS, reduces the influence of some relations, including case marking and punctuation. The weighting provides a further comparison based on how the systems perform when selected links contribute less.

Raw-text labelled attachment on the Marathi treebank

BIST leads the comparison, and default UDPipe outscores its fastText setting.

Raw-text labelled attachment on the Marathi treebankBIST (this paper): 54.18BIST (this paper)54.18UDPipe defaults: 51.79UDPipe defaults51.79MaltParser: 49.45MaltParser49.45UDPipe with fastText: 48.20UDPipe with fastText48.20
The numbers
System or settingLAS
BIST (this paper)54.18
UDPipe defaults51.79
MaltParser49.45
UDPipe with fastText48.20

BIST leads on raw text across the reported attachment metrics. Its UAS is 67.60. Default UDPipe follows at 63.00, then MaltParser at 62.02 and UDPipe with fastText at 59.77. LAS follows the same ordering shown in the chart. On weighted LAS, the scores are 47.25 for BIST, 46.14 for default UDPipe, 44.01 for MaltParser, and 42.63 for UDPipe with fastText. Giving selected labels less weight leaves the order intact. The FastText configuration comes last on all three raw-text measures.

A raw-text score measures a complete path from an unannotated sentence to a predicted dependency analysis. If the pipeline fails to expand a joined form, a grammatical word inside it can be absent as a node. The correct relation for that word is then unavailable as an ordinary head-and-label decision. A class assigned incorrectly to a word that is present can also affect parsing. The raw comparison gives the performance of each tested configuration under those input conditions, with errors from earlier steps entering the final measure alongside the parser’s own attachment decisions.

BIST’s lead therefore answers the paper’s principal benchmark question for the release. A reader given the same kind of automatic input sees the strongest reported combination of head selection and relation labelling from BIST. The weighted measure confirms the ordering under an alternative valuation of some of those relations. It leaves open which specific constructions produced the rankings. The dative subject and the sociative object, for instance, both contribute according to the scoring rules, but there is no separate result for either construction.

Dependency attachment with reference inputs

The reference-input results show a different picture. UDPipe with fastText has the best labelled attachment at 71.94. MaltParser comes next with 70.35, followed by default UDPipe at 68.88 and BIST at 55.05. Weighted LAS has the same ordering. It is 68.47 for UDPipe with the vectors, 65.16 for MaltParser, 64.61 for default UDPipe, and 47.99 for BIST.

Labelled attachment on the Marathi treebank with gold segmentation and POS

UDPipe with fastText gives the strongest labelled result when boundaries and tags are supplied.

Labelled attachment on the Marathi treebank with gold segmentation and POSUDPipe with fastText (this paper): 71.94UDPipe with fastText (this paper)71.94MaltParser: 70.35MaltParser70.35UDPipe defaults: 68.88UDPipe defaults68.88BIST: 55.05BIST55.05
The numbers
System or settingLAS
UDPipe with fastText (this paper)71.94
MaltParser70.35
UDPipe defaults68.88
BIST55.05

MaltParser gives the highest UAS with gold segmentation and tags, at 80.75. UDPipe with fastText follows at 79.48, default UDPipe at 77.74, and BIST at 68.70. In this condition the top result for finding heads comes from MaltParser, and the top result for getting the head and relation right together comes from UDPipe with fastText. The UAS result confirms that the older baseline was competitive on this training collection and that the choice of metric changes which system leads.

Unlabelled attachment on the Marathi treebank with gold segmentation and POS

MaltParser has the highest head attachment score with reference inputs.

Unlabelled attachment on the Marathi treebank with gold segmentation and POSMaltParser (this paper): 80.75MaltParser (this paper)80.75UDPipe with fastText: 79.48UDPipe with fastText79.48UDPipe defaults: 77.74UDPipe defaults77.74BIST: 68.70BIST68.70
The numbers
System or settingUAS
MaltParser (this paper)80.75
UDPipe with fastText79.48
UDPipe defaults77.74
BIST68.70

All the reported attachment scores rise in their respective gold-input comparisons, but BIST’s movement is small. Its raw LAS of 54.18 and its gold-input LAS of 55.05 put it first in the former condition and last in the latter. UDPipe with external vectors moves in the other direction in the rankings. It has the lowest raw LAS and the highest LAS when given the reference inputs. These outcomes make the input condition part of any adequate statement of parser performance. A score for parsing with human-supplied boundaries and classes tells the reader what a system can do with that information available. The raw-text results tell the reader how much of such performance the evaluated pipelines attain from unannotated input.

What the ablations show

The value of fastText depends on the input condition

The closest comparison to a conventional ablation is the pair of UDPipe configurations. For each kind of input, the paper tests a default parser and the version given external word vectors. With raw text, the fastText setting has lower UAS, LAS, and weighted LAS. With reference tokenization and tags, the fastText setting has higher values on all three. The consistency across metrics makes the direction of the result clear within each input condition. It holds for finding heads alone and for the measures that take account of relation labels.

The paper proposes that word vectors learned from an external corpus may be less useful when the input contains wrongly segmented multiword tokens. The hypothesis connects the missed expansions visible in the tokenizer results with the scores for the two UDPipe settings. An unexpanded written form and the syntactic words the treebank expects from it are different inputs to the parser. The capacity of fastText to draw on material inside a form helps explain the original expectation that it would suit Marathi morphology. The reversal in attachment scores points to the importance of the units that the preprocessing stage delivers.

The comparison establishes an interaction between the embedding setting and the kind of input in this evaluation. It leaves the proposed mechanism open. The parsing experiment supplies both the reference boundaries and the reference tags at the same time, and the reported results have no breakdown tracing the effects of individual segmentation errors. Ravishankar argues that the small size of the treebank by itself is an inadequate explanation for the different outcomes under raw and annotated inputs. The scores show the conditions under which the effect changes direction. They give no measured share of that change to any specific source of error.

What can be located in preprocessing

The tokenizer diagnostics identify a particular recognition problem before parsing. The weakest F1 among the segmentation targets belongs to multiword tokens, and the precision and recall tell which kind of failure dominates. The system recovers too few reference expansions. The tagging comparison then changes segmentation for a downstream task and shows that the outcomes depend on which property is being predicted. It favors reference boundaries for word classes, features, and the combined tag score. Lemma F1 is higher in the automatically tokenized condition.

Taken together, these analyses give some resolution about where difficulties appear. The tokenizer results establish that multiword recognition is weak relative to its other evaluated targets. The tagging results show that segmentation conditions matter to several intermediate annotations. The attachment experiment measures the joint effect of supplying word boundaries and tags. Those experiments use different target measures, so their results cannot be combined into a numerical allocation of the final attachment errors.

The comparison with MaltParser addresses a broader question than the embedding experiment. A non-neural parser is competitive under the reported conditions, with stronger reference-input UAS than the neural alternatives. The full systems differ in how they represent sentences, how they build dependencies, and how they were trained in this study. The observed ranking is evidence about those configurations. A comparison isolating the kind of transition learner would need otherwise matched systems. Similarly, BIST’s lead on raw text gives an outcome of the pipeline but leaves open the particular aspects of BIST responsible for that outcome.

What the grammatical comparisons test

The paper gives paired examples to support particular annotation choices. The bird sentences show how case and definiteness can vary while the same argument position remains available. The story-reading sentences show what can change in the interpretation of an event when a vector is present. The palace sentences give different grammatical forms for a closely corresponding passive meaning. Each comparison motivates a decision about what the release records as a case, a relation, or a construction.

These are analyses of grammatical behavior. The parsing experiments assess performance against trees prepared with those analyses. Ravishankar does not rerun the benchmark with competing analyses of the dative experiencer, sociative object, or vector verb. A high agreement score on labelled dependencies could therefore coexist with a substantive debate over one of the reference decisions. The paper gives the reader two kinds of evidence to evaluate that situation. Its examples and diagnostics explain why the choices were made, and its benchmark measures how well automatic predictions reproduce the resulting annotations.

Limitations

Limits the author identifies

The initial release is small by the author’s own plans. Ravishankar’s immediate target is a later release containing 10,000 manually parsed tokens, a size the paper associates with the expected resource for a surprise language in the CoNLL 2017 shared task. The target belongs to the expansion plan. The experiments report results for the 3,506-token collection prepared for the study. A further planned effort would assemble material for evaluating Marathi word embeddings more directly.

The corpus also has a stated selection limit. It consists principally of stories chosen with urban Pune Marathi as a reference. The paper recognizes variation with region, caste, and social class, and some selected writing still contains usage the author considers old-fashioned. The newspaper collection stopped because the online issues the author tried to gather were presented as images or GIFs. Optical character recognition, subject to licensing, was a proposed route to newspaper text. The original plan and the result of that collection attempt explain why the tested material represents a narrower range of writing than the author sought.

Ravishankar identifies uncertainty in the annotation at several points. The diagnostics for separating postpositions from case endings are imperfect. Dative experiencers satisfy some tests for subjecthood while failing others. The sociative phrase in a speaking construction lies close to the boundary between a selected argument and an oblique dependent. The ownership label is open to revision, and the label for the vector construction is an available approximation. The paper gives an operational answer for the release while preserving the grammatical grounds for revisiting each decision.

The BIST experiment with external vectors also remains future work in the paper because of the size problem encountered in that setup. The author proposes using the Marathi treebank as a starting point for documentation covering Indic languages and suggests that a manual conversion of UD Hindi could be part of that work. Adding enhanced dependency relations is another plan. Such relations would extend the annotation beyond the basic trees evaluated in the paper. Ravishankar points to earlier work that had already developed enhanced annotations for another language. Enhanced English Universal Dependencies

Limits of the evidence from the design

Cross-validation makes held-out evaluation possible within the annotated collection. Because the training and test material are drawn from that collection, it gives a direct basis for assessing performance on this kind of selected text. Generalization to newspapers, other varieties of Marathi, or text containing more of the older forms avoided during selection remains untested. The paper also reports corpus totals and aggregate parsing scores without showing how the evaluation covers each construction. Strong average attachment could be compatible with poor predictions on a rare kind of subject or predicate.

Agreement among annotators is a separate question. The paper describes hand disambiguation, correction, and syntactic analysis, with examples that explain several consequential choices. It supplies no reported agreement exercise in which independent annotators apply those choices to the same material. That matters particularly at boundaries the author describes as difficult. The interlocutor in a sociative construction, for instance, can be classified differently depending on how the argument structure is interpreted. The paper gives an explicit rationale for the chosen analysis, while its reproducibility across annotators remains unmeasured.

The parser comparisons also reflect differences in the experimental arrangements. BIST requires its fixed development sentences, is trained with the increased epoch setting, and receives no custom word vectors. UDPipe alone has an embedding comparison. The paper reports aggregate scores without fold-level variation or uncertainty estimates for the rankings. It is possible to identify the leader on each reported measure. The stability of close comparisons across other splits, alternative training settings, or a larger treebank remains open.

Finally, the raw and gold parsing conditions change boundaries and tags jointly. Low multiword recall and the different response to embeddings make segmentation a plausible part of the explanation. The evidence does not establish how much of any attachment result is caused by that particular weakness. Nor do aggregate scores measure how closely the relation inventory fits every construction. A parser is scored on whether it recovers the reference choice, while the quality of that grammatical analysis depends on the examples, diagnostics, and consistency of application. The paper contributes to both questions by making the choices explicit and reporting performance against them.

What came after

The later citing work includes a toolkit for learning across NLP tasks and papers applying Universal Dependencies to individual languages. Those are two settings in which a treebank paper such as Ravishankar’s can be relevant. One deals with the machinery for learning from annotated data. The other addresses how annotations are defined for further languages. The citations establish a connection in each setting. Details of data reuse or transfer of a particular Marathi analysis are unspecified.

MaChAmp presents a toolkit for multitask learning in natural language processing. Its focus is on providing tooling for learning across several tasks, whereas the Marathi paper documents the preparation and evaluation of a particular syntactic resource. The toolkit paper cites Ravishankar’s study. Whether that connection involved training with the Marathi treebank, evaluating on it, or discussing it as an existing resource is unspecified. Massive Choice, Ample Tasks (MaChAmp)

The Punjabi paper places Punjabi in the scope of Universal Dependencies and cites the earlier Marathi study. It continues the application of the common framework to the grammatical description of another language. The Marathi precedent is a documented exercise in relating a language’s constructions to shared categories. The citation leaves open how Punjabi handled its corresponding segmentation and dependency decisions and whether any of those decisions drew on a specific Marathi convention. Universal Dependencies for Punjabi

The Saraiki paper likewise applies UD to an individual language and cites Ravishankar. The connection concerns the extension of the same framework through language-specific work. In Marathi, that required an inventory of case markings and explicit handling of several kinds of complex predicate. The Saraiki citation places that work among the preceding studies. It leaves the treatment of individual Saraiki constructions and the extent of methodological transfer unspecified. Universal Dependencies for Saraiki

The Sindhi paper brings the framework to Sindhi and provides the last of these later references to the Marathi study. Together, the Punjabi, Saraiki, and Sindhi citations show that Ravishankar’s account continued to be cited as UD work addressed additional languages. The specific connection established for Sindhi is the citation within another language-focused account of the framework. Reuse of the Marathi corpus, its parser settings, or its local relation subtypes remains unspecified. Universal Dependencies for Sindhi

Cite

Cite as Vinit Ravishankar. 2017. A Universal Dependencies Treebank for Marathi. Proceedings of the 16th International Workshop on Treebanks and Linguistic Theories.

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

@inproceedings{vinit2017universal,
  title = {{A Universal Dependencies Treebank for Marathi}},
  author = {Vinit Ravishankar},
  booktitle = {Proceedings of the 16th International Workshop on Treebanks and Linguistic Theories},
  year = {2017},
  url = {https://aclanthology.org/W17-7623/}
}

↑ back to top

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