Elamur Research

Parsing Heterogeneous Corpora with a Rich Dependency Grammar

Paper · 2014 · Achim Stein

Summary

A linguist who wants to add a medieval work to a syntactically annotated collection faces a choice. Should the automatic parser learn from the whole collection, or from the works that seem most like the new text? Old French gives this choice practical importance. Spelling varies across periods and regions, word order is relatively flexible, and the subject of a verb can be left unexpressed. A parser must learn from a limited supply of manually checked examples, and those examples come from works that differ in date, genre, and form. The paper investigates this problem through dependency parsing, which identifies the word that governs each dependent and assigns a label to their grammatical relationship.

The training material comes from the Syntactic Reference Corpus of Medieval French, or SRCMF. Its annotation was designed to support linguistic research. For example, a phrase introduced by a preposition can be an argument of the verb or an adjunct, and SRCMF asks annotators to distinguish those functions. The paper adapts the corpus for the graph-based parser in mate tools while keeping much of that detail. On repeated 90/10 partitions of the selected Old French collection, the parser obtains a mean unlabelled attachment score of 89.68% and a mean labelled attachment score of 82.62%. The first measures whether the parser chose the right governing word. The second also requires the grammatical label to be right.

Performance depends on which text the parser is asked to analyse. Training on the rest of the corpus transfers especially well to the held-out Queste del saint Graal. The earliest group of works and the Miracles, which includes lyric poetry, prove harder. Comparisons among individual works also show that a useful training text need not share the target’s prose or verse form. In a separate comparison between nearly equal amounts of prose and verse, training on verse and testing on prose gives 74.98% labelled attachment. Training on prose and testing on verse gives 62.01%. The paper attributes this asymmetry in part to the wider range of syntactic patterns encountered in verse.

The experiments support training a general-purpose Old French parser on a varied collection, while showing how much its performance can depend on the target work. They also reveal a practical cost of the annotation’s detail. Correctly locating a word’s head is more common than getting both its head and its function right, and an entirely correct sentence is harder to obtain than the attachment scores alone might suggest. The paper presents the first Old French dependency parser and identifies SRCMF as the place where the trained resources were to be made available.

Deep dive: Parsing Heterogeneous Corpora with a Rich Dependency Grammar

A study of Old French dependency parsing asks how a detailed grammar and differences among medieval texts affect accuracy on familiar and unseen works. · about 35 minutes to read

The problem and its context

Getting useful syntax from a varied historical corpus

A dependency tree turns the words of a sentence into a set of grammatical decisions. At the level of an individual word, the analysis says where it attaches and gives a name to its function. The distinction matters for a corpus that will be searched for linguistic evidence. Two analyses can find the same verb and attach the same phrase to it, yet disagree about whether the phrase fills a role associated with that verb or adds circumstantial information. A researcher counting the uses of a construction will get different evidence from the two analyses. An automatic parser that makes reliable attachment decisions can still leave substantial work for someone checking the functional categories.

The paper treats this as a problem of linguistic annotation as well as a problem of automatic analysis. SRCMF was built so that researchers could investigate medieval syntax through a coherent grammatical representation. Its categories were chosen for that purpose. The annotation project could therefore preserve distinctions that take care to identify, including cases on which human annotators disagree before review. An automatic parser trained on the corpus inherits the job of producing those distinctions. Making the categories easier for a parser would change the resource the linguist receives.

A collection whose sentences have been given syntactic analyses is a treebank. For the kind of treebank studied here, acquiring another example means doing more than transcribing a sentence. Someone has to decide what governs each word, assign the functions required by the scheme, and resolve differences between plausible analyses. The paper asks whether a relatively small collection produced through that process can support automatic annotation of additional Old French material. The choice of training texts matters because manually checked material is scarce enough that each selection changes what the parser has an opportunity to learn.

Old French in this study covers a set of historical and regional varieties. The paper describes variation in spelling and inflection and a substantial span of language change. A written form in one work can therefore be unfamiliar even when a related form appears in another. Variation in spelling can interfere with identifying a word or its grammatical category before the parser tries to attach it. Variation in syntax changes the relation between the clues available in the sentence and the analysis the parser is expected to produce. A shared language name offers little guidance about which of these difficulties a particular work will pose. French · Historical linguistics & language change · Morphology

Subjects provide a concrete example. In the description given by the paper, Old French can leave the subject implicit. When a verb has an expressed argument, the presence of that argument alone does not determine its grammatical role. An analysis that treated the visible phrase as the subject by default would confound a property of the text, which arguments happen to be expressed, with a syntactic decision, which function the phrase performs. The paper also discusses the tendency for the verb to appear in second position, while noting that the generality of these descriptions is debated. Such tendencies are clues whose relevance can vary across the collection.

Word order provides another source of uncertainty. The paper relates it to information structure and describes a gradual movement toward more regular subject–verb–object order in later Old French, alongside the loss of the distinction between nominative and oblique case. From a parsing perspective, the relationship between position, inflection, and function can therefore differ among texts. The paper compares the relative freedom of order to that of German and mentions Latin and Italian when discussing subjects that can remain implicit. Those comparisons explain particular aspects of the parsing task. The study itself concentrates on the variation within its Old French sample.

