Elamur Research

Dependency Parsing for Urdu: Resources, Conversions and Learning

Paper · 2020 · Toqeer Ehsan and Miriam Butt

Summary

Training a parser requires sentences whose grammatical structure has already been analysed. For Urdu, some of that work had been done in resources that group words into phrases, while other resources represent grammar as links between words. To make the phrase annotations usable for dependency parsing, Toqeer Ehsan and Miriam Butt convert the CLE-UTB treebank to a format based on Universal Dependencies (UD) 2.0. CLE-UTB contains 7,854 sentences and 148K tokens drawn from 15 genres. Its annotation places the major constituents directly under their clause, so their grammatical roles can be recorded even when their order varies. That design gives the converter a useful starting point.

The conversion first decides which word represents each phrase. It then connects those words and translates the original phrase and function labels into relations between tokens. The same phrase label can call for different relations depending on where it appears in the tree, so the authors record the parent category for cases such as an embedded clause. They also use Urdu-specific cues to resolve distinctions the original annotation leaves implicit. For instance, a phrase originally marked as oblique can become an indirect object if the converter finds the expected case marker in the specified position. A separate mapping reduces 35 original part-of-speech tags to 17 UD tags, and the resulting dependency trees use 28 relation labels.

The authors train MaltParser and a transition-based bidirectional LSTM parser on converted CLE-UTB and on the UD version of the Urdu portion of the Hindi-Urdu Treebank, HUTB-UTB. They also test word embeddings, numerical representations learned from unannotated Urdu text. With reference part-of-speech tags and ELMo embeddings, the bidirectional parser reaches 89.6 unlabeled attachment and 84.2 labeled attachment on the CLE-UTB test set. The first score measures whether a word is linked to the right head. The second also requires the grammatical relation to be right. In the corresponding HUTB-UTB experiment, the scores are 89.9 and 86.1.

Replacing reference tags with automatically predicted tags lowers both attachment scores. The strongest reported settings under that condition reach 87.1 unlabeled and 81.2 labeled attachment on CLE-UTB, and 85.1 unlabeled and 78.6 labeled attachment on HUTB-UTB. The parser tests show that the converted trees support supervised learning and that tagging quality matters when the system analyses new sentences. The authors argue for reusing existing phrase annotations in this way, especially when the goal is to recover grammatical relations. Their cited Urdu constituency experiment achieved 68.3% functional accuracy with functional labels included. That result motivates the conversion, while the attachment tests address how well parsers can learn the converted representation.

Deep dive: Dependency Parsing for Urdu: Resources, Conversions and Learning

How an Urdu phrase treebank was converted to Universal Dependencies and what parser tests revealed about word embeddings and part-of-speech tags. · about 33 minutes to read

The problem and its context

The same sentence can have two useful analyses

A phrase tree shows which words form a unit. A noun and its modifiers can sit inside a noun phrase, and the phrase can sit inside a clause. This representation records the order of the material as well as the nesting of constituents. If the annotation includes a function such as subject, the label can appear on the whole phrase. A dependency tree asks which word that phrase contributes to the sentence-level analysis and how the word relates to another word. It connects the heads of phrases and clauses, along with the words that depend on those heads. The two representations support different ways of looking up the grammar of a sentence. Treebanks

Consider the question of who participates in the event expressed by a verb. A constituency analysis can encode the answer through a function label on a noun phrase or through the phrase's position in the tree. Finding the participant means interpreting that part of the structure and, where needed, finding the word inside the phrase that names it. A dependency analysis can provide a direct subject or object link between words. The authors take this accessibility as a reason to build dependency resources for natural language understanding, where finding the participants in an event can be part of the analysis.

The difficulty for Urdu is partly a matter of annotation design. A grammar with relatively fixed positions for major constituents can use those positions to help distinguish their functions. Urdu allows the major constituents to occur in different orders. CLE-UTB places them at a common clause level and records grammatical functions on constituents. The resulting tree still preserves the order in which the words were written. Its hierarchy, however, can represent the subject and other clause constituents at the same level in spite of changes in their order. For conversion, that means the parser can look for the annotated function and the local head without first treating a particular position as the defining property of a subject or object.

The authors describe another route to recovering functions. A constituency parser can learn phrase categories together with labels for grammatical roles. They cite evidence that introducing such labels can reduce constituency parsing accuracy and give the example of the Stanford parser trained with functional labels on an Urdu phrase treebank. The issue is that the program must predict both the constituency decisions and the enriched annotation. The present paper starts after that human annotation work has already been done. Its conversion operates on existing trees, including their function labels, and its learning experiments predict dependencies directly. These are distinct tasks even when both ultimately give a reader information about subjects, objects and other grammatical functions.

What the available Urdu resources contained

The Hindi-Urdu Treebank project already supplied dependency annotation for Urdu. Its original scheme came from the Paninian grammar framework, in which karakas identify participants in the sentence. The authors describe six main karakas plus labels for additional constructions, for a total of 40 dependency labels in the project's original scheme. Those distinctions were encoded with an inventory different from UD. The paper describes the Urdu treebank of the project as containing 138K sentences. When it comes to the parser experiments, the relevant resource is specifically the UD version of HUTB-UTB. The size given for the project resource and the annotation inventory of the UD experimental resource describe different parts of the account.

