---
title: "Statistical Syntactic Parsing for Latvian — Pretkalniņa 2013"
description: "How a Latvian treebank was converted for statistical dependency parsing, and how morphology and parser choice affected attachment accuracy."
canonical: "https://research.elamur.ai/free/en/papers/a-2013-statistical-syntactic-parsing-latvian/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/a-2013-statistical-syntactic-parsing-latvian/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2013](https://md.research.elamur.ai/free/en/papers/2013/) / Statistical Syntactic Parsing for Latvian

# Statistical Syntactic Parsing for Latvian

Paper · 2013 · Lauma Pretkalniņa and Laura Rituma

**Authors:** [Lauma Pretkalniņa](https://md.research.elamur.ai/free/en/authors/lauma-pretkalnina/) and [Laura Rituma](https://md.research.elamur.ai/free/en/authors/laura-rituma/) · **Year:** 2013 · **Venue:** Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013) · **Licence:** [CC BY-NC-SA 3.0 (ACL Anthology, before 2016)](https://creativecommons.org/licenses/by-nc-sa/3.0/)

Cited by **4** papers in our library of the 163,136 papers whose bibliographies we read · Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013) · [licence](https://creativecommons.org/licenses/by-nc-sa/3.0/)

- [Publisher's page](https://aclanthology.org/W13-5625/)
- [PDF](https://aclanthology.org/W13-5625.pdf)

## Summary

A Latvian sentence can signal grammatical relationships through the forms of its words even when their order varies. An automatic parser has to use those clues to determine which words belong together syntactically. Pretkalniņa and Rituma investigate whether a general-coverage parser for Latvian can learn that task from a small collection of annotated sentences. Their immediate goal is to recover the head of each word, the word or root position to which it attaches. This is the central prediction in [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/).

The training material came from the Latvian Treebank, a collection of sentences with human-verified annotations. Its SemTi-Kamols scheme represents some constructions as phrases alongside ordinary dependencies between words. MaltParser, the toolkit the authors use to learn from the annotated sentences, expects a tree organized around individual tokens. The authors write a conversion script that turns each phrase into a small dependency tree. A designated word or punctuation mark stands for the phrase where it connects to the rest of the sentence. That choice varies with the construction. A conjunction can represent a coordination, for example, while a preposition represents a prepositional phrase.

The experiments use 2519 sentences and compare ways of representing word forms and grammatical features, as well as different strategies for building dependency trees. The strongest configuration averages 74.63% unlabeled attachment score in 10-fold cross-validation with human-verified grammatical tags. The score measures whether the parser chooses the reference head, regardless of the name of the grammatical relation. This configuration uses the non-projective stack algorithm with its lazy strategy, which can handle structures whose links are difficult to reconcile with the surface order. A projective stack parser averages 74.57% when paired with preprocessing that encodes information about such structures. Both configurations use lemmas, or dictionary forms, alongside the inflected words and grammatical features.

Separating grammatical attributes into individual inputs improves attachment scores in the initial comparisons. Lemmas also help the configurations the authors retrain with them. When the authors repeat the strongest setup on automatically tagged sentences, the average falls to 72.2%. That preliminary result gives a more practical indication of how the parser behaves when it has to rely on another program for its grammatical input. The headline result establishes how well the parser recovers heads in the converted treebank under the study’s cross-validation setup. Recovering the richer original annotations, predicting the names of dependency relations, and establishing accuracy on other Latvian text remain open.

## Deep dive: Statistical Syntactic Parsing for Latvian

How a Latvian treebank was converted for statistical dependency parsing, and how morphology and parser choice affected attachment accuracy. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What the parser needs to recover

Knowing the order of the words in a sentence gives a reader one kind of evidence about its structure. Knowing the grammatical form of each word gives another. Latvian is highly inflected, and the paper describes its word order as relatively free. The same kinds of grammatical relations can occur in different positions. A parser that learns from examples therefore needs a representation that makes useful regularities visible across different word forms and arrangements. The grammatical properties carried by inflected forms belong to [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/).

The paper treats syntactic analysis as a task of assigning structure to a sentence. In a dependency tree, a link goes from a head to a dependent. A word can govern several dependents, and its own head can be somewhere else in the sentence. The resulting tree records a set of grammatical connections over the written sequence. This makes it possible to ask a concrete question about a prediction. Given a particular word in the sentence, did the parser connect it to the point that the reference annotation specifies? The broader task of identifying sentence structure is [parsing](https://md.research.elamur.ai/free/en/concepts/parsing/).

Head choice and relation naming provide different information. A parser might assign a modifier to the right noun while giving the link the wrong grammatical label. It might also recognize a plausible grammatical function while attaching the word to the wrong head. The distinction matters because the paper evaluates head choice. Its scores concern whether dependencies connect to the right places in the tree. To judge whether a system also recovers the intended grammatical functions, a reader would need a further evaluation.

#### Why a learned parser was worth trying

The authors describe earlier Latvian parsing work as having limited reach. An experimental rule-based partial parser used a hybrid account of sentence structure and relied on hand-written rules. Those rules covered simple extended sentences and could already produce substantial ambiguity within that range. The problem was therefore both how to cover more sentences and how to choose a structure when several analyses were possible.

Other efforts pursued narrower applications. A grammar checker, for instance, could be designed around the constructions relevant to diagnosing grammatical problems. Work on controlled languages had a different objective again. These projects showed ways of building Latvian language tools within a specified scope. The present paper asks how much ordinary sentence structure can be learned directly from examples. The authors cite the grammar-checking work as [CFG Based Grammar Checker for Latvian](https://md.research.elamur.ai/free/en/papers/deksne-2011-cfg-based-grammar-checker-latvian/).

A statistical parser shifts part of the work from writing rules to preparing examples and choosing what the learner gets to observe. The desired attachments in those examples are already supplied by annotators. The learner uses the annotated sentences to acquire preferences that it can apply when attachments are unknown. In this setting, “general coverage” expresses the intended scope of the approach. The authors seek a parser that can be applied to sentences across constructions. The extent of that coverage still depends on which constructions and genres are represented in training and evaluation.

The annotated resource was under development and contained material from several genres, including news and fiction. The authors describe the collection as unbalanced and, to their knowledge, the largest available syntactically annotated Latvian corpus at the time. Each examined sentence contributes a record of how its words and phrases were analyzed. A collection designed to preserve that structure is a [treebank](https://md.research.elamur.ai/free/en/topics/treebanks/).

#### The representation problem that came with the data

Access to annotated sentences did not immediately give the authors the training examples MaltParser required. The Latvian Treebank combines word dependencies with explicit groupings for constructions such as coordination. A coordinated expression can be marked once as a unit and then attached to the rest of the sentence. The annotator can also record a dependent of an individual member inside that unit. This arrangement is part of the SemTi-Kamols scheme, whose representation the authors describe in earlier work on the [Prague Markup Language profile for SemTi-Kamols](https://md.research.elamur.ai/free/en/papers/pretkalnina-2011-prague-markup-language-profile-semti/).

MaltParser expects dependencies with endpoints in the token sequence, together with the root convention used to organize the sentence tree. A phrase node has no independent position in that sequence. To use the available toolkit, the authors therefore needed to decide which token should carry each phrase’s external connections and how to organize the other tokens inside the phrase. Those decisions define the target that a correct prediction must match. They do more than change the way an existing tree is stored on disk.

The paper gives both linguistic and practical reasons for choosing MaltParser. The authors considered the dependency part of the hybrid annotation closer to dependency grammar than to an analysis organized entirely around phrase structure. MaltParser also offered documented software that they could train in a reasonable amount of time. These considerations made it possible to test several established parsing strategies on a common conversion of the treebank.

#### Why word order matters to the choice of algorithm

A dependency tree is called projective when its links respect a constraint on how the tree can extend across the ordered words. For a link between a head and a dependent, the words between the endpoints must belong within the head’s part of the tree. A familiar way to visualize the constraint is to place words along a line and draw their links above it. Links that cross in that drawing help illustrate why some structural analyses are difficult for a projective parser. The issue here is which attachments the annotated trees require, including attachments associated in the paper with parenthetical material and direct speech.

The authors draw on earlier algorithms that address the constraint in different ways. Arc-eager and arc-standard are projective strategies in the comparison. They differ in how the parser builds a tree as it proceeds through the words. The Latvian study uses their implementations in MaltParser. The two sources it cites are [An Efficient Algorithm for Projective Dependency Parsing](https://md.research.elamur.ai/free/en/papers/nivre-2003-efficient-algorithm-projective-dependency-parsing/) and [Incrementality in Deterministic Dependency Parsing](https://md.research.elamur.ai/free/en/papers/nivre-2004-incrementality-deterministic-dependency-parsing/).

Another route is to let the parser handle non-projective structures directly. The stack variants used for this purpose can use a swap operation to change the order in which items are processed. That makes certain connections possible that a parser following projective constraints could not produce directly from the same surface sequence. The paper draws its non-projective stack approach from work including [Non-Projective Dependency Parsing in Expected Linear Time](https://md.research.elamur.ai/free/en/papers/nivre-2009-non-projective-dependency-parsing-expected/).

A projective parser can also be used inside a procedure for recovering non-projective dependencies. The training trees are changed so their links satisfy the projective constraint, and markings in the transformed representation retain clues about the original attachments. The parser learns on those trees, and a subsequent step uses the markings in an attempt to recover the original structure. This gives the Latvian study a way to investigate how much depends on the parser’s internal operations and how much can be handled through the representation of its training and output. It draws this procedure from [Pseudo-Projective Dependency Parsing](https://md.research.elamur.ai/free/en/papers/nivre-2005-pseudo-projective-dependency-parsing/).

### The method, step by step

#### From an annotated sentence to a prediction target

The work begins with sentences that already have grammatical and syntactic analyses. The authors convert the syntactic layer into the dependency format required for training. They then choose which information about each token to make available to the parser. With those inputs fixed for an experiment, they train a MaltParser configuration and evaluate its head choices on sentences held out from that training run. For configurations that use pseudo-projective processing, the training transformation and the recovery of dependencies are additional parts of this procedure.

From Latvian Treebank annotations to scored dependencies The steps in order.

The syntactic conversion and the choice of input features do different jobs. Conversion specifies which word heads the parser should learn to predict. Input features describe the words from which the parser makes those predictions. For example, changing the head of a coordination changes the answer the parser is supposed to produce. Giving the parser the case of a noun changes the evidence available for producing an answer. Much of the study depends on keeping these roles distinct.

#### What the treebank records

The treebank has separate layers for grammatical information about tokens and syntactic information about sentences. Annotators work mainly by hand in the TrEd toolkit, and the material is human-verified. The authors relate this multilayer design to that of the Prague Dependency Treebank. The Latvian resource had yet to add a dedicated tectogrammatical layer, although its syntax layer already treated some of the information that could belong there. The parser experiment concentrates on the information available from the existing layers.

On the morphological layer, each token has a positional tag. A positional tag compresses several pieces of information into a single string, with positions used to represent particular properties. The tag inventory follows principles used in MULTEXT-East. In addition to grammatical properties of the word as used in a sentence, the Latvian tags can carry lexical information such as declension group. A parser given the whole string can treat a complete combination of values as a feature. A parser also given the decoded positions can encounter a particular attribute independently of the rest of that combination.

On the syntactic layer, words and phrase nodes can participate in dependencies. A phrase node can have a governing head and can also have dependents of its own. Its internal constituents can themselves govern dependents. Their membership in the phrase accounts for how they connect upward in the hybrid representation. A constituent may itself be another phrase, so the distinction between the whole group and its members can recur inside the same construction.

That arrangement can express, for instance, that a coordination acts as a subject and that one of its individual members has a modifier. The subject relation belongs to the coordination as a unit. The modifier belongs to its particular member. The conversion must preserve enough of the distinction to produce a useful word-level analysis even after the grouping node disappears.

#### How the phrase categories guide conversion

SemTi-Kamols has distinct groupings for coordination, punctuation mark constructs, and x-words. Coordination brings together the coordinated elements and the conjunctions or punctuation used to connect them. The same general representation can cover coordinated parts of a sentence and coordinated clauses. Within it, subtype information indicates what kind of coordination the annotator has identified.

Punctuation mark constructs represent cases where punctuation helps identify a syntactic unit. The representation groups a base element, which can be a word or a phrase, with the marks associated with it. The paper cites subordinate and participial clauses among the constructions this can describe. The punctuation in such a group is part of an explicit analysis of the construction. The conversion can therefore use it as a structural element in a way that would be hard to understand from the surface mark alone.

X-words group ordered expressions. In the annotation scheme they cover a range of constructions, including analytical verb forms, multiword numerals, and named entities. They also include subtypes such as prepositional expressions and complex predicates. The category by itself gives only part of the information needed for conversion. The rules need the subtype and, where relevant, the shape of the particular construction to decide how its components become a dependency fragment.

These categories explain why the conversion takes the form of a set of linguistic rules. Each grouping has an internal organization, and the output needs to represent that organization through directed links between tokens. A uniform policy such as choosing the first token in every group would discard useful distinctions encoded by the annotators. The authors consult linguists to specify how each type and subtype should be treated, then implement those choices in a treebank conversion script.

#### Choosing a head for each converted phrase

Each phrase becomes a fragment that is itself a well-formed dependency tree. The converter chooses a head token to serve as the root of that fragment. If the original tree says that the phrase depends on something outside it, its chosen head now carries that link. If the phrase as a whole governs something outside it, the corresponding connection also goes through the chosen head. A dependent originally attached to a specific constituent keeps its connection to the corresponding node.

There is a practical reason to prefer a constituent that could carry no dependents of its own in the source representation. Once that constituent represents the whole group, dependents inherited from the group are easier to distinguish from those originally belonging to a constituent. If the chosen token could already have its own dependents, both kinds of connection could end up at the same place. The word-level structure would then carry less evidence about where those connections came from.

The head rules reflect the differences between phrase types. A coordination uses a conjunction when one is available, with punctuation taking that role when there is no conjunction. A punctuation mark construct is headed by a punctuation mark, with the first selected when several are present. In a prepositional x-word, the preposition takes the head role. In a multiword numeral, the rule selects the last numeral. The relevant position is therefore determined in part by the construction and partly by the identities of its constituents.

Other tokens must be connected to the chosen head in a way that produces a usable fragment. In some constructions they all attach directly to it. In others they form a chain in sentence order and that chain links to the head. The paper gives punctuation mark constructs as an example of direct attachment and multiword numerals as an example of chaining. Where a construction offers no more specific reason to choose a different arrangement, the other members attach to the last constituent.

When phrases are nested, the representation must designate a token through which the transformed inner group can take part in the outer group. Each phrase fragment has an internal head, and that head gives the converter a token-level point of contact. Consider what happens if the head constituent selected for the outer phrase is itself a phrase. The same token can end up representing several layers of grouping. A dependency tree can still have a definite head at that point, but a reverse conversion would need evidence of how many groupings the head represents and what kind they were.

#### Following the paper’s example through the conversion

The paper illustrates the rules with a sentence about a boy and a girl going to an old school. In the original annotation, *Zēns* and *meitene* are members of the coordination that serves as the subject. The conjunction *un* also belongs to that coordination. The verb *gāja* provides the predicate. On the destination side, the preposition *uz* and the noun *skolu* occur inside the prepositional grouping, while *veco* modifies the noun.

The transformed coordination is headed by *un*. Its link to the predicate represents the connection that the entire coordinated subject had in the hybrid tree. The two coordinated nouns link inside the fragment represented by the conjunction. A parser evaluated on this tree is therefore expected to recover the conjunction as the relevant head for those internal connections. That expectation follows from the authors’ conversion convention for this treebank.

In the destination expression, *uz* takes the head role for the prepositional grouping, and *skolu* connects inside the resulting fragment. The attachment of *veco* to *skolu* is preserved. This part of the example shows why conversion does more than build a flat group around a representative token. A dependent of a constituent can remain a dependent of that same constituent even when the phrase’s external connection is transferred to another word.

The same illustration shows how the converted relation labels can convey information about several levels of the original annotation. The labels give clues about such distinctions as whether an attachment was associated with a phrase and what part a token played within it. Those clues are relevant to a future reverse conversion. In the reported evaluation, the score checks the head assignments. A parser could recover the expected token links while still losing distinctions needed to reconstruct the original groups.

#### Turning grammatical tags into learning features

The initial baseline supplies MaltParser with token forms and whole morphological tags using its default feature configuration. A form records the token as it appears in the sentence. That input can preserve useful distinctions between inflected words, but it can also spread evidence across many forms or across many combinations of grammatical attributes. The paper reports that the full tag inventory has approximately 500 different tags. With a small treebank, some complete combinations can have few opportunities to appear in training. The distinction starts with what counts as a [word form](https://md.research.elamur.ai/free/en/concepts/word-form/).

The authors first compare full tags with shortened tags. Shortening removes lexical attributes from the tag while retaining the grammatical information targeted in that comparison. The token form is still present. The change lets occurrences with different values for a removed lexical attribute share the same shortened tag, giving the learner more examples of some remaining combinations. The question is whether the loss of those distinctions is outweighed by the increased reuse of the tags.

The authors also decode the positional tags and supply individual attributes alongside the whole tags. An adjective and its potential noun head, for instance, can be compared through number, case, and gender separately. A complete adjective tag includes more information than the values relevant to any one agreement relation. Exposing those values individually allows evidence for a pattern to carry over across otherwise different tags. The paper offers agreement as a motivation for the representation. It evaluates the features together through attachment scores.

MaltParser uses LIBSVM as the learner in these experiments. The authors follow toolkit guidance in choosing it because it can combine features without requiring them to specify those combinations by hand. The training examples still depend on human decisions about which inputs to expose. Feature combination can use the decoded values once they are present, while the choice to make those values available is part of the study’s feature design.

The final feature extension adds lemmas. A lemma groups inflected occurrences under a common dictionary form. The surface token retains its identity in the input, the morphological attributes describe properties of its use, and the lemma supplies another way to recognize it across inflections. The authors add lemmas for a selected set of previously tested configurations. Their motivation and procedure depend on the difference between a surface form and a [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/).

#### Training the parser and varying its strategy

The authors use MaltParser version 1.7.1. A transition-based parser builds a dependency tree through successive actions. It keeps track of words that remain to be processed and words it has already made available for possible attachments. At each stage the current configuration determines which operations are possible. From the annotated training sentences, the learner acquires preferences among operations based on the features supplied for the relevant items.

The non-projective stack experiments use eager and lazy variants. The parser’s stack keeps items available as the analysis proceeds. The swap mechanism permits a change to the processing order when the target structure requires it. The variant names identify different strategies for the timing of decisions in this process. In the paper’s evaluation they are complete algorithm settings, tested on corresponding sets of input features. The study reports what those settings achieve and gives no separate measurement of the swaps made on particular constructions.

The projective series uses arc-eager, arc-standard, and projective stack parsing. The authors first have settings with pseudo-projective preprocessing turned off. They then run each projective algorithm with alternative markings. Head marking, path marking, and combined head and path marking are the settings under comparison. They retain different clues about the attachments that were altered to make a tree projective. The markings used by the procedure are part of how recovery works even though the ultimate evaluation ignores the grammatical names of the predicted relations.

The full path through a pseudo-projective experiment has a different shape from direct non-projective parsing. Training starts with trees in the converted annotation scheme. The preprocessing changes certain arcs and records clues about their earlier form. The projective parser learns from the resulting trees. During evaluation, the corresponding recovery procedure interprets the predicted markings to reconstruct attachments where possible. Agreement is then measured against the intended reference heads. This allows the projective parser to take part in an experiment whose reference includes non-projective structures.

In comparing algorithms, the authors also use the same data to test both planar and 2-planar methods. These provide other ways of constraining how links can be organized. Their inclusion broadens the comparison beyond the choice between a stack parser using swaps and a projective parser coupled with preparatory transformations. The paper assesses the implementations through attachment accuracy. It does not break down the structures that account for the differences among these alternatives.

For most experiments, the held-out sentences are presented with the treebank’s human-verified morphological tags. This lets the experiment ask how well the parser uses a relatively reliable grammatical analysis while learning from limited syntactic examples. In a follow-up run, the authors replace the original tags with output from a statistical morphological tagger and repeat the strongest parser configuration. Tagging is then a preceding automatic task. The tagger can supply inflectional and lexical details as well as categories of the sort associated with [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/).

### Experiments and results

#### The evaluation corpus and its folds

The treebank contained 2519 sentences. They represented several genres but were assembled without genre balance. The corpus description gives a size of 29,398 tokens and reports sentence lengths ranging from 1 to 200 tokens, with a mean of 11.67 tokens. The experimental setup gives a different count of 29,496 tokens for the same stated number of sentences. The paper gives no explanation for the discrepancy. The counts can be attributed to their respective descriptions, while the number of evaluated sentences is consistent across them.

After conversion to pure dependencies, the authors classify 13.29% of the sentences as non-projective. This is a share of sentences in the converted collection. A sentence falls into the category because its tree contains a non-projective structure, even if many of its attachments cause no difficulty for a projective method. The number makes non-projectivity relevant to the choice of parser and preprocessing. It leaves open how much of the overall attachment score depends on precisely those links.

The authors evaluate with 10-fold cross-validation. In each run, one subset supplies the held-out sentences and the other subsets supply the training material. The held-out subset changes between runs. To distribute sentences more evenly across validation subsets, the authors select roughly 10% of the sentences from each document when forming a subset. This makes the evaluation a test of held-out sentences drawn from the available document collection. The reported experiments use the same overall validation design for their comparisons.

The tables report the average, minimum, and maximum score across the folds for each configuration. The average is the paper’s main basis for ranking settings. The minimum and maximum describe the weakest and strongest runs in that series. These can be useful when two configurations have similar averages, since it is possible for one to have a higher minimum while another has a higher maximum. The extremes alone do not show which setting is better on each fold or how consistent the difference is.

#### What unlabeled attachment measures

Unlabeled attachment score, abbreviated UAS, measures the percentage of scored tokens assigned the head selected by the reference annotation. The authors calculate it with the evaluation script supplied in the CoNLL-07 shared-task toolbox. A word’s attachment counts as correct when the parser selects the expected head. The label assigned to the link is outside this measure.

This makes UAS a way to evaluate a structural prediction without also requiring recovery of the treebank’s grammatical distinctions. In the coordination example, it matters whether the predicted head of a coordinated noun matches the head specified by the conversion. The score does not depend on whether the label contains the correct information about the coordination subtype or the noun’s constituent role. An individual attachment can also count as correct in a sentence whose full tree contains other errors.

The paper supplies no equations for the conversion, the learning procedure, or the score. Its evaluation is specified by the named attachment measure and scoring script. That specification matters because the reported percentages should be read as the results of that procedure on the converted treebank. They do not represent sentence-level exact matches or the share of grammatical relation labels correctly predicted.

#### The baseline and changes to morphological input

The baseline experiments use non-projective stack parsing with word forms and whole morphological tags. They compare the eager and lazy variants and use either full or shortened tags. The authors then add decoded grammatical attributes to both tagging representations. This creates comparisons in which the parsing strategy can be held fixed while the tag representation changes.

Mean unlabeled attachment on the Latvian Treebank with stack-lazy parsing and manual tags Decoding the tag positions improves attachment with either tag inventory.

**The numbers**

| System or setting | UAS % |
| --- | --- |
| Full tags without decoding | 69.77 |
| Short tags without decoding | 72.55 |
| Full tags with decoding (this paper) | 74.15 |
| Short tags with decoding | 74.04 |

With stack-lazy and whole tags alone, the shortened inventory gives a mean of 72.55% UAS, compared with 69.77% using full tags. The eager settings show the same ordering in this comparison. Their mean UAS is 69.24% with full tags and 71.95% with short tags. The comparison assesses the removal of lexical attributes from the whole-tag input while retaining forms. It does not assess whether particular lexical attributes are useful when given their own representation.

Feature decoding changes the results. With the lazy variant, the average is 74.15% for full tags and 74.04% for shortened ones once decoded attributes are supplied. The stack-lazy setting with short tags and decoding spans 71.17% to 78.68% UAS across folds. The corresponding setting with full tags spans 71.41% to 77.77%. The highest individual validation score in this pair belongs to the short tags, while the higher average belongs to the full tags. The authors use full tags with decoded attributes for the following algorithm comparisons.

#### Projective processing and alternative parsers

The next set of experiments asks how far a projective parser can go on this data. For each projective algorithm the authors test a setting without pseudo-projective processing and settings that encode information about the dependencies changed during projectivization. The no-transformation arc-eager parser averages 71.96% UAS. With head marking it averages 73.66%, and with path marking it averages 73.78%. The combined marking setting is also reported at 73.78%.

For the projective stack parser, the mean without the transformation is 71.89%. The head-marking setting reaches 74.03%, while the path and combined settings both give 73.74%. Arc-standard with head marking averages 73.71%. These are results on a common feature setup using full tags and their decoded attributes. The authors describe the gains from projectivization as generally in the range of 1–2% points, and report that differences among the resulting algorithm and marking choices are small.

Mean unlabeled attachment by parsing algorithm on the Latvian Treebank before adding lemmas The projective stack parser with head marking comes close to stack-lazy, while the planar settings score lower.

**The numbers**

| System or setting | UAS % |
| --- | --- |
| Planar | 72.38 |
| 2-planar | 71.96 |
| Projective stack with head marking | 74.03 |
| Non-projective stack lazy (this paper) | 74.15 |

The comparison places the best projective setting in the same range as the best non-projective stack setting on average. The projective stack parser with head marking ranges from 71.97% to 76.38% UAS across folds. Stack-lazy ranges from 71.41% to 77.77%. The projective setting therefore has the higher observed minimum and stack-lazy has the higher observed maximum. The planar and 2-planar settings both have lower mean attachment scores on these data.

These are comparisons among systems trained for the same Latvian task. The paper also gives scores for English and Czech as context, citing up to 93% and up to 88.8% UAS respectively. Those figures motivate the difficulty of approaching contemporary results reported for other languages while using a limited Latvian treebank. The Latvian study does not rerun those experiments with matched training resources or a shared annotation scheme. The external figures come from work on [joint tagging and non-projective dependency parsing](https://md.research.elamur.ai/free/en/papers/bohnet-2012-transition-based-system-joint-part/).

#### Adding lemmas and repeating the strongest configuration

The authors add lemmas to the data and retrain a selection of strong configurations from the earlier comparisons. The results table shows that stack-lazy retains the highest average. The projective stack parser with head marking remains close, and the marked variants of arc-eager and arc-standard also remain competitive. The algorithm ordering is therefore best read together with the feature setup used in this stage.

Mean unlabeled attachment on the Latvian Treebank with lemmas and human-verified tags Stack-lazy has the highest mean, with the projective stack setting close behind.

**The numbers**

| System or setting | UAS % |
| --- | --- |
| Non-projective stack eager | 74.21 |
| Non-projective stack lazy (this paper) | 74.63 |
| Projective stack with head marking | 74.57 |
| Arc-eager with path marking | 74.47 |
| Arc-standard with head marking | 74.49 |

For the strongest mean, the stack-lazy fold scores span 71.51% to 79.24% UAS. The projective stack parser with head marking spans 71.86% to 77.98%, and arc-standard with head marking spans 72.16% to 77.9%. Arc-standard’s observed minimum is higher than the minimum for stack-lazy in this series. The headline score of 74.63% is the cross-validation average for stack-lazy with the lemma-enriched inputs. The 79.24% value is its highest result on an individual fold.

The final run uses stack-lazy with lemmas on sentences retagged by a statistical morphological analyzer. This gives a mean of 72.2% UAS, with a minimum of 69.39% and a maximum of 76.95% across folds. The automatic analyzer also provides some lexical information unavailable in the manual tags. The paper mentions source lemmas for verbs formed with prefixes and for nouns derived from verbs. Thus, the run gives the performance of the parsing pipeline with a different source of input features, including difference in the information supplied. The authors describe the change in UAS as approximately 2.4% and treat the result as preliminary. The tagger is described in [Morphological Analysis with Limited Resources](https://md.research.elamur.ai/free/en/papers/paikens-2013-morphological-analysis-limited-resources-latvian/).

### What the ablations show

#### Whole tags create a different learning problem from separate attributes

The cleanest feature comparison is between full and shortened tags with decoding turned off. For the same stack-lazy algorithm and the same role for word forms, shortening raises the average UAS from 69.77% to 72.55%. The eager algorithm shows an improvement in the same direction. This supports the authors’ interpretation that the whole tags can be too sparse. The interpretation follows from what shortening does to the representation. Tags that differ in a lexical attribute removed by the procedure now share a feature value.

The experiment with decoded attributes changes that picture. Full tags go from 69.77% with no decoding to 74.15% with decoding for stack-lazy. The shorter tags also improve with the addition of decoded features, and the means for decoded full and short tags are close. This makes the representation of grammatical information an important part of the explanation. A full tag can remain useful as one view of a word while its decoded attributes make some of its evidence available more broadly.

Consider the agreement example that motivates the change. With indivisible tags, similar noun phrases can present different combinations that the learner has to recognize as separate values. With case, number, and gender available independently, an agreement pattern can be relevant in instances with different values on other parts of the tag. The result supports giving the learner access to those separate attributes as a group. The experiment leaves open which individual attributes contribute, which feature combinations LIBSVM uses most effectively, and how much of the improvement comes from agreement.

The comparison also helps explain why retaining the full tag in later experiments is reasonable. The initial advantage of shortening arises in a setting where the representation is relatively coarse about how evidence is shared. After decoding, there is little separation in the mean scores between the full and shortened inventories for stack-lazy. The full inventory retains the lexical distinctions, and the decoded features supply the more reusable attributes. The resulting experimental choice follows the observed mean for that feature setup.

#### Projectivization matters more clearly than the choice of marking

Within the projective experiments, the strongest comparison is between using pseudo-projective processing and leaving it out. The projective stack result moves from 71.89% without the transformation to 74.03% with head marking. Arc-eager has the same broad response to the intervention. The validation reference includes structures that a projective parser has difficulty expressing directly, so encoding and later recovering altered links is a plausible explanation for the improved attachment score.

The intervention changes the trees the parser learns from and adds a recovery stage, so the measured effect is for the full procedure. There is no separate evaluation for references with and without non-projective structure. As a result, the overall improvement gives no count of how many non-projective arcs were successfully restored. It is also possible for a change to the training tree to influence neighboring attachment decisions. The experiment shows the aggregate benefit of using the procedure under the tested conditions.

The choice of marking has a weaker effect in this comparison. Head marking provides the highest mean for the projective stack parser, while path marking is among the best arc-eager settings. Arc-standard is strongest with head marking among the reported settings for that algorithm. The paper says the choice of algorithm and marking among the transformed settings amounts to less than 0.5% points. For this corpus, several pairings are plausible choices if the criterion is mean UAS.

The comparison of stack-lazy with the marked projective stack parser is especially informative because the two systems solve the representation problem in different places. Stack-lazy changes the order in which the parser can process items. The pseudo-projective pipeline places the main accommodation in the training representation and the recovery procedure. The close aggregate scores show that the second route can be competitive on the converted corpus. Whether they succeed on the same dependencies remains an open question.

#### The lemma and automatic-tagging comparisons have a narrower scope

Lemmas are evaluated on selected configurations that had already done well. For stack-lazy with the full-tag and decoded-feature setup, the pre-lemma table reports 74.15% mean UAS and the lemma table reports 74.63%. For projective stack with head marking, the corresponding means are 74.03% and 74.57%. These comparisons support providing dictionary forms alongside inflected words in the selected settings. They leave the effects of lemma quality and the contribution of particular lexical classes unmeasured.

The prose describes the lemma gain for stack-lazy as approximately 1.5% point. The displayed averages for the stack-lazy settings before and after lemmas do not substantiate that description. The mean scores for each setting give the interpretable comparison. The conclusion also describes a total increase of 2% points from the feature changes. The experiments specify several starting configurations, so the most precise account identifies the actual feature sets being compared instead of treating the prose estimates as effects with a single baseline.

The automatic-tagging run addresses a different question. Here the parser’s algorithm and use of lemmas are carried over to data with automatically produced morphological information. The comparison between 74.63% and 72.2% describes the effect of switching to that input pipeline for the selected configuration. The changed input can include incorrect morphological analyses and additional lexical information. The run therefore gives no isolated estimate for a particular type of tagging mistake. It shows that the choice between human-verified and automatically produced input matters even for a parser whose algorithm and principal feature choices have already been selected.

### Limitations

#### Limits the authors identify

The authors treat the size and composition of the treebank as central limitations. There are few annotated sentences for learning the range of structures they would like a general-coverage parser to handle, and those sentences are unevenly distributed across genres. A statistical parser learns from whichever instances are present. If a construction has few examples, the learner has fewer opportunities to recognize how it behaves across different words and contexts. Ongoing expansion and genre diversification are part of the resource work described in the paper.

The richer syntax of SemTi-Kamols also places a limit on what conversion can preserve in a practical form. A dependency tree can record a chosen phrase head and links among tokens. To recover the original structure, the system also needs to identify which links went to the phrase as a whole, which went to constituents, and which phrases were nested. Choosing a suitable head and adding information to relation labels can help. The authors still need to determine a useful inventory of labels for actual parser training.

Nested phrases make that inventory difficult to design. The authors observe stacking at least three levels deep in the treebank and note that the scheme itself does not impose an equivalent fixed limit. If every layer contributes information to the label of a token that represents several groups, a system could encounter an open-ended set of composite labels. Rare combinations would pose a learning problem even when the scheme can describe them in principle. The difficulty belongs both to representation and to the quantity of examples available for each pattern.

Ellipsis raises a related question. The treebank includes sentence-scope ellipsis annotations, for which the authors say suitable roles in a dependency representation still need to be worked out. A score for choosing heads in converted trees cannot settle whether absent material and its relation to overt words have been adequately represented. The authors identify labeled parsing and better recovery of the hybrid structures as future work.

They also characterize the automatic-tagging result as preliminary. Repeating the best setting with automatic input gives a first indication of sensitivity to tagging, and a more systematic estimate of the loss remains to be made. Their plans include comparison with a system that performs tagging and dependency parsing jointly. The proposed comparison would ask whether joint decisions help when the annotated resource is small. The paper reports the existing sequential pipeline experiment and leaves that comparative question open.

#### Limits that follow from the evaluation design

The fold construction emphasizes evaluation within the available collection. Selecting sentences from each document for validation means that other sentences from the same document can be available during training. Those sentences may share vocabulary, topics, or constructions. The measured performance is therefore most directly applicable to held-out sentences sampled by this procedure. A test on entirely unseen documents, genres, or annotation conditions would answer a different generalization question.

Each attachment contributes separately to the aggregate score. Accordingly, a high number of straightforward attachments can coexist with difficulties on comparatively unusual structures. The non-projectivity figure makes this distinction particularly important. The statistic of 13.29% refers to the presence of non-projective structures in sentences after conversion. The UAS tables offer no separate measurement on the subset of affected attachments. It would take a breakdown by construction or arc to tell whether the direct and pseudo-projective algorithms solve the same difficult cases.

The metric also sets a boundary on the interpretation of the best result. The relevant reference heads are derived from SemTi-Kamols through the paper’s own rules. Choosing the expected head achieves agreement with that conversion. Whether the original phrase boundary, relation label, or punctuation grouping could be recovered is a different matter. In particular, a parser could identify a structural head correctly and supply insufficient information about whether its dependent originally belonged to a whole phrase or to one constituent.

The manual-tag and automatic-tag settings answer questions at different input conditions. The former uses grammatical analyses checked by people. The latter uses an analyzer whose output has a different feature inventory as well as a different error profile. A broader comparison could vary the tagging input while keeping the available feature types fixed and inspect errors on the same instances. The reported run supports a practical pipeline comparison for the best configuration, with no independent attribution of the reduction to individual tagging decisions.

The paper gives fold averages and ranges, which are descriptive. It supplies no paired fold analysis showing how frequently one setting wins over another or how stable the small differences are. For example, the 74.63% and 74.57% means establish which configuration has the higher observed average with lemmas. The paper gives insufficient evidence to establish that this ordering would be stable in a new sample. The wider pattern that several configurations perform comparably is less dependent on selecting a single winner.

Finally, the algorithm comparison is bounded by what was tested in MaltParser with the chosen inputs. The authors mention other data-driven parsers as candidates for future work. Their study establishes a baseline for Latvian on the available treebank and shows that several approaches can be trained on its converted annotation. Its cross-language figures and its aim of general coverage leave questions about other systems, unseen text, and full reconstruction to separate evaluations.

### What came after

The documented account reaches the authors’ plans for follow-up work. It contains no later study establishing whether those plans were carried out or whether another parser adopted the conversion. The proposed work identifies what remained to be learned from the initial experiments.

One direction was to improve dependency labels enough to recover more of the hybrid annotation and to evaluate labeled parsing. That would extend the question from whether a word has its expected head to whether the link preserves the distinctions needed to describe the original construction. Another direction was to explore parsers that can make fuller use of the hybrid annotation itself, including the explicit separation of phrase-level and constituent-level relations.

The authors also planned comparisons with other parsing approaches. They proposed testing the parser of Koo and Collins to see what another data-driven approach could obtain on the available material. They wanted to estimate the effect of automatic morphological tagging more carefully and to test whether the joint approach of Bohnet and Nivre would help under the same resource constraint. The automatic-input run and the comparisons among MaltParser configurations give starting points for those questions.

Further work on lexicalization was also on their agenda and, in their account, depended on additional resource development. Across these plans, the distinction established by the first experiments remains important. Learning to assign heads in the converted treebank had become measurable. Extending that result to richer linguistic structure, automatic input, and broader Latvian text required evidence at each of those conditions.

## Cite

Cite as Lauma Pretkalniņa and Laura Rituma. 2013. Statistical Syntactic Parsing for Latvian. Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013).

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

```bibtex
@inproceedings{pretkalnina2013statistical,
  title = {{Statistical Syntactic Parsing for Latvian}},
  author = {Lauma Pretkalniņa and Laura Rituma},
  booktitle = {Proceedings of the 19th Nordic Conference of Computational Linguistics (NODALIDA 2013)},
  year = {2013},
  url = {https://aclanthology.org/W13-5625/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