Even the division between prose and verse leaves a great deal unresolved. Works in the same form may have different sentence structures, and a work can alternate between forms. The design has to allow for individual texts that transfer well to seemingly dissimilar targets and for texts that remain difficult after training on much of the available collection. Those possibilities motivate tests that withhold whole works, alongside tests that hold out sentences from the same collection used for training.

The annotation and parsing work that preceded it

The paper identifies MCVF as the other Old French treebank available at the time. It follows annotation principles associated with the UPenn Treebanks. SRCMF brings dependency annotation to Old French and uses a grammar motivated by the linguistic investigation of its texts. The paper’s novelty claim for automatic parsing concerns Old French dependency parsing. It builds on the existence of annotated Old French material and on earlier automatic parsing research for other languages and treebanks.

For Modern French, the French Treebank had already been converted to dependencies. Its converted representation, FTBdep, gives the paper an example of a different way to divide up grammatical relations. A preposition can play a role in defining an object category there, while SRCMF gives particular weight to the phrase’s function in relation to its governor. The resources can also disagree on which word governs which inside a prepositional phrase. Such differences affect the decisions a parser has to get right, even when both evaluations call their measurements attachment scores. Statistical French Dependency Parsing

The comparison also places SRCMF among different approaches to the treatment of function words. The paper compares its use of lexical heads to Stanford dependencies and discusses the Turin University Treebank as an approach that can give function words the governing role. These differences are visible in the tree. Selecting the noun as the head of a prepositional phrase makes the attachment of the preposition part of the analysis of that noun. Selecting the preposition as the head makes the noun dependent on it. The question of which scheme to use precedes the question of which parser can learn it.

For the automatic analysis itself, the paper adopts the graph-based dependency parser by Bernd Bohnet in the mate tools package. The project is an application of an existing parser to a particular annotation scheme and collection of texts. The main changes across experiments concern the input representation and the training material. That design makes it possible to ask what a linguist gains by changing the source of training examples while keeping the parsing approach fixed. Bohnet’s dependency parser

The method, step by step

From independent analyses to training data

The process starts with reference analyses made by people. SRCMF used Notabene to record dependency annotation and store it as graphs in RDF, the Resource Description Format. Annotators analysed the material independently, and editors independently reviewed it. Differences were discussed and brought together at each stage. The resulting analysis gives the parser its training examples and gives the evaluation a reference against which to check predictions. When the paper reports agreement with the reference, that reference is the outcome of the review process.

The graph stored in Notabene and the data read by the parser serve different purposes. The working annotation can record some information through several references to the same node or through an additional coordination relation. The parser receives a sentence in CoNLL 2009 format, with fields that can carry a word’s form, grammatical category, lemma, and dependency information. Exporting the corpus involves deciding what to preserve in those fields and what can be recovered indirectly from the exported tree. The paper makes those choices explicit because they determine the version of the grammar being evaluated.

From reviewed Old French annotation to parsing scores

The steps in order.

From reviewed Old French annotation to parsing scoresStep 1: Annotate dependency graphs independently1. Annotate dependency graphs independentlyStep 2: Reconcile analyses through editorial review2. Reconcile analyses through editorial reviewStep 3: Export sentences and adapt dependency labels3. Export sentences and adapt dependency labelsStep 4: Add verified tags and automatic lemmas4. Add verified tags and automatic lemmasStep 5: Partition sentences or hold out works5. Partition sentences or hold out worksStep 6: Train the tagger and dependency parser6. Train the tagger and dependency parserStep 7: Compare predictions with reference analyses7. Compare predictions with reference analyses

What a dependency analysis preserves

The SRCMF grammar distinguishes structures and functions. A finite verb, for example, can organise a sentence, while labels such as Obj and Circ identify the role a dependent plays in the structure around it. The paper gives the governing role to lexical words. A verb, noun, adjective, or adverb can head a structure, and function words such as articles and conjunctions are analysed as dependents of lexical words. As a consequence, a grammatical element can contribute to the interpretation of a phrase while remaining below the lexical head in the dependency tree.

A sentence in the scheme has a finite verb at its top, provided that verb is independent of another verb. The paper specifies that main clauses are consequently treated without a coordination relation between them in the sentence analysis. This is relevant to how the evaluation unit is understood. Exact sentence agreement concerns the units delineated by this annotation scheme. It is an assessment of all the dependencies in one of those units, with the sentence definition already supplied by the corpus.

The richness of the representation can be seen in the distinction between Cmpl and Circ. Cmpl marks an oblique complement, such as a prepositional argument. Circ marks an adjunct. A preposition identifies an overt part of the expression, while the complement–adjunct decision concerns the expression’s grammatical role. The same broad surface shape can therefore lead to different labels. The paper notes that the boundary can be difficult for people as well. If the parser selects the same head as the annotator and misidentifies a complement as an adjunct, it gets credit for attachment under the unlabelled measure and loses credit under the labelled measure.

The paper illustrates the distinction between head choice and relation choice with the expression préoccupés par les attentes. In the FTBdep analysis, par governs attentes, and les depends on attentes. The connection to the participle is expressed by the general dep label. Under SRCMF, attentes governs both par and les. The noun is connected to the participle as Cmpl, marking the phrase as an argument. Thus the comparison changes the head inside the phrase and the function assigned to the phrase as a whole. A result about correct heads in one of these representations need not carry over to the other.