The project also had phrase structure guidelines. The paper describes them as drawing on the Minimalist Program and using binary branching with designated positions for arguments. That hierarchy encodes relationships between predicates and their arguments. Ehsan and Butt regard it as more naturally suited to relatively fixed word order, as in English. CLE-UTB takes a different approach to the major constituents of the clause. This difference matters for conversion because rules for reading grammatical context from one tree shape can give the wrong interpretation when the same kind of constituent occupies a different structural position in another scheme.

The authors also describe Abbas's manually annotated phrase treebank. It has 1,400 sentences and includes morphological and grammatical information on phrase labels. Its existence is further evidence that the resource problem concerned the form and distribution of annotation as well as the amount. A small, rich phrase treebank and a larger dependency treebank give researchers different starting points. The paper's detailed conversion procedure applies to CLE-UTB, whose combination of a flat clause structure and explicit function labels is part of the procedure's design.

Raw text was available at a different scale. The authors cite the EMILLE project for an Urdu corpus of 1.6 million words and a parallel English-Urdu corpus of 200K words. The Urdu material they describe lacks grammatical structure annotation. They also mention several unannotated collections from the Center for Language Engineering, including the Urdu Digest corpus of 35 millions words used for the word representations in this paper. A collection of running text can supply examples of the contexts in which words occur. To supervise the prediction of a dependency arc and its label, the training procedure needs examples in which those decisions have been recorded.

What a common inventory makes possible

CLE-UTB's annotations record constructions the authors considered important for Urdu, including relative clauses, subordination, possession and complex predicates. These constructions already have internal structure and category labels in the source. The task is to preserve relevant information while expressing it through labeled relations between words. This requires a rule for finding the lexical representative of a constituent, a rule for attaching that representative, and a way of deciding what grammatical relation the link expresses. Merely translating a list of category names would leave the attachment question unanswered.

The common inventory gives similar relations a shared vocabulary across resources even if their original analyses used different names or distributed information differently. It also gives the authors the UD version of HUTB-UTB as a point of comparison when checking labels and evaluating parsers. A shared inventory still allows two corpora to contain different selections of relations. The annotated texts may offer different evidence for a parser, and the rules used to arrive at each analysis remain relevant when interpreting its scores.

The paper brings the resource and learning questions together in sequence. First, the authors ask how the available phrase annotation can be turned into dependency supervision. Then they ask how well existing parsing approaches learn that supervision and whether the choice of word representations affects the result. The parser evaluation therefore depends on the conversion, while the evaluation of a parser against the converted resource is a separate question from whether every individual conversion decision is linguistically correct.

The method, step by step

Start with the information already in the tree

The source CLE-UTB has 11 phrase labels for types of constituents and 10 functional labels for their grammatical roles. Tags at the leaves come from the CLE Urdu inventory. These are the part-of-speech tags associated with individual tokens. A converter can draw on all these layers. The token tag distinguishes such categories as a noun, an infinitive or a modal auxiliary. The phrase label says which kind of unit is being analysed. The function says what the unit is doing in the larger construction. The parent category supplies another piece of evidence when the same unit can occur in different surroundings.

The paper follows one sentence across the stages of conversion. In it, the ticket is described as inexpensive, followed by a subordinate clause about poorer people being able to travel. The subject phrase contains a genitive construction, the main predicate uses a copula, and the subordinate clause contains a complex predicate and a modal. In the original tree, a verb complex has the label VC. The modal in the subordinate verb complex has the token tag AUXM. The category SBAR encloses a clause labeled S. The phrase structure thus records enough distinctions to help the converter decide where dependencies should go even before their UD names have been assigned.

From CLE-UTB phrase trees to dependency parser training

The steps in order.

From CLE-UTB phrase trees to dependency parser trainingStep 1: Read phrase functions and token tags1. Read phrase functions and token tagsStep 2: Select a head for each constituent2. Select a head for each constituentStep 3: Build word attachments and identify the root3. Build word attachments and identify the rootStep 4: Read parent categories for ambiguous phrase labels4. Read parent categories for ambiguous phrase labelsStep 5: Map tags and relations to UD5. Map tags and relations to UDStep 6: Apply construction-specific corrections6. Apply construction-specific correctionsStep 7: Train parsers on the dependency trees7. Train parsers on the dependency trees

Choose the word that carries each phrase upward

A head lets a group of words take part in a link between words. If a noun phrase serves as a subject, its head can carry that subject relation to the predicate. Modifiers inside the phrase have their own attachments within the group. The head does not make those words disappear from the analysis. Its selection determines how the group connects to the rest of the sentence. The paper draws on the head-finding approach it associates with Magerman, then supplies a search table tailored to the categories in CLE-UTB. Statistical Decision-Tree Models for Parsing

Each row in the table gives a phrase category, a direction and a priority ordering of eligible labels. The direction identifies which side of the constituent to search from. The priority ordering expresses preferences among the types of child that could supply the head. For a noun phrase, the search is from the right and the candidates include an embedded noun phrase, a proper noun and a common noun, followed by other possibilities. The paper gives the rightmost noun as an intuitive example of what a head rule can pick in a phrase with several words. The full row allows for more varied phrases than a rule that simply chooses the last word.