The SRCMF treatment gives par the label RelNC, for a non-coordinating relator. It gives the determiner les the label ModA, used for attached modifiers. On this point, SRCMF groups together items that FTBdep can keep distinct, since the same SRCMF label also serves for other nominal modifiers. The paper’s use of “rich” refers to the functional and semantic distinctions it chooses to make. One representation can distinguish more kinds of arguments while another gives a more specific label to a determiner. The claim is about the substance of the distinctions, which matters more for interpreting the experiment than a count of the names in the tag inventory.

Converting the graph to the parser’s input

The conversion merges the distinction between active and passive auxiliation. The original annotation distinguishes AuxA and AuxP, and the paper uses active and passive examples to show the intended difference. The parser experiments use an auxiliary relation without that distinction. This simplifies one part of the prediction task. Any reported score applies to the inventory after this and the other export decisions, even though the broader grammar motivates the study.

Coordination requires a different compromise. Notabene can record that a structure is a conjunct while also giving it an ordinary grammatical function. The CoNLL export can combine such information in a label such as coord1 Obj, which includes an indication of coordination and the object function. The experiments retain Obj in this example. The structures involved still share a governor, and the second structure contains the coordinating relator, RelC. Those cues are left in the converted representation. The experiment evaluates the retained dependency information and does not score the full coordination marking of the original graph.

The paper keeps composite labels where a single written form participates in more than one way. The contracted form nel, for instance, contains the negative element ne and the pronoun le. The original graph can refer to the same node more than once to capture what such a form contributes. The relative pronoun qui illustrates the same representational issue from a different direction. It introduces a relative construction and can also function as its subject, giving it the roles associated with RelNC and SjPer. The export expresses overlapping functions through combined categories, of which Obj RelNC is an example.

The different treatment of coordination and composite functions gives the experiment its particular form. Some of the source grammar’s distinctions are collapsed. Other distinctions survive through clues in the resulting dependencies. Composite roles survive as categories the parser has to predict. The paper keeps the last group because the authors consider the information useful for linguistic analysis, even though asking for the combination makes the prediction harder. A useful reading of the results therefore starts with the representation actually scored. It is a dependency representation adapted from SRCMF, with substantial functional detail still present.

Grammatical categories, word forms, and lemmas

The experiments draw on grammatical tags from Cattex, the tagset of the BFM database. Part-of-speech tagging assigns categories such as noun, adjective, or verb to words in context. Cattex can also mark subcategories. The example ADJqua identifies a qualifying adjective. The corpus tags were checked, so they supply the reference for measuring tagging accuracy. In the CoNLL representation, the authors keep the full Cattex tag in the part-of-speech field. The tagset used here does not supply inflectional categories, and the separate morphology field is empty.

This preparation lets the evaluation track grammatical tagging alongside dependency attachment. A correct part-of-speech label is a different achievement from a correct dependency head, even when the former helps the parser with the latter. An unfamiliar spelling can make a tag difficult to predict. A correctly predicted tag can still leave a choice among several governors or between two grammatical roles. Keeping the measures separate allows the paper to identify texts where tagging is a plausible contributor to poor attachment without treating every attachment error as a tagging error.

A lemma is the form used to group a word’s variants under a lexical entry. A historical text can use different inflectional forms and also spell related forms differently. The paper takes a lemma to be potentially useful on both counts. If several written forms lead to the same lexical representation, evidence learned from one spelling may help when another occurs. The benefit depends on the accuracy and coverage of the link from written form to lemma.

For the Old French data, TreeTagger assigns lemmas using parameters trained on the Nouveau Corpus d’Amsterdam. The added lemmas are unverified, and the paper reports that about 70% of the written forms have lemmas. Availability and certainty are separate. The written form volt can receive valoir/voler/voloir, leaving candidates with the senses of being worth, flying, and wanting. That output retains a set of lexical possibilities while still leaving unresolved which verb is present in context. Lemmatization

The paper tests how much the resulting field helps. One run uses the automatic lemmas. The comparison run places each original word form in the lemma column. The input format thus still provides that field in both versions, while its information changes. This is a more specific comparison than one between a system with lexical information and one without it. Both have access to the forms. The experiment asks what the imperfect lexical grouping contributes beyond them. The authors retain automatic lemmas in the remaining experiments after examining the scores for particular verbal dependents.

Training and constructing the evaluation splits

The dependency component is the graph-based parser in mate tools, run with anna-3.3.jar. At a practical level, the parser receives sentences represented in the exported format and predicts their dependency structure. The paper uses the existing parsing procedure and concentrates on the corpus, the grammatical representation, and the arrangement of training and test material. For the tagger, it reports 10-fold jackknifing within the training set. Jackknifing holds out a different portion in turn when producing training-set tagging predictions, so a sentence’s predictions come from a fit that excluded that portion.

A split within a work or combination of works uses a 90%/10% division made by taking every 10th sentence for evaluation. This spreads the held-out sentences through the material. In a combination of works, the test set represents the collection’s mixture, while the training set can contain other sentences from those works. The paper also conducts a 10-fold cross-evaluation with ten different 90/10 splits. Repeating the fit and evaluation allows it to report average scores and their variation rather than depending on a particular fold.

The separate transfer tests move the boundary between training and evaluation. In the individual-work experiment, the parser learns from one work or training sample and is tried on the other works. In the leave-one-out experiment, it learns from all the selected material except the work or group that will be tested. The prose–verse experiment uses training from one form and compares performance on a held-out portion of that same form with performance on the entire collection of the other form. Each design holds something different outside the training set. That difference is part of the result, because it defines what kind of unfamiliarity the parser encounters.

How the scores count a correct analysis

The paper defines its measures in words. The unlabelled attachment score, abbreviated UAS, gives credit when a word has the same governing word as in the reference. The labelled attachment score, LAS, requires both agreement on the governor and agreement on the dependency label. Label accuracy checks the label on its own. It can therefore credit the correct type of dependence even if the corresponding head is wrong. Together, the measures distinguish finding the attachment, identifying the function, and making both decisions correctly.

Exact match changes the unit from a dependency decision to a sentence. Umatch counts a sentence when its attachments all agree with the reference, with labels ignored. Lmatch also requires the labels to agree. A sentence may contribute many correct dependencies to UAS and LAS while missing exact match because of an error at a single word. The exact-match results give a separate view of how often the output can be accepted as a complete reference analysis.

The paper also reports scores for lemmas and parts of speech and, in the lemma comparison, labelled attachment for particular grammatical functions. The latter includes SjPer for personal subject, Obj for object, Cmpl for oblique complement, and Circ for adjunct. Those figures show whether a modification helps the specific decisions that motivated it. A change can affect several difficult labels while moving the whole collection’s attachment average very little.

In tables that summarise repeated evaluations, the paper uses µ for the mean, σ for the standard deviation, and CV for the coefficient of variation. The mean gives the average reported score for the condition. The standard deviation describes the spread of scores around that mean. The coefficient of variation expresses spread relative to the mean and helps compare measures with different typical values. A mean over partitions of one collection and a mean over held-out works summarise different kinds of variation, even when the same abbreviations are used.

Experiments and results

The collection and the points of comparison

At the time of the study, SRCMF comprised 15 texts and about 280,000 words. The selected material for these experiments comprised 11 texts, with 206,323 words and 19,803 sentences in the paper’s corpus tally. It covered a span from the late 10c. to the early 13c. The collection includes prose, verse, and Aucassin et Nicolete, which alternates between the two and is mainly prose. The three earliest works, Passion de Clermont, Vie Saint Legier, and Vie de Saint Alexis, form a single experimental sample because they are small. The paper describes the works in this group as different from each other.

The early group matters when reading the transfer tables. A column for that group represents the evaluation of several works together. Other columns correspond to individual works. The size of the full SRCMF collection, the tally of material selected for the study, and the amount used to fit a particular parser are also distinct quantities. When one work is withheld or an individual sample is restricted in size, the training data are only part of the selected material. The individual experiments give the relevant conditions for their own scores.

The paper knew of no prior Old French parsing experiment against which to benchmark the system. The principal comparisons are internal, among splits and choices of training material. The paper provides context from outside the study by noting that the Modern French Treebank, once converted, had achieved an unlabelled attachment score above 90%. It also says the study’s attachment scores exceed those it cites for medieval Latin. The Modern French conversion illustrates differences in heads and labels, and the Latin comparison comes from another corpus. The figures locate the results among work the authors knew about, with the Old French experiments supplying the direct comparisons for this task. Statistical French Dependency Parsing · Parsing the Index Thomisticus Treebank

Performance when works are represented in training

In the 10-fold cross-evaluation on the combined Old French selection, the mean UAS is 89.68% and the mean LAS is 82.62%. The remaining means describe which decisions the parser gets right. Part-of-speech accuracy is 94.08%, and label accuracy on its own is 86.59%. Unlabelled exact sentence match is 60.84%, while labelled exact sentence match is 39.88%. All are averages for the 90/10 partitions of the combined collection.

The exact-match figures give a practical interpretation of the results for annotation. A high proportion of word-level attachments agree with the reference. Full agreement on a sentence, especially when every function must be correct, is considerably less common. This is compatible with a parser that usually finds local dependencies and still leaves some judgement calls in many sentences. The metrics do not tell an annotator how many minutes of checking the output would save. They do show how different the picture looks when evaluated by a complete sentence.

The authors repeat the fold procedure on Yvain as a smaller comparison. Its 90/10 partitions yield mean UAS of 87.33% and mean LAS of 78.62%. The corresponding exact-match means are 52.72% unlabelled and 30.68% labelled. The single-work experiment is a comparison for the stability and scale of the training setup. It also provides a same-work benchmark that can be kept distinct from the test in which Yvain is excluded from training altogether.

Mean labelled attachment on Old French SRCMF 90/10 folds

The combined collection gives a higher mean labelled attachment score than the single-work evaluation on Yvain.

Mean labelled attachment on Old French SRCMF 90/10 foldsYvain only: 78.62Yvain only78.62Combined SRCMF selection (this paper): 82.62Combined SRCMF selection (this paper)82.62
The numbers
System or settingLAS %
Yvain only78.62
Combined SRCMF selection (this paper)82.62