The verb complex has a different search direction. The table points the search to the left and gives finite and infinitival verb tags priority ahead of several auxiliary tags. This reflects the pattern described by the authors, in which the main verb usually comes before its auxiliaries. In the sample's subordinate clause, the main verb is followed by the modal. The rule gives them different jobs in the dependency analysis. The main verb represents the verbal construction in attachments outside the complex, and the modal can attach within it. The table also covers cases where the preferred child category is unavailable, through additional candidates such as an embedded verb complex.

Other phrase categories need their own instructions. The table gives a leftward starting side for postpositional phrases and lists a noun phrase before several other possible head categories. A postposition therefore need not stand in for the entire expression when the nominal material can serve that purpose. The sentence-level row searches from the left and begins its priority list with the verb complex. For a subordinate category, the listed candidates include an inner S. A category such as S is still a phrase node. To use it in a word-to-word arc, the converter needs the word identified as its head. One head decision can therefore determine which word is available to the rule above it.

The head pass produces an intermediate dependency tree. The sample shows the verb complex carrying the root analysis at this point. Links for the subject, the subordinate clause, the complex predicate, the genitive construction and the auxiliary are visible, while several still carry labels from the source. This intermediate stage separates a structural decision about the words at the ends of an arc from the decision about what that arc should be called in the target inventory. Later conventions can also affect the head assignment itself, as the copular analysis in the final example illustrates.

Map the relation as well as the token category

After finding heads, the converter returns a label associated with each token. A head can inherit a phrase-level label, while a non-head often retains its part-of-speech tag at this stage. The authors illustrate this with a noun phrase containing CD, a numeral tag, and NN, a noun tag. The noun is selected as the head and carries NP, the category of the phrase. The numeral depends on the noun. The inherited phrase label and the numeral's original token category supply information about different attachments. The labels still need to be expressed in the UD vocabulary.

The implementation adapts the existing CTB2Dep converter. Its authors needed new rules for the flatter tree structures in their Urdu resource. A key adaptation is parent annotation, the use of the category immediately above a constituent to refine the constituent's label for mapping. The idea is attributed to Johnson. A clause can be labeled S in several constructions, and the bare label tells the converter only that it is looking at a clause. Adding the parent gives the mapping a way to distinguish a clause inside a nominal expression from a clause under a subordinate marker. PCFG Models of Linguistic Tree Representations

Therefore, a clause under NP is represented as SˆNP for the mapping, and a clause under PP as SˆPP. The base label in each case is S, and the category after the caret names its parent. The paper gives SˆSBAR for a subordinate context and SˆS for a coordination context. These enriched categories are inputs to the converter. They let the mapping express distinctions that would be lost if it assigned a single target relation to every S. The tradeoff is a larger mapping table because a base category can now have several contextual forms.

The conversion also translates the lexical categories. CLE-UTB has 35 source part-of-speech tags, which are mapped onto 17 UD part-of-speech tags. This operation changes the vocabulary of the tag layer. It answers a different question from converting a phrase label into a dependency relation. A noun can be a subject, an object or the head of a modifier, and a change in its role need not change its lexical category. Conversely, several source tags can carry distinctions useful for conversion even when the final tag inventory groups them together. The post-conversion rules illustrate why those more specific source categories still matter during the procedure.

The dependency treebank that comes out of the process contains 28 relation labels. Among them are relations for subjects and objects, modifiers, auxiliaries, case marking, punctuation and the root. The target inventory also includes separate labels for relations that require evidence about a larger construction. These include the relations for an indirect object, a fixed expression and different kinds of clausal complement. The examples that follow show how the converter uses more than the original category name to assign them.

Resolve distinctions that the phrase labels leave open

The first problem concerns obliques and secondary objects. The source scheme uses PP-OBL for oblique postpositional phrases and includes secondary objects in that category. A direct conversion based on the label alone would preserve the broad grouping. The authors use the accusative or dative marking available in Urdu to refine it. The explicit rule looks for PP-OBL followed by the token kO. When the condition is met, the converter assigns iobj to the attachment.

The authors also list Urdu pronouns with dative or accusative morphology, including mujHE for “to me” and hamEN for “to us.” The examples explain why evidence relevant to secondary objects can be carried by a word form as well as by a separate marker. The condition spelled out for PP-OBL is narrower than the linguistic discussion. It uses the following kO token. The table of pronouns documents forms the authors associate with indirect objects, without specifying a corresponding sequence of tests for each one.

The second problem concerns open clausal complements. The paper discusses non-finite clauses and clausal objects marked in the source with labels such as S and S-OBJ. The explicit condition checks for S-OBJ or SˆS after the head-finding stage and for a head with the infinitive tag VBI. Both the construction context and the kind of verb matter. With those cues the converter assigns xcomp, the open clausal complement relation. It can still give a different complement relation to a subordinate clause with a different analysis. In the final tree for the running example, the subordinate clause has ccomp, the clausal complement relation.