For the combined selection, the standard deviation of UAS across folds is 0.37 and that of LAS is 0.39. For the Yvain folds, those standard deviations are 0.88 and 0.96, respectively. Labelled sentence match follows the same ordering, with standard deviations of 1.12 for the combined selection and 1.62 for Yvain. These are spreads in the reported scores across partitions. The result illustrates that the measured performance is more sensitive to the particular split of the smaller sample used here. Both experiments continue to train and test on sentences from the same work or set of works.

Transfer from one work to another

The individual-work comparison is constructed to show which sources transfer well, given a roughly common amount of training data. The authors use about 16.000 words for training where possible, choosing that scale with reference to the size of the Miracles sample. They include the smaller early group, Lapidaire en prose, and Aucassin et Nicolete for comparison and ask the reader to interpret their results with care. Each row of the experiment describes a source used to train the parser, and the scores across that row come from applying it to other works. Reading down a target column asks which source gives the best analysis of that particular work.

Chanson de Roland is a strong source for the early group and for Lapidaire. Tested on the early group, the Roland-trained parser obtains 70.21% UAS and 55.93% LAS. On Lapidaire, it obtains 79.16% UAS and 66.90% LAS. The paper highlights the result because the source can be valuable for particular targets even if other works give stronger averages. It is also an instance in which training on verse serves a prose target well. These scores are from transfer to a different work or group, with no sentences from that target used to train the listed parser.

Tristan de Béroul gives the best average across the reported measures in the individual-work test. Its mean attachment scores are 71.75% UAS and 57.81% LAS across its targets. Lapidaire gives the weakest averages, with 54.96% UAS and 37.60% LAS. The authors suggest the smaller Lapidaire training sample as a likely contributor. Each source row excludes its own work as a test target, so the averages also combine somewhat different sets of targets. Good average transfer and good performance on the text an annotator happens to have are distinct criteria.

Several single-work parsers analyse the Queste comparatively well. When trained on Yvain and tested on the Queste, the parser reaches 80.80% UAS and 70.06% LAS. The paper identifies those as the highest attachment scores in this experiment. This pairing shows why a comparison across individual works is more informative than assigning a single difficulty score to each source. Yvain is a useful source for the Queste, and the Queste itself is a target that several sources analyse well.

The prose works also vary as training sources. The parser trained on Conqueste de Constantinople gives mean transfer scores of 63.40% UAS and 46.82% LAS. Training on the Queste gives means of 69.82% UAS and 54.37% LAS. The authors suggest a connection with the character of the Conqueste. It is a chronicle whose long sentences favour enumerations over syntactic embedding. That description explains why sentence length might convey a different kind of difficulty from the range of constructions encountered during training. The experiment observes an association between these works and their transfer performance. Their styles and subject matter accompany other differences that the comparison does not hold fixed.

Aucassin et Nicolete offers a test of a simple intuition about mixed material. A work containing both prose and verse might be expected to teach the parser patterns useful for each. The single-work comparison gives it mean UAS of 65.22% and mean LAS of 49.19% across the other targets. The authors point to the predominance of prose as a possible reason for the modest transfer. Its comparatively small training sample is another relevant condition. The result shows that the presence of both forms within a work gives limited information about the balance and coverage of its training examples.

Transfer when the full remaining collection is available

The leave-one-out test addresses the case of adding a new work to an existing treebank. For each target, the parser is fitted on all the other selected texts. This retains the differences between works that matter for real annotation and gives the parser a wider training collection than the individual-work comparisons. The paper reports mean UAS of 84.04% and mean LAS of 74.43% across the held-out targets. Mean label accuracy is 80.09%. Exact sentence match averages 50.92% for the unlabelled analysis and 29.20% when the labels must also agree.

The Queste is the strongest target by attachment, with UAS of 90.06% and LAS of 82.88% when the other works supply all of its training material. These are close to the headline attachment means from the 90/10 folds. In this case, excluding the target text entirely still leaves examples that support comparatively accurate analysis. The result also agrees with the pattern of strong transfer to the Queste from several individual works.

The opposite end of the leave-one-out results is represented by the early group and the Miracles. On the early group, UAS is 74.83% and LAS is 62.83%. For the Miracles, UAS is 79.32% and LAS is 69.22%. The next chart includes these contrasting targets, the Conqueste, and the Queste. Each bar describes the same training policy applied to a different target. The target’s exclusion changes which works the parser can learn from on that run.

Labelled attachment on selected SRCMF targets held out as whole works or groups

Training on the remaining collection transfers most successfully to the Queste and least successfully to the earliest group.

Labelled attachment on selected SRCMF targets held out as whole works or groupsEarliest group: 62.83Earliest group62.83Miracles: 69.22Miracles69.22Conqueste: 76.94Conqueste76.94Queste (this paper): 82.88Queste (this paper)82.88
The numbers
System or settingLAS %
Earliest group62.83
Miracles69.22
Conqueste76.94
Queste (this paper)82.88

Results for complete sentences help qualify the ranking by attachment. The held-out Aucassin et Nicolete has UAS of 87.11% and LAS of 78.76%, below the Queste on both attachment measures. Its labelled exact match is 37.56%, compared with 34.14% for the Queste. The choice of evaluation unit changes which target looks easiest. Word-level agreement can be strongest in one work while the errors in another leave more sentences completely correct. The table establishes the difference in outcomes without locating the individual errors responsible for it.