Another rule treats fixed expressions with a particular intervening clitic. The paper's example is kam az kam, meaning “at least.” The middle word, az, has the source tag PSPI. With that tag and a phrase category of NP, ADJP or QP, the converter uses the fixed relation. The same combination of cues covers the nominal, adjectival and quantifier contexts discussed in the paper. The token category identifies the kind of intervening item, and the phrase label limits the environments in which the rule applies.

For conjunctions, the source tag CC marks the conjunction token. The paper describes a rule that uses conj, the conjunct relation, in the dependency analysis when CC appears between nouns, adjectives or quantifiers. This uses evidence about the construction around the coordinating word. In the final inventory, cc and conj express different relations. The converter is deciding which coordinated elements need to be linked, using the conjunction as a cue that the construction is present.

These examples explain the order of operations. The head rules identify which token represents a construction. The mappings use the labels and parent categories those rules expose. The additional rules can then inspect specific combinations involving a lexical item, a source token tag or a phrase context. In the complement example the head's original verb tag matters. In the oblique example the neighbouring marker supplies evidence that the source function label alone could not supply. The final tree stores the result of these decisions as token categories and labeled word attachments.

Read the converted example from the predicate outward

The completed tree retains the words of the original sentence. In the main clause, the predicative expression carries the root, with the copular verb linked by cop, the copula relation. The corresponding phrase function in the source is PDL, or predicate link. This is a useful comparison with the intermediate tree, where the verb complex was given the root analysis. The initial preference for a verbal head provides a starting structure. The target analysis of the copula decides how the predicative expression and the copular word ultimately share the work.

The subject relation leads to the word for the ticket. Inside that subject expression, the genitive material is represented by a nominal modification and a case-marking relation. Hence, the relation of the phrase to the main predicate and the relations inside the phrase remain accessible at the same time. The original phrase grouping helped the converter determine which words belonged together. The finished tree makes those connections available as labeled links.

In the subordinate clause, the main verbal element of the complex predicate is connected to the associated nominal element by a compound relation. The modal carries an auxiliary relation. There is also a separate subject relation within the subordinate clause. From the main predicate, a reader can follow the complement link into the subordinate clause and then find its subject and verbal dependents. The conversion thus exposes the internal structure of the clause as well as its function in the whole sentence.

Train a parser to reproduce the dependency decisions

The conversion begins with annotated trees. The trained parser begins with a sequence of tokens and part-of-speech tags. A transition-based parser builds a tree by taking a series of actions over a changing configuration. The paper gives the state of the arc-hybrid system used by the bidirectional parser as follows.

c = (σ, β, T)

Here c is the current configuration. The equals sign defines it as the ordered group in parentheses, with commas separating its components. σ is the stack of items currently available to the parser, β is the buffer of input items still to be processed, and T is the set of dependency arcs already built.

The paper describes three transition types. SHIFT transfers the first buffer item onto the stack. LEFT removes the item at the top of the stack and attaches it as a dependent of the first buffer item. RIGHT also removes the stack's top item, but attaches it to the item now at the top of the stack. The attachment actions include a relation label. The successive decisions determine which parts of the sentence have been linked, which items remain available and which grammatical relations appear in the output.

Training uses a dynamic oracle to guide action choice under this transition system. Its role is to relate the parser's current state to the desired dependency tree. Since an action changes what is available for subsequent actions, a training signal tied to the current configuration can account for decisions already taken. This part of the procedure concerns how a parser learns to build a tree. It is separate from the earlier rules for recovering dependency training targets from gold phrase trees.

The architecture follows Kiperwasser and Goldberg's transition-based parser. It learns an internal vector for each token and a vector for its part-of-speech tag, starting from random initial values. It joins the two vectors to represent the token at the input. A bidirectional long short-term memory network, or BiLSTM, reads the sequence in both directions and gives each item a representation informed by its context. A multilayer perceptron scores the features made available to the transition decision. The perceptron has a hidden layer and uses a nonlinear activation so its scores can depend on combinations of the input features. Simple and Accurate Dependency Parsing Using Bidirectional LSTM Feature Representations

For all the reported BiLSTM parsing experiments, the authors use two hidden LSTM layers and 125 hidden LSTM dimensions. The perceptron has 100 hidden dimensions and uses tanh activation. Training uses 0.25 word dropout and the Adam optimizer. They train for 20 epochs and choose the run checkpoint by labeled attachment on the development set. This selection criterion favours a checkpoint that gets the heads and their relations right together. The test set then serves to evaluate that choice on sentences outside the development set.

The comparison parser, MaltParser, uses an arc-eager transition algorithm and is trained with its default settings. Its inputs are words and part-of-speech tags. The authors refer to earlier work when motivating the choice of transition approach, including Chen and Manning in their discussion of arc-eager and arc-standard parsing. In the present experiment the transition algorithm changes alongside the way the parser represents and scores its input. The authors name the bist-parser implementation for the bidirectional experiments. A Fast and Accurate Dependency Parser using Neural Networks

Supply lexical information from unannotated Urdu

The condition without external embeddings still learns the randomly initialized internal token and tag vectors. The other conditions add pretrained Urdu word representations. The authors train those representations on the unannotated corpus of 35 millions Urdu words, with a vocabulary of 72K words. This makes the transfer step possible without requiring dependency judgments on the raw corpus. The vectors are learned from text and then incorporated into a training task whose supervision comes from trees.