Transfer between prose and verse

The prose–verse experiment narrows the comparison to subcorpora of very similar word size and comparable historical periods. Prose consists of the Conqueste and Queste, with 72,846 words and 5331 sentences. Verse consists of the Miracles, Tristan, and Yvain, with 72,854 words and 7320 sentences. The reported average is 13.7 words per sentence in prose and 10 in verse. The manuscript dates in the comparison span no more than 40 years. As a consequence, the difference between training collections is small in word count, while the number of sentences and the works providing them differ.

For each form, the parser trains on 90% of its subcorpus. It is then evaluated on the 10% held out from that subcorpus and, separately, on the full subcorpus of the other form. The within-form settings show what the chosen prose and verse sources can achieve on held-out sentences from familiar works. The cross-form settings test entirely different works, and the form changes at the same time. The direction of transfer is a central result because each form gets its turn as a source and as a target.

Training on verse and testing on all the prose yields 84.35% UAS and 74.98% LAS. In the other direction, training on prose and testing on all the verse gives 74.93% UAS and 62.01% LAS. The difference is also visible in label accuracy, which is 81.22% on prose after training on verse and 69.95% on verse after training on prose. The cross-form evidence therefore concerns functional classification as well as selection of the head.

Performance within prose is strong. The prose training split gives 92.63% UAS and 86.75% LAS on its held-out prose portion. The within-verse scores are 86.17% UAS and 77.50% LAS. The verse-trained setting is the better of the two cross-form settings, and the prose-trained setting on the prose split has the highest LAS in this experiment overall. The two results answer different questions. One concerns a broadly useful source when the target changes form, while the other concerns how well a training source serves sentences from the same works.

Labelled attachment within and across the SRCMF prose and verse subcorpora

Verse transfers better across forms, while held-out prose sentences score highest when the parser trains on prose from the same works.

Labelled attachment within and across the SRCMF prose and verse subcorporaProse training, all verse: 62.01Prose training, all verse62.01Verse training, all prose: 74.98Verse training, all prose74.98Verse training, held-out verse: 77.50Verse training, held-out verse77.50Prose training, held-out prose (this paper): 86.75Prose training, held-out prose (thispaper)86.75
The numbers
System or settingLAS %
Prose training, all verse62.01
Verse training, all prose74.98
Verse training, held-out verse77.50
Prose training, held-out prose (this paper)86.75

Whole-sentence match again adds information about the comparison. With verse training and all prose as the target, exact match is 42.31% without labels and 24.16% with them. With prose training and all verse as the target, exact match is 39.13% without labels and 17.30% with them. The difference between the transfer directions thus appears at the sentence level too. The longer sentences in the selected prose make raw sentence length an inadequate explanation of why the prose subcorpus is the easier of these two cross-form targets.

What the ablations show

Imperfect lemmas help some decisions and leave the aggregate nearly steady

The comparison closest to a component ablation replaces the automatically assigned lemmas with copies of the original word forms. On the corpus in that comparison, automatic lemmas yield 89.61% UAS and 82.41% LAS. Using word forms in the lemma field yields 89.56% UAS and 81.99% LAS. The direction is favourable to automatic lemmas for both attachment scores, with little movement in the aggregate. Unlabelled sentence match is 60.00% with automatic lemmas and 60.20% with forms, while labelled sentence match is 37.68% with lemmas and 37.37% with forms. The paper reads the overall comparison as showing little benefit from this imperfect lexical analysis.

Outcomes differ by relation. For Obj, the automatic-lemma condition gives 72.21% labelled attachment, compared with 69.93% when the field contains the original forms. For Cmpl, the respective scores are 66.12% and 64.16%. For Circ, they are 74.59% and 73.84%. Personal subjects do not show the same ordering. SjPer gives 83.43% with automatic lemmas and 83.51% with forms. The paper’s decision to keep lemmas draws on the better results for some kinds of verbal dependents, especially the object and oblique complement, which could matter in subsequent linguistic work.

This comparison illustrates how a lexical field can matter more for certain functions than for the average over the corpus. If a form helps identify a governing verb, the lexical information may support a decision about the dependents of that verb. Many other words will contribute to the overall attachment score regardless of whether that source of information helps. The experiment establishes the result of substituting one field for another and scoring the resulting parses. It does not show which individual forms contributed to the change, how frequently ambiguity mattered, or what complete, checked lemmas would do.

The motivation for retaining lemmas is particularly relevant to the historical material. A lemma can connect spelling variants as well as inflected forms. The actual field used here can also leave multiple candidates or lack a lemma for a form. Those properties mean it supplies both potentially helpful grouping and remaining lexical uncertainty. The authors expect that better lemmatisation will improve the results. The measured comparison concerns the existing automatic output, so that expectation remains a prospective explanation for further work.

Changing the source of examples exposes different kinds of transfer