The word2vec representations have 100 dimensions. The ELMo representations have 128 dimensions. Word2vec supplies a representation for a word, while the paper characterizes ELMo as providing deeply contextualized word representations. In the latter approach, the context in which a word occurs matters to how it is represented. This distinction is relevant to parsing because the same word can have different surroundings in constructions that take different attachments. The experiments compare complete embedding settings, with their respective representation methods and dimensions. Efficient Estimation of Word Representations in Vector Space and Deep Contextualized Word Representations

To test the parsers without reference tags at test time, the authors train a separate BiLSTM tagger on both Urdu treebanks. It also uses the pretrained word representations. The tagger uses Adam and 20% dropout, with a softmax over the possible tags and one bidirectional LSTM layer whose hidden state has 256 dimensions. It is trained for 16 epochs with a batch size of 64. The paper then evaluates the dependency parsers with predicted tags in the test sets. This tests the effect of putting an automatic tagging stage before dependency prediction, while keeping the dependency trees as the scoring reference.

Experiments and results

What the scores count

The authors report 6,135 CLE-UTB sentences for training, 746 for development and 973 for testing. Training examples teach the parser which transitions lead to the reference trees. The development examples guide checkpoint selection for the BiLSTM parser. The test sentences provide the results reported for the converted resource. The other dataset is the publicly available UD Urdu treebank from HUTB-UTB. The paper describes its experimental version as having 25 dependency labels and 40 part-of-speech tags. Both parsers use tokens and tags on this resource as well. The paper gives the partition sizes for the converted resource and presents HUTB-UTB as a separate set of parsing experiments.

Unlabeled attachment score, or UAS, checks whether the predicted head of a token matches its reference head. Labeled attachment score, or LAS, requires the attachment label to match as well. A parser can find the correct head yet describe the relationship incorrectly. That attachment would contribute to UAS and fail the joint requirement for LAS. Label accuracy, or LA, records whether the label is right. A label by itself can agree with the reference even if the parser attaches the word to the wrong head. Reporting LA alongside LAS therefore helps distinguish recovering a type of grammatical relation from assigning it to the right pair of words.

In the reference-tag tests, both parsers receive the part-of-speech tags already associated with the test material. These are commonly called gold tags. The condition gives each parser a clean source of token categories and measures how it uses them along with the words. The predicted-tag tests replace that source with the output of the tagger. Because the tags are themselves syntactic evidence, a misclassified token can affect the parser's choice of head, the relation it assigns or both.

Reference tags on the converted treebank

On the CLE-UTB test set with gold tags, MaltParser obtains 88.3 UAS, 81.6 LAS and 88.5 LA. The BiLSTM parser without external embeddings obtains 89.1 UAS, 83.3 LAS and 89.8 LA. The ordering therefore holds for attachment before the lexical transfer step. The BiLSTM parser can already choose heads and labels more accurately in this comparison using its learned internal representations.

With word2vec, the BiLSTM reaches 89.3 UAS, 83.7 LAS and 90.1 LA. With ELMo it reaches 89.6 UAS, 84.2 LAS and 90.3 LA. In this test the ordering across embedding settings is the same for all three metrics. The highest LAS is also the paper's headline result for the converted resource. It means the parser recovered the head and relation together more frequently than the other reported CLE-UTB settings with gold tags.

Labeled attachment on CLE-UTB with gold part-of-speech tags

The bidirectional parser improves with pretrained word representations and reaches its highest score with ELMo.

Labeled attachment on CLE-UTB with gold part-of-speech tagsMaltParser: 81.6MaltParser81.6BiLSTM without external embeddings: 83.3BiLSTM without external embeddings83.3BiLSTM with word2vec: 83.7BiLSTM with word2vec83.7BiLSTM with ELMo (this paper): 84.2BiLSTM with ELMo (this paper)84.2
The numbers
System or settingLAS
MaltParser81.6
BiLSTM without external embeddings83.3
BiLSTM with word2vec83.7
BiLSTM with ELMo (this paper)84.2

The units of comparison are complete parser settings evaluated against the same representation. In particular, the labels predicted for the CLE-UTB test set are judged against the converted trees. Good performance establishes that the dependency decisions the conversion produces can be learned and reproduced on held-out CLE-UTB sentences. It also shows what the embedding conditions add when reference token categories are already available.

Reference tags on HUTB-UTB

On HUTB-UTB with gold tags, the MaltParser scores are 89.5 UAS, 83.0 LAS and 87.0 LA. The BiLSTM parser without external embeddings scores 89.7 UAS, 85.6 LAS and 90.4 LA. As on CLE-UTB, the BiLSTM is ahead on all three reported metrics in the comparison without externally learned lexical representations. The result is relevant because HUTB-UTB has its own annotation history and was already available in a UD version. The advantage in this experiment appears on both resources.

Adding word2vec gives 89.6 UAS, 85.8 LAS and 90.4 LA. UAS in this case is lower than in the BiLSTM condition without external embeddings, even as LAS rises and LA stays at the same reported value. This is one reason to keep the metrics separate. The relative frequency of correct heads and the relative frequency of fully correct labeled arcs can move differently. Aggregate values do not identify which tokens changed, so the pattern supports a metric-level comparison without diagnosing the underlying errors.