The individual-work and leave-one-out designs test a choice that a corpus annotator can make directly. The individual-work trial asks which available source is most useful when examples come from a single work. It finds productive pairings, such as Roland with early material and Yvain with the Queste. The leave-one-out trial gives the parser a broad collection while keeping the target genuinely unseen as a work. Its generally stronger attachment scores show what can be achieved with access to the rest of this treebank. Increasing the quantity of material and increasing its diversity happen together in that comparison.

That joint change explains why the results are informative for the practical annotation decision and limited for a causal interpretation. A corpus builder choosing between one existing work and all the rest will generally get both more words and more kinds of examples in the second option. The paper measures the resulting transfer. A claim about diversity alone would require evidence that holds the quantity of training material fixed while varying how widely the examples are drawn. The roughly common training size in much of the individual-work trial helps compare those sources, while the smaller exceptions and the differing target sets qualify the averages.

The comparison between the combined collection and Yvain also changes both the quantity and diversity of material. Its distinctive contribution is the spread across folds. The smaller Yvain sample gives more variable results across its own partitions. The paper presents this as a reliability issue for medieval corpora, where an evaluation may draw conclusions from a small amount of annotated text. The fold results provide a way to see the issue in the scores. They are evidence about the effect of those partitions in the two chosen settings, with the identity of the source and its size both differing.

The form comparison supports an explanation about syntactic variation

The prose–verse comparison addresses training size more directly by selecting subcorpora with nearly equal word totals and a reasonably narrow common date range. Training on verse transfers to prose substantially better than prose transfers to verse. The authors interpret this as an effect of the wider range of word orders and syntactic patterns in the verse material. On that account, a parser exposed to verse encounters more of the patterns it will need on prose, while prose offers a narrower range of examples for the verse target. Strong performance on the held-out prose sentences is consistent with the authors’ account of a comparatively uniform prose source.

The two cross-form scores use different target collections, which affects what the comparison can establish. The prose pair may be an easier target in its own right. The within-form tests help describe that asymmetry, since the held-out prose has stronger word-level attachment scores under same-form training. Sentence counts and sentence lengths also differ. The result supports the usefulness of the selected verse sources for cross-form transfer under these conditions. It leaves room for target difficulty, the identity of the works, and their particular constructions to contribute to the pattern.

The comparison of the Conqueste and the Queste as individual sources makes it especially important to retain the role of work identity. They share prose form, yet their average transfer scores differ. Meanwhile, the parser trained on verse Yvain analyses prose Queste well. The observations fit a picture in which genre and constructions within a work are relevant to parsing alongside the prose–verse division. The proposed explanation about verse is therefore most informative when read alongside the individual pairings, which show how varied the sources and targets can be even within the categories being compared.

Error patterns point to questions the experiments leave open

For the earliest group, the authors consider whether part-of-speech tagging contributes to weak transfer. With all other works used for training, its tagging accuracy is 79.55%, compared with 88.53% as the mean across held-out targets. Less conventionalised spelling is one candidate explanation. A tagging error can deprive the parser of a grammatical clue, and some early forms may be poorly covered by training on the later material. The paper also expects other kinds of variation to be involved. The observed tagging and attachment figures identify a plausible dependency between stages without measuring how much parsing would improve with verified tags on those sentences.

For the Miracles, the paper draws on an earlier syntactic study that describes its unusual preverbal patterns and its substantial lyric component. Lyric poetry is absent from the other SRCMF works discussed in that comparison. According to the description the paper cites, at least three elements precede the verb in 33,3% of the structures, while at least five precede it in 17 structures. An order given as characteristic of verse places a personal subject and then an adjunct before the verb. These details show what a potentially unfamiliar structure looks like for a parser trained on the rest of the collection. Discourse analysis

The Miracles analysis supplies a linguistic account of what may make the text different. The parsing experiment itself scores the whole work. It does not report attachment accuracy for the lyric portion separately, for sentences grouped by numbers of preverbal elements, or for the specific ordering given as an example. The authors leave detailed investigation of the errors open. The case is consequently evidence that a varied training corpus can still omit constructions or genres pertinent to a particular target, with the proposed sources of difficulty grounded in an independent description of the work.

Across experiments, the authors observe a substantial gap between UAS and LAS. Their interpretation is that the rich functional distinctions are hard to learn even where the dependency head is available to the parser. The comparison of scores establishes that many errorful labelled attachments have a correct head. A comparison with an alternative grammar would be needed to estimate how much of that gap comes from the semantically motivated labels specifically. The partial simplifications made for export were used across the experiments. They do not provide paired results for the same parser with and without those distinctions.

Exact sentence match also varies more in relative terms than attachment accuracy in the transfer tables. The authors suggest that many dependencies may be easy to learn while fewer difficult ones interrupt otherwise successful analyses. This is compatible with the behaviour of exact match, which loses credit for a whole sentence as soon as a required decision is wrong. The evidence describes how scores are distributed across training and evaluation settings. It cannot alone establish how errors are distributed across link types, sentence lengths, or constructions within a text.

Limitations

Limits identified by the authors

The authors start from the limited amount of reviewed syntactic annotation available for medieval texts. They explicitly caution that the smaller samples included in the individual-work comparison give less secure results. The fold study shows greater variation for Yvain than for the combined selection, and results from a small training source can reflect its size as well as its linguistic resemblance to the target. This affects the strength of any conclusion about whether a particular work is intrinsically a good source.