ELMo gives the highest gold-tag scores on HUTB-UTB, with 89.9 UAS, 86.1 LAS and 90.7 LA. CLE-UTB and HUTB-UTB thus share a ranking at the top of the gold-tag comparison. Each score still pertains to the test data and annotation for its own treebank. A higher labeled attachment score on one treebank can reflect its sentences, labels and training examples as well as how readily a parser learns from those examples.

Predicted tags at test time

The authors' separate tagger achieves a best accuracy of 96.3% on CLE-UTB with ELMo representations. On HUTB-UTB, its best reported accuracy is 90.95%, using Word2Vec. These are tagging accuracies. They measure which part-of-speech categories the tagger recovered, whereas the parser's metrics measure the arcs and relation labels learned from dependency supervision. The authors use the tagging results to interpret the attachment results when predictions replace gold tags in the test input.

Labeled attachment on CLE-UTB with predicted part-of-speech tags

The bidirectional parser leads MaltParser, with the highest score in the ELMo setting.

Labeled attachment on CLE-UTB with predicted part-of-speech tagsMaltParser: 78.2MaltParser78.2BiLSTM without external embeddings: 80.1BiLSTM without external embeddings80.1BiLSTM with word2vec: 80.3BiLSTM with word2vec80.3BiLSTM with ELMo (this paper): 81.2BiLSTM with ELMo (this paper)81.2
The numbers
System or settingLAS
MaltParser78.2
BiLSTM without external embeddings80.1
BiLSTM with word2vec80.3
BiLSTM with ELMo (this paper)81.2

On CLE-UTB with predicted tags, MaltParser obtains 85.3 UAS, 78.2 LAS and 86.3 LA. The BiLSTM without external embeddings obtains 86.3 UAS, 80.1 LAS and 87.6 LA. The setting with word2vec also obtains 86.3 UAS, with 80.3 LAS and 87.9 LA. With ELMo, the parser reaches 87.1 UAS, 81.2 LAS and 88.4 LA. Under predicted tags, ELMo again gives the strongest reported CLE-UTB result on all three metrics. Its scores are below those of the corresponding gold-tag parser.

On HUTB-UTB with predicted tags, MaltParser produces 83.5 UAS, 74.6 LAS and 80.9 LA. Without external embeddings, the BiLSTM parser reaches 84.7 UAS and 77.8 LAS. Both pretrained embedding settings obtain 85.1 UAS, 78.6 LAS and 85.3 LA. For attachment, then, the HUTB-UTB test under predicted tags ends in a tie between the pretrained settings. The paper's recommended reading of the predicted-tag tests focuses on the embedding-equipped BiLSTM results and the lower attachment scores associated with the lower tagging accuracy on HUTB-UTB.

Labeled attachment on HUTB-UTB with predicted part-of-speech tags

The pretrained settings share the highest labeled attachment score.

Labeled attachment on HUTB-UTB with predicted part-of-speech tagsMaltParser: 74.6MaltParser74.6BiLSTM without external embeddings: 77.8BiLSTM without external embeddings77.8BiLSTM with word2vec (this paper): 78.6BiLSTM with word2vec (this paper)78.6BiLSTM with ELMo: 78.6BiLSTM with ELMo78.6
The numbers
System or settingLAS
MaltParser74.6
BiLSTM without external embeddings77.8
BiLSTM with word2vec (this paper)78.6
BiLSTM with ELMo78.6

The shift in ranking across resources is informative. With gold tags, the best HUTB-UTB parser scores higher on labeled attachment than the best CLE-UTB parser. With predicted tags, the best CLE-UTB parser scores higher. The authors attribute the weaker HUTB-UTB outcome under predicted tags to its lower tagging accuracy. That interpretation is consistent with the within-treebank comparisons, where scores for the same attachment metric fall when tags come from the tagger. The two datasets still differ in other ways, so the ranking on its own does not identify how much of the difference comes from tag accuracy.

The earlier feature-rich Urdu results

The paper also compares its approach with earlier experiments by Bhat and colleagues. Their arc-eager Urdu baseline uses part-of-speech tags, chunk tags, lemmas and word cluster identifiers. It achieves 88.77 UAS, 81.19 LAS and 84.84 LA. The study then adds features for case, agreement, complex predicates and the construction known as ezafe, reaching 90.39 UAS, 83.21 LAS and 86.92 LA. In Ehsan and Butt's comparison, the only explicit syntactic input feature in addition to the words is the part-of-speech tag. The earlier figures illustrate how much manually supplied information a parsing system can draw on and put the newer lexical transfer experiments in context.

The paper interprets the BiLSTM gains as evidence that contextual token representations and pretrained embeddings may capture syntactic cues that are absent from the explicit input features. The experimental measurements show that the complete parser settings predict attachments more successfully. The interpretation about which unrecorded cues the parser acquired goes beyond the score itself. Finding that a setting helps with labeled attachment, for example, does not identify whether it helped most with agreement, case distinctions, a particular predicate construction or another source of evidence.

What the ablations show

The embedding comparison isolates an input choice