The paper identifies automatic lemmatisation as incomplete and uncertain. Leaving the lexical field in the main experiments preserves the benefits observed for some relations, while the scores still depend on the available TreeTagger output. Moreover, the study uses a pre-final release of SRCMF. The authors report that minor corrections were under way and expect improved annotation consistency to help parsing. The experiments give the performance of the corpus and preparation used at that point. The paper does not measure changes after those corrections or after improved lemmatisation.

The authors recognise the difficulty of treating results from different treebanks as direct benchmarks. A dependency score for Modern French comes from a different language variety and a grammar with different choices about functions and structure. The medieval Latin comparison likewise uses a different corpus and annotation task. The absence of a previous Old French parser leaves the study without a same-task external baseline. Its numbers are most directly comparable to the alternative conditions run within the Old French experiments.

The authors also observe that detailed functional labels are difficult in borderline cases and that exact match is relatively low. They offer explanations for the performance of the earliest group and the Miracles, while identifying questions that remain open. Testing the effect of the early texts’ tagging errors would take a more focused experiment. Explaining the Miracles would require a deeper investigation of its constructions and the errors the parser makes on them. The paper distinguishes those possible explanations from the measured transfer results.

Limits visible in the experimental setup

The representation tested is an adapted treebank representation. Active and passive auxiliary labels are combined, and the conversion strips the extra coordination category from labels while leaving other clues in the structure. Some composite functions remain. Consequently, successful prediction under the scored format demonstrates the learnability of those retained decisions. There is no paired evaluation of complete RDF graph recovery or of a reduced grammar with broader functional categories. The study can show that its chosen amount of grammatical detail is compatible with useful parsing performance. It cannot put a numerical price on the full annotation’s richness.

The aggregate results also give a narrower measure of reliability than a user of the parser may want. A high UAS supports using predicted heads as an aid to annotation, while tasks that depend on identifying complements, adjuncts, or composite functions are more sensitive to label errors. Low exact sentence match indicates that some checking would remain when whole analyses must agree with the reference. Nothing in the experimental protocol measures the human work of checking, the cost of correcting a particular class of error, or whether the predictions help another linguistic analysis.

The cross-validation result on the combined selection estimates performance on new sentences from represented works. The leave-one-out result estimates transfer to works or groups absent from training within the selected corpus. Neither amounts to a survey of all historical and regional varieties covered by Old French. The early group is an especially important qualification because several works enter the comparison as a unit for reasons of size. Their group score does not isolate a period effect or tell how the parser behaves on each early work separately.

The results also do not identify a single characteristic of a new text that predicts how well the pooled parser will work. Period, genre, spelling, and syntactic patterns all provide plausible reasons for differences among targets. The successful result on the Queste and the poorer result on the Miracles demonstrate that outcomes vary markedly even under the same general training policy. The authors suggest looking to the most similar evaluated text for an indication of likely performance on a new one. The experiments do not specify a similarity measure or test whether such a measure selects the best prediction.

For the prose–verse result, close word counts and comparable dates reduce some obvious sources of difference. The subcorpora still contain distinct works, different numbers of sentences, and different sentence structures. The cross-form evaluation changes the source and the target simultaneously. The same-form split retains familiarity with the works on both sides of the division. The comparison therefore supports an asymmetry for these selections while leaving the generality and causes of that asymmetry open. It does not demonstrate that any verse source would transfer better than any prose source.

The general-purpose conclusion is best understood as a claim about feasibility. A parser trained on overlapping varieties and text types can learn much of the SRCMF representation and sometimes transfer strongly to a whole withheld work. The paper does not directly test, for every target, whether the same amount of broadly sampled material would beat a carefully chosen specialist training collection. Its evidence gives a corpus builder grounds to use pooled material as a practical source and to expect target-dependent accuracy. A stronger conclusion about the optimal composition of training data would require comparisons that control its amount and selection separately.

What came after

The paper identifies a concrete next step in the availability of the parser. It announces that the trained mate tools resources were to be distributed through SRCMF. That is a plan for making the experimental work usable in further annotation, with the exported dependency scheme and the training corpus determining what the parser can produce. The paper itself supplies no later evaluation of that use.

A more consistent corpus release, improved lemmas, and focused experiments on the earliest texts are prospective directions raised by the study. They follow from different observations. Annotation corrections would change the reference data, improved lemmas would change the lexical information given to the parser, and a focused early-text experiment could investigate the relation between tagging and attachment. The reported results establish the starting conditions for those questions. They do not establish that the proposed changes were subsequently made or measured.

No subsequent citing study is documented here. The available record supports the paper’s release plan and its open research questions, while leaving later reuse and extensions unestablished.

Cite

Cite as Achim Stein. 2014. Parsing Heterogeneous Corpora with a Rich Dependency Grammar. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14).

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

@inproceedings{achim2014parsing,
  title = {{Parsing Heterogeneous Corpora with a Rich Dependency Grammar}},
  author = {Achim Stein},
  booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
  year = {2014},
  doi = {10.63317/5fn5pq6dtneo},
  url = {https://doi.org/10.63317/5fn5pq6dtneo}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/stein-2014-parsing-heterogeneous-corpora-rich-dependency/