The paper offers controlled comparisons within the parser experiments. The closest comparison to a component ablation is the BiLSTM with its learned internal inputs alone, with word2vec added, and with ELMo added. Comparing these settings within the same treebank and tag condition keeps the source of dependency supervision and the evaluation target fixed. The results can therefore speak to the choice of pretrained representation more directly than the comparison across parser architectures can.

On CLE-UTB with gold tags, labeled attachment goes from 83.3 without external embeddings to 83.7 with word2vec and 84.2 with ELMo. The same ordering appears for UAS and LA. This pattern shows that the extra lexical information can help even when the test tokens already have reference tags. A tag places a word in a grammatical category, but a parser still has to choose how this occurrence of the word combines with other words in the sentence. The attachment and labeling results measure whether the added lexical representation helps make those choices.

With predicted CLE-UTB tags, word2vec matches the no-external-embeddings condition on UAS at 86.3 while improving LAS from 80.1 to 80.3. ELMo improves both metrics in that condition. Because LAS includes a head requirement, it can improve while UAS stays fixed if the labels attached to correctly headed tokens are more often right, or if changes in which tokens have correct heads alter the balance. The reported aggregate scores cannot distinguish these possibilities. They do show why an analysis based on UAS alone would miss part of the observed effect.

HUTB-UTB provides another qualification. The word2vec setting with reference tags gives 89.6 UAS compared with 89.7 without pretrained embeddings, while LAS goes from 85.6 to 85.8. ELMo has the strongest reference-tag result, but the two embedding choices share the same predicted-tag attachment scores. The comparison supports the use of pretrained information in the stronger settings. It provides narrower evidence for a general preference between the two embedding methods, since the ordering depends on the metric and tagging condition.

Tag substitution tests the input the parser receives

The reference-tag and predicted-tag tests let the reader follow the effect of a practical change to the parsing input. With reference tags, the parser can take the token categories as given for evaluation. With automatic tags, an upstream error can change the evidence available when the parser is deciding on an attachment. In both treebanks the best UAS and LAS are lower under predicted tags, and the same direction holds for the corresponding MaltParser results. That comparison supports the authors' emphasis on the quality of the tagging stage.

The larger loss in attachment on HUTB-UTB accompanies the lower best tagging accuracy reported for that resource. This association is more informative when read alongside the within-treebank tests. A comparison of taggers across datasets alone would tell us how often the categories are predicted correctly, while a comparison of parser scores across datasets alone would leave open the reason for the changed ranking. Testing each parser under the two tag conditions makes the connection between the tag input and the attachment outcome observable.

The tests do not classify upstream tag errors by their consequences. Confusing two tags could leave an attachment intact in one context and change the head or label in another. An overall tag accuracy pools those events. The experiments also do not report what happens as a series of controlled amounts or types of tag error are introduced. The conclusions concern the actual predictions of the reported tagger and the actual sets of reference tags.

The conversion gets a structural comparison

The paper shows the source phrase tree, the intermediate dependency tree after head finding and the final dependency tree after mapping and corrections. The comparison reveals what each stage contributes. Head finding exposes which words anchor the major groups. The mapping replaces intermediate labels with target relations and adjusts the analysis for constructions such as the copula. The post-conversion conditions add distinctions, such as indirect object versus oblique, that can depend on case marking the phrase label groups together.

The figures offer a trace through the procedure for one sentence. They let a reader inspect specific decisions about the subject, possession, subordination, the complex predicate and the auxiliary. The paper does not report a quantitative conversion ablation that removes the parent context, substitutes a different head table or disables individual correction rules. The parser ablations therefore give evidence about which input settings help prediction, while the example gives a linguistic account of how individual conversion decisions are made.

The MaltParser and BiLSTM comparison has a related boundary. Both see token and tag information, and both are evaluated on the same treebank within each comparison. Their transition systems and scoring procedures differ. The experiments show which complete parser performs better in those conditions. To assign the improvement specifically to bidirectional context, the transition algorithm or training guidance, a comparison would have to vary those ingredients separately.

Limitations

Limits identified by the authors

The authors state that they lacked a reference dependency corpus during conversion. They checked their resulting labels against the UD inventory and the UD version of HUTB-UTB. These checks can establish whether a relation name belongs to the intended scheme and whether the chosen analyses are consistent with the kinds of distinctions used in an existing Urdu resource. A parallel dependency annotation of the same CLE-UTB sentences would permit a different test, with each automatically chosen head and relation compared against an independent analysis of that sentence.

The source annotation also has limits that enter directly into the conversion. Secondary objects share the broad oblique category, so the target distinction has to be inferred from other evidence. The authors use case in the specific rule they give. Similar dependence on contextual cues appears in the handling of clauses and fixed expressions. These rules make individual decisions inspectable, but their coverage depends on whether the construction presents the specified clues. The authors say the rules helped improve the conversions. They do not give a separate numerical estimate of accuracy for the constructions each rule handles.

The paper stresses how much part-of-speech tagging matters in the parsing of small and medium-sized treebanks. This claim comes from the difference between testing with reference tags and testing with the predicted tags supplied by their tagger. It is especially visible in the HUTB-UTB experiments. The results with reference tags describe the parser's performance when a valuable source of syntactic input is already available. The predicted-tag results are the relevant measurements for the pipeline that must supply that input itself.

Limits apparent from the setup

A held-out test can tell us whether the parser learned to reproduce the converted annotation. The test set for CLE-UTB nevertheless uses that same conversion procedure to define its reference arcs. If a conversion rule makes a recurring grammatical error, a parser that learns that error can receive credit for reproducing it. Conversely, a parser can disagree with a converted tree for a linguistically plausible reason and be marked wrong. The qualitative example and comparison with HUTB-UTB give the reader some evidence about the intended linguistic analysis, but the reported scores cannot quantify either of those cases.

The paper speaks of giving different resources a common format and reports separate experiments on CLE-UTB and HUTB-UTB. The reported scores do not establish the effect of mixing their training sentences or training on one and testing on the other. A shared inventory makes such comparisons possible in principle. Differences in tagging, construction coverage and earlier annotation choices could affect their outcome. Even the reported inventories differ across the experimental resources, with 28 relation labels in converted CLE-UTB and 25 in the UD version of HUTB-UTB. The experiments demonstrate learnability within each resource under the conditions tested.

CLE-UTB comes from a balanced collection spanning 15 genres, and the aggregate results describe its held-out test set. The paper gives no per-genre attachment scores. It also gives no per-relation parser results that would establish how often secondary objects, copulas or open complements are handled correctly. A favourable overall LAS can coexist with low accuracy on a less common construction. The running example helps explain how an intended analysis emerges from the rules, while aggregate scores leave the distribution of errors across constructions open.

The constituency comparison requires a further distinction. The cited Stanford parser result of 68.3% is functional accuracy for a constituency setup with function labels. The current experiments report attachment and label-based metrics for dependency parsers. The figures are useful in explaining why the authors pursued conversion. They do not form a controlled comparison of the two representations under the same learning procedure and evaluation metric. Similarly, the results cited for earlier feature-rich Urdu parsing describe systems with different inputs and do not serve as additional rows in the controlled BiLSTM comparison.

The paper describes the embedding gains as significant, but gives point scores for the settings without reporting repeated-run variation or a significance test. The comparison therefore supports the observed rankings and ties. It does not establish their stability across training runs. The embedding conditions also differ in their representation method and dimensionality, so the results cannot by themselves attribute the ELMo gains to contextualization alone.

One table entry warrants care. For the HUTB-UTB BiLSTM without external embeddings under predicted tags, the paper prints an LA of 94.9. That value is higher than the label accuracies shown for the pretrained settings under predicted tags, and higher than the corresponding no-external-embeddings result with gold tags. The discussion highlights 85.3 LA for the embedding-equipped settings and does not explain the 94.9 entry. The UAS and LAS entries for those conditions are in line with the attachment comparison in the discussion. The unexplained cell leaves the ranking by predicted-tag LA less clear than the rankings by the two attachment metrics.

What came after

Later citations take the Urdu work into two related areas. Papers on Punjabi and Saraiki take up Universal Dependencies for other languages. A paper on historical Urdu takes up the collection of text and images for a diachronic corpus. The citation relationships show that the Urdu parsing study appears in these later research contexts. They do not establish that any of the projects used CLE-UTB, ran the conversion code or adopted the Urdu head rules.

Universal Dependencies for Punjabi (2022) addresses grammatical annotation for Punjabi in the shared UD framework. Its link to the Urdu study is the problem of expressing a language's grammatical analyses through a common inventory. In the Urdu work, that problem took the specific form of recovering heads and relations from an existing phrase treebank. The title and citation of the Punjabi study establish the connection at the level of the framework, with the treatment of the Urdu conversion procedure itself left unspecified. Universal Dependencies for Punjabi

Universal Dependencies for Saraiki (2024) takes up UD for Saraiki. It is another citing work whose stated subject is the construction or description of a language resource in that framework. The shared question is how to give the grammar of a particular language an analysis expressed in categories that can also be used elsewhere. The citation does not identify a transfer of the CLE-UTB mapping or its construction-specific rules to Saraiki. Universal Dependencies for Saraiki

Scripting History (2026) is concerned with a historical Urdu corpus containing text and images. Its focus connects to the parsing study through the development of resources for Urdu. Ehsan and Butt begin with sentences that already have grammatical annotation and change the form of that annotation. The later corpus addresses historical material and includes images alongside text. Its citation establishes that the parsing study forms part of its research context, with no specific reuse of the converted trees or parsing results established. Scripting History

Cite

Cite as Toqeer Ehsan and Miriam Butt. 2020. Dependency Parsing for Urdu: Resources, Conversions and Learning. Proceedings of the Twelfth Language Resources and Evaluation Conference.

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

@inproceedings{ehsan2020dependency,
  title = {{Dependency Parsing for Urdu: Resources, Conversions and Learning}},
  author = {Toqeer Ehsan and Miriam Butt},
  booktitle = {Proceedings of the Twelfth Language Resources and Evaluation Conference},
  year = {2020},
  url = {https://aclanthology.org/2020.lrec-1.640/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/ehsan-2020-dependency-parsing-urdu-resources-conversions/