Elamur Research

Shallow Language Processing Architecture for Bulgarian

Paper · 2002 · Hristo Tanev and Ruslan Mitkov

Summary

A pronoun can be easy to read and difficult to resolve automatically. When an instruction mentions a file and a directory and then says to delete it, a reader can use the action to decide what it refers to. A program first has to find the expressions that could supply a referent, determine which ones agree with the pronoun, and choose among any plausible candidates. Tanev and Mitkov’s paper presents LINGUA, a Bulgarian text-processing system that brings those jobs together. The authors designed it for a setting where substantial annotated resources were hard to obtain. Its approach is to extract enough information about words, phrases and text boundaries to support decisions such as pronoun resolution.

LINGUA recognizes tokens, sentences, paragraphs and clauses, assigns grammatical categories to words, and finds phrases. It incorporates the Bulgarian morphological analyzer BULMORPH and uses hand-written rules to select among the analyses that the analyzer proposes. For phrase structure, the authors implement a fast noun phrase extractor and a broader parser that can return partial structure when it cannot analyze a whole sentence. These components provide much of the evidence used in coreference resolution, the task of identifying expressions that refer to the same entity. LINGUA addresses the case of third-person personal pronouns with antecedents in the text.

The resolver adapts Mitkov’s earlier method, which ranks noun phrases by adding up rewards and penalties. LINGUA filters for gender and number agreement before scoring the candidates. Some cues concern the structure of the text, such as the candidate’s distance from the pronoun or whether the section heading mentions it. Others concern the wording of an instruction or the terms used in a domain. The authors add cues for Bulgarian noun phrases with adjectival modifiers, names, and characteristic combinations of verbs and possible referents. The last cue can favor the file in the deletion example if the system knows that deleting a file is an established combination in the domain.

The standard weights resolve 75.0% of the eligible pronouns in software manuals and 68.1% in tourist guides. Across both collections, the standard weights score 72.6%, the optimized weights score 75.7%, and a baseline that chooses the most recent agreeing noun phrase scores 60.4%. The component evaluations reveal an uneven distribution of strengths. The sentence splitter reaches 99% recall on its evaluation text, while the broader parser achieves 77.89% recall for noun phrases and 5.88% for sentences in its phrase evaluation. The architecture can make use of the former kind of evidence even where the latter is hard to obtain. The genre results also show why the ranking rules matter. The authors attribute part of the difference between manuals and guides to cues designed around terminology and the structure of instructions.

Deep dive: Shallow Language Processing Architecture for Bulgarian

LINGUA processes Bulgarian text with shallow rules for segmentation, tagging and parsing, then uses those analyses to resolve pronouns. · about 35 minutes to read

The problem and its context

Useful analysis when complete analysis is hard

LINGUA starts from a practical question. What can a Bulgarian text-processing system do reliably enough to support another task? The authors have applications such as automatic abridgment and information extraction in mind. An abridgment system may need to know which expressions continue a reference introduced earlier. An extraction system may need to recognize a phrase that designates an object or names an entity. Both kinds of work depend on decisions about word boundaries, grammatical categories and local structure. The research problem is how to produce enough of those decisions for running text, where the input can contain constructions beyond the coverage of a grammar.

The paper describes full parsing and knowledge-based analysis as insufficiently reliable foundations for the applications it envisages. A full parse attempts to account for the organization of the entire sentence. An analysis of a smaller span can still identify a noun phrase whose referent matters later. Those are different deliverables. A system that must produce a complete account before anything can proceed ties the availability of local evidence to the success of the most demanding analysis. LINGUA makes local evidence available through specialized rules and through a parser capable of returning partial structure. The grammatical analysis required in each part of the system depends on what the next part needs.

The authors place particular weight on the availability of Bulgarian resources. They report limited access to large collections in which words already carry grammatical labels. They also lacked a Bulgarian collection with syntactic structures annotated for the purpose of developing a probabilistic parser. These gaps affected different decisions. A corpus tagged word by word could support the development of a tagger that learns how to choose among grammatical categories in context. A syntactically annotated corpus could support a parser that learns which structures to favor. LINGUA addresses those choices through hand-written disambiguation rules, a feature grammar, and heuristics for preferring one analysis over another.

The constraint was about access to specific kinds of evidence. The system could draw on a Bulgarian morphological analyzer, previous research on Bulgarian grammar and purpose-built linguistic resources. The authors could also annotate small collections for evaluation. Their term knowledge-poor describes an approach that tries to keep the amount and kinds of linguistic knowledge manageable. Abbreviation dictionaries, grammatical agreement rules and lists of domain terms all count as knowledge in ordinary language. In LINGUA, each serves a limited function. The abbreviation list helps interpret punctuation, the agreement rules restrict candidates, and the term bank gives a preference to some entities over others.

This makes the architecture a study of how to put such resources together. A system that only segments text gives useful boundaries, but it leaves unanswered what the words are doing. A morphological analyzer can suggest features for each word, but the resulting alternatives still have to be interpreted in context. A phrase grammar gives the resolver spans it can consider, while the enclosing sentence and paragraph supply different kinds of evidence about those spans. The authors’ claim about the gap in Bulgarian research concerns a processing environment that connects functions of this kind.

Bulgarian work the authors could build on

The paper cites prior Bulgarian research on morphological analysis, the disambiguation of morphological readings, and parsing. Morphological analysis concerns the grammatical properties associated with a form. Disambiguation chooses among possible readings when a form admits several. Parsing identifies how words combine into larger units. The earlier projects established that these problems were already being addressed individually. LINGUA integrates work at those levels with segmentation and reference resolution, and the authors frame this integration as their advance over the Bulgarian systems they discuss.

BULMORPH, developed by Krushkov, is the component imported for morphology. The authors emphasize that the language has substantial inflectional variety. They give the example of a Bulgarian verb paradigm, which can have over 50 forms. The size of a paradigm and the ambiguity of an observed form pose distinct problems. The former concerns how many forms a word can take. The latter concerns how many analyses the system has to consider for the form that actually occurs. A large inventory makes the analyzer valuable even in text where the alternatives it returns per word can often be narrowed down with a small collection of contextual rules.

For syntax, the authors cite earlier Bulgarian parsing work and draw on descriptions by Penchev and Barkalova for the broader of LINGUA’s parsing components. A feature grammar lets them encode when the properties of adjacent constituents are compatible. The parser also draws on verb frames and general preferences of the kind described by Allen to deal with ambiguity. The paper mentions earlier work suggesting that rule-based tagging can be competitive with probabilistic tagging. It uses that precedent to motivate a feasible route under its resource constraints, and its own tagging evaluation concerns the resulting rule-based component.

A route from English pronoun resolution to Bulgarian

The immediate predecessor to the pronoun resolver is Mitkov’s Robust Pronoun Resolution with Limited Knowledge. Its strategy is to find noun phrases near a pronoun, exclude phrases that fail basic agreement checks and use a collection of cues to choose among the rest. Sentence boundaries and grammatical tags help define the candidate search. The cues supply preferences from features of the text that are relatively inexpensive to find. This approach is well suited to an architecture whose other components already identify phrases and boundaries.

The paper also discusses MARS, an implementation of the antecedent-ranking approach. It describes that implementation as relying on a small phrase grammar, a list of verbs and a set of antecedent indicators, with limited information about the syntax and meaning of a sentence. The ranking approach supplies a design LINGUA can reuse even though the linguistic properties available for scoring differ across languages. A reference can be recent in Bulgarian or English. An instruction can introduce an object and then refer back to it in another instruction. The evidence supplied by Bulgarian article forms and the behavior of Bulgarian adjectival phrases calls for language-specific treatment.

Adaptation therefore involves more than expressing English rules in Bulgarian words. It involves deciding which preferences have a plausible counterpart, which grammatical distinctions can be exposed by the front end, and which lexical knowledge is needed in a particular domain. It also raises a question about kinds of documents. A cue that makes sense in a sequence of commands can have few chances to fire in a descriptive guide. LINGUA supplies a setting in which the authors can examine both the language adaptation and that change in genre.

The method, step by step

From character sequences to useful boundaries

Consider the analysis required for the paper’s example about a file and a directory. The system needs to know where the sentence containing the pronoun begins, which earlier spans are noun phrases, and where those spans fall relative to the pronoun. The verb near the pronoun can supply additional evidence, but only after the relevant words have been recognized. Some of the resolver’s other cues, such as repetition in a paragraph or a mention in a section heading, depend on units larger than a sentence. Segmentation provides the locations on which all of those later rules can operate.

How LINGUA prepares text and resolves pronouns

The steps in order.

How LINGUA prepares text and resolves pronounsStep 1: Identify tokens and combine recognized sequences1. Identify tokens and combine recognized sequencesStep 2: Detect sentence, paragraph and section boundaries2. Detect sentence, paragraph and section boundariesStep 3: Analyze word forms and disambiguate grammatical tags3. Analyze word forms and disambiguate grammatical tagsStep 4: Identify clauses and extract noun phrases4. Identify clauses and extract noun phrasesStep 5: Collect nearby noun phrases as antecedent candidates5. Collect nearby noun phrases as antecedent candidatesStep 6: Filter candidates by gender and number agreement6. Filter candidates by gender and number agreementStep 7: Score remaining candidates with antecedent indicators7. Score remaining candidates with antecedent indicatorsStep 8: Select the candidate with the highest score8. Select the candidate with the highest score

The segmentation component works within an input window of 30 tokens. A token is a unit identified in the input for later processing. Initial recognition can split a sequence that the rest of the system would benefit from treating as a unit. LINGUA’s token stapler uses a token grammar to recognize such sequences and assemble more complex tokens. Its abbreviation list helps with the same general problem. For instance, the punctuation attached to an abbreviation can belong to that expression even though a similar mark marks the end of a sentence elsewhere. The abbreviation list supports tokenization and sentence splitting.

The sentence splitter uses 9 principal ending rules. Some of them contain more specific conditions. A punctuation mark can supply a possible boundary, and information about its context can support or defeat that interpretation. Names made up partly of abbreviated initials receive special constraints. This is consequential for the rest of the system. Splitting an abbreviated name as though it ended a sentence could alter the sentence membership of nearby noun phrases, which would in turn change the recency score or even the availability of a candidate. The authors also adapt the tokenizing and sentence-splitting rules for an English corpus project.

Paragraph identification draws on visible properties of the document, including typography and orthography, as well as words that give clues about structure. Section headings are identified by heuristics. These levels enter the resolver in different ways. The position of a sentence affects which candidates lie within the search range. The paragraph provides the scope for looking for reiteration. A section heading can supply evidence that an expression is prominent in the current part of the document. Treating all these as instances of a single boundary decision would lose the distinction between their roles.

Clause chunking supplies smaller units within complex sentences. A clause boundary becomes useful when a grammatical pattern straddles it, as happens when a phrase introduced by an earlier verb is picked up by a later verb and pronoun. The paper describes clause identification as heuristic. The output is a set of local boundaries that the relevant scoring rules can consult. It also gives the authors a way to characterize how far pronouns and their antecedents are separated inside or across sentences. These uses require a workable division into clauses and can proceed with partial knowledge of the sentence’s overall structure.

From a word form to a grammatical reading

Once word forms are identified, BULMORPH supplies their possible morphological readings. A reading can identify the kind of word and provide grammatical properties relevant to later analysis. The same visible form can admit several readings. A disambiguation rule uses the local context to narrow those possibilities. The authors implement 33 hand-crafted rules for this part of the system. A decision about whether a word is functioning as a noun or adjective can affect how a phrase is assembled. Decisions about gender and number can later determine whether that phrase remains eligible as a pronoun’s antecedent. This is the role of part-of-speech tagging.

The authors characterize the amount of ambiguity facing this component with a simple corpus measure. They count the grammatical tags associated with words and express the total relative to the number of words examined.

Tags per word = number of all tags ÷ number of all words

The left-hand side is the mean count of tags per word. The numerator counts all the available tag readings across the examined words, and the denominator counts the words in the same collection. The division sign denotes taking the former count per word, and the equals sign identifies the resulting measure. A word with several possible tags contributes each to the tag count and contributes its occurrence to the word count. The statistic describes the alternatives presented to the disambiguation stage. Tagging accuracy concerns what happens when that stage chooses a reading.

The paper gives a separate measurement for technical prose and for fiction. These counts are a way to assess the burden of ambiguity under the tag inventory in use, while the rules themselves supply contextual decisions. There is no learning step in which LINGUA estimates tag probabilities from either collection. The authors chose to write rules in view of the limited availability of large tagged Bulgarian corpora. The subsequent tagging evaluation checks the output of that choice against tagged items.

Two ways to identify phrases

A noun phrase is an expression organized around a noun or a comparable nominal element. A bare noun can form a phrase, and the phrase can also include modifiers or material attached to the noun. These larger spans matter to pronoun resolution. A modifier can affect which expression the candidate denotes, and its presence can be a scoring cue in its own right. A phrase inside a prepositional expression attracts a penalty in LINGUA. The system therefore benefits from recognizing more structure than the position of each isolated noun.

The faster option is a dedicated noun phrase extractor. It uses a small unification grammar covering noun phrases and adjective phrases. Unification means that the properties required by a rule and those available from the constituents have to be compatible to build the larger phrase. The extractor can handle phrases with modifiers to the left, phrases containing other noun phrases, and structures involving prepositional phrases or coordination. Its scope is narrow enough to make it a practical source of candidates for a resolver whose search is organized around noun phrases.

The broader option is a feature grammar with rules for noun phrases, adjective phrases, prepositional phrases, verb phrases and adverb phrases. The grammar is written in a description language and supported by a compiler. A rule can constrain some features to have specific values and require other features to match among constituents. The grammar writer can change the inventory of features and values as the grammar develops. The paper describes about 1900 syntactic rules encoded through 70 syntactic formulae. The distinction is between the rules the parser has available and the more compact statements used to express them.

The paper illustrates this with a rule that combines an adjective phrase and a noun phrase into a larger noun phrase. The notation below groups the features in brackets and uses the equality sign within a bracket to associate a feature with its value.

NP[def=Y, full_art=F, ext=+, rex=−, nam=−] → AP[gender=X, def=Y, full_art=F, number=L] NP[ext=−, def=−, number=L, gender=X, rex=−]

NP means noun phrase, and AP means adjective phrase. The arrow puts the category produced by the rule on the left and the ordered constituents used to build it on the right. The brackets enclose feature specifications for each category, and commas separate specifications. gender and number are agreement features. X is the shared gender value of the adjective phrase and the input noun phrase, while L is their shared number value. def is definiteness, and full_art records the full-article distinction. Y and F are variables shared between the adjective phrase and the larger noun phrase. ext, rex and nam are additional features whose linguistic interpretation the paper leaves unspecified in this example. + and − are fixed feature values. The equals sign associates each feature with the variable or fixed value shown beside it, so def=− fixes the definiteness value of the input noun phrase.

The repeated variables show how the rule works. The analyzer must find an adjective phrase and a following noun phrase whose gender and number agree. The definiteness and full-article specifications of the output are tied to those of the adjective phrase. A grammar rule can thus require agreement in a particular place and carry along a property that was supplied elsewhere in the expression. This is one way for information obtained during word analysis to remain available after the words have been combined into a phrase.

The parser builds constituents from smaller ones in a chart. Here the chart is a record of analyses over spans of the sentence. An analysis that has already been found can serve as part of a larger analysis. If no complete sentence tree is available, the chart can still contain phrase analyses. That behavior matters to LINGUA because the pronoun resolver can use an identified noun phrase even when the grammar fails to connect it to the rest of its sentence. The parser uses information about the syntactic frames associated with verbs and other heuristics to choose among competing structures.

The parser evaluation limits the number of chart arcs to 35,000 per sentence to speed processing. An arc represents a span-related analysis under consideration in the chart. Limiting the chart bounds the work the parser can do on an individual sentence and potentially bounds how much structure it explores. The paper’s more general parser is the slower of the two options. The choice between them concerns the amount and quality of phrase structure required by the task, as well as the work needed to produce it. Both are instances of parsing.

Finding antecedents that can compete

The resolver comes last. It works on third-person personal pronouns and searches for an antecedent, the earlier expression that supplies the pronoun’s referent. The search collects noun phrases in the current sentence and the preceding sentences within the method’s fixed window. In the current sentence, the method compares a pronoun with eligible earlier expressions. The sentence boundary decisions made much earlier in the pipeline now govern where the candidate search looks.

Candidates are filtered using agreement in gender and number. The filter is an eligibility test. Once an expression is removed, cues about recency, terminology or paragraph structure have no opportunity to restore it. Conversely, a phrase that passes the agreement test is only grammatically compatible on the checked features. Several phrases can be compatible with the same pronoun, so the resolver still needs a basis for choosing among them.

The first stage can therefore fail even with good ranking rules. If the true antecedent was missed during noun phrase extraction, the appropriate candidate will never reach the resolver. If a tag supplies an incorrect agreement feature, the candidate may be removed before scoring. A sentence split in the wrong place can affect both the eligibility window and the score for distance. Once the candidate survives those decisions, the remaining task is to compare the evidence supplied by the activated cues.

LINGUA assigns a reward or penalty to a candidate whenever an applicable indicator fires. The weights accumulate into a composite score, and the candidate with the highest score is proposed as the antecedent. A candidate can receive several types of support. For instance, a noun phrase can be recent, appear in the section heading and represent a domain term. Another can receive a recency reward while incurring a penalty because it is inside a prepositional phrase. Scoring gives the system a way to adjudicate these combinations using the same selection procedure. The paper refers readers to Mitkov’s earlier work for the treatment of ties.

Prominence, repetition and distance

Several indicators capture ways an expression can become prominent. The first noun phrase in a sentence gets +1. A phrase immediately after a verb from an indicating list also gets +1. Verbs for actions such as introducing, presenting or discussing something suggest that the expression following them may be important to the content that follows. This cue uses membership in a particular list and the phrase’s position relative to the verb.

Repetition supplies evidence from a broader context. A candidate repeated twice or more in the pronoun’s paragraph gets +2, while a candidate repeated once gets +1. A candidate also appearing in the section heading gets +1. The two rules examine different evidence. Reiteration treats a recurring expression as prominent in the local discussion. A heading can identify what the section concerns even before the body has had time to repeat the expression. Both rules depend on segmentation beyond the sentence level.

Referential distance assigns +2 to an eligible phrase in the same sentence, +1 to one in the preceding sentence, and −1 to one two sentences back. Distance is measured here by sentence position, regardless of how many other phrases intervene within a sentence. The recent candidate starts with an advantage that other cues can reinforce or counterbalance. The method can thus use recency for ordinary cases while still selecting an older candidate with stronger evidence from other indicators.

The indefiniteness indicator also takes values in both directions. It gives −1 to an indefinite noun phrase, 0 to a definite noun phrase without the full article, and +1 to a definite noun phrase with the Bulgarian full article. The rule uses a distinction visible in the form of the candidate, and the grammatical analysis has to preserve that distinction for the resolver. Prepositional noun phrases receive a separate penalty of −1. This cue depends on recognizing a candidate as part of a larger phrase. Its weight expresses a preference, so a candidate with strong support from other indicators can still be selected.

Local constructions and lexical evidence

The collocation-match indicator awards +2 for an identical collocation pattern involving the candidate and the pronoun. A collocation is a recurrent or characteristic combination of words. In such a match, an earlier phrase and the pronoun participate in corresponding local wording. That pattern gives the system a reason to treat the pronoun as standing in for the earlier phrase.

The immediate-reference indicator also awards +2. It targets an earlier verb followed by a noun phrase and a later verb followed by the pronoun, with a clause boundary between the two parts. In this construction the pronoun can refer directly back to the object introduced in the earlier clause. The clause splitter provides the boundary that the rule needs. The cue for sequential instructions, also worth +2, looks for a different arrangement. An instruction introduces its object after a verb, and a subsequent instruction uses a pronoun in the corresponding position. The instructions’ relation to one another supplies evidence that the object continues to be relevant.

The term preference gives +1 to a candidate identified as a domain term. To conduct their experiments, the authors compile by hand a set of 80 terms drawn from word processing, operating systems, programming languages, and computer hardware. The resource also contains 240 phrases involving these terms. Thus it supplies evidence about both what expressions refer to domain objects and what expressions those objects usually occur in. The authors envisage obtaining terms automatically in later applications. They describe MARS as obtaining terms using weights based on term and document frequency, while the Bulgarian experiments use the manually assembled resource.

The selectional restriction indicator generalizes a familiar combination into evidence for a candidate. It awards +2 if a verb adjacent to the pronoun is known to combine with the candidate. In the example, a file is saved in a new directory and a later instruction says to delete it. The earlier mention of the file occurred with a different verb. The exact collocation-match rule therefore has no matching earlier use of delete with the noun phrase in this passage. The selectional restriction can still favor the file because delete file is an acceptable verb and object pairing in the domain resource.

This form of lexical evidence connects the content of two passages through the current verb. The resolver looks for a known pairing between that verb and a proposed referent, regardless of the earlier verb used with the referent. Its ability to do so depends on which pairings have been recorded. The authors obtain the experimental patterns from frequent expressions involving verbs and terms in the purpose-built bank. They describe larger domain corpora as a general source for collecting patterns of this kind.

Two other indicators added for Bulgarian concern the candidate itself. An adjectival noun phrase receives +1 when its head is modified by an adjective. The authors motivate this rule from an empirical observation that these phrases can be more salient than phrases consisting of a bare noun. The name preference gives +2 to the names of entities such as people, organizations or products. A candidate can receive either of these rewards regardless of whether the current verb has a known domain pairing. Adjectival modification, entity naming and verb compatibility are distinct reasons for boosting a candidate.

How the rules and weights were prepared

The system’s components draw on different kinds of preparation. The segmentation heuristics and tagging rules are hand-written. The broader phrase grammar formalizes analyses of Bulgarian syntax and is compiled for the chart parser. The nominal and clause analyses let the pronoun resolver activate its rules. Most of the antecedent indicators come from the earlier approach, with additions for the Bulgarian system and a term resource constructed for the experiments. The small manually annotated phrase collection serves as evaluation data for the parser.

For pronoun resolution, the paper reports a standard set of weights and an optimized set. The standard scores give each indicator a specified effect whenever it applies. Optimization uses a genetic algorithm in a manner the paper relates to earlier work on preference-based resolution. It changes the numerical strengths of the indicators, with the same overall procedure of filtering, adding scores and selecting a candidate. The paper gives the resulting success rates and describes the general optimization method. Details of the data partition and the search settings remain open.

Experiments and results

What the component evaluations measure

The authors evaluate several intermediate outputs separately so the quality of the architecture can be examined at each level. For a boundary detector, precision asks how many of its proposed boundaries are correct, while recall asks how many of the reference boundaries it found. For phrase analysis, precision concerns the phrases the system produced and recall concerns the phrases in the annotated material. This distinction matters because a component can offer useful coverage while also introducing extra candidates that later stages must handle.

In the summary of module performance, sentence splitting has precision of 92.00 and recall of 99.00, both percentages, on an evaluation text of 190 sentences. The reported paragraph splitting precision and recall are 94.00 and 98.00, as percentages, for 268 paragraphs. The clause chunker has precision of 93.50 and recall of 93.10, again percentages, for 232 clauses. Sentence and paragraph splitting are stronger on recall than precision on their respective samples. The clause scores sit closer together. As these are separate evaluations, the scores tell the reader about the behavior of each detector on its own reference units.

The tagging evaluation uses 303 POS tags. The table reports 95.00 for both precision and recall in percent. The paper separately measures ambiguity before disambiguation. It obtains 1,26 tags per word on a corpus of technical texts with 9000 words, and 1,32 on a fiction corpus of 13,000 words. Both are measures of the number of tag readings presented per word. The discussion also cites approximately 1,9 for Turkish and 2,0 for certain English corpora. The authors use those comparisons to motivate their description of the Bulgarian tagging task. The measured tagging precision and recall come from the tagged evaluation items, while the ambiguity figures characterize alternatives on their own corpora.

The boundary and tagging results also explain why the authors evaluate pronoun resolution end to end. A high recall value for sentence boundaries says that very many reference boundaries were found. A false boundary can still affect several candidate comparisons, because all the noun phrases near it can acquire different sentence positions relative to the pronoun. Likewise, the impact of an incorrect tag depends on whether the tag helps determine a candidate’s span, gender or number. The resolver’s score registers the effect of the combined pipeline in a way that isolated counts cannot.

How the two phrase analyzers compare

The standalone noun phrase extractor is evaluated against 352 noun phrases from software manuals. The program reaches 63.5% precision and 77% recall, using the figures as given in the authors’ comparison of the two approaches. The chart parser is evaluated against a manually annotated collection described as containing 600 phrases. Within the chart-parser figures, the paper lists 294 noun phrases as evaluation data for that category. In the prose comparison, the chart parser’s noun phrase precision is 74.8% and its recall is 77.9%. The chart below uses the precision figures from that comparison and identifies the evaluation material for each system in its label.

Noun phrase precision on the software-manual and annotated phrase samples

The chart parser has higher noun phrase precision in the reported component evaluations.

Noun phrase precision on the software-manual and annotated phrase samplesStandalone extractor on software manuals: 63.5Standalone extractor on software manuals63.5Chart parser on the annotated phrase corpus (this paper): 74.8Chart parser on the annotated phrasecorpus (this paper)74.8
The numbers
System or settingPrecision %
Standalone extractor on software manuals63.5
Chart parser on the annotated phrase corpus (this paper)74.8

The precision and recall comparison suggests that the broader parser yields a larger gain in the correctness of proposed noun phrases than in the coverage of reference noun phrases. The measurements come from the reported component evaluations instead of a documented common test sample. They therefore describe the tested configurations and support a qualified comparison. For the resolver, both kinds of parsing error matter. A spurious noun phrase can compete with the antecedent and influence which pronouns count as ambiguous. A missed phrase can remove the correct answer from consideration entirely.

The chart parser’s category-level results give a more detailed picture of what the system recognizes. Its noun phrases reach 74.84 precision and 77.89 recall in percent on the 294 NPs listed in the table. For the 64 adjective phrases, the corresponding values are 65.15 and 67.19. For the 93 prepositional phrases, they are 70.00 and 60.21. These categories are useful sources of local structure. An adjective phrase can be part of the evidence that a candidate is modified, while a prepositional phrase can identify a context in which the candidate receives a penalty.

For the 26 adverb phrases, precision and recall in percent are 37.14 and 50.00. On 72 verb phrases, they are 33.33 and 26.39. For the 51 sentence units labeled S, the table gives 20.00 and 5.88. Sentence splitting and recognizing a complete syntactic sentence are very different operations. The former locates the span using boundary cues. The latter requires the parser to find a suitable internal structure for the span. The strong boundary recall and the low recall for S can coexist because the evaluated outputs serve different purposes.

Across the 600-phrase evaluation, the table reports overall precision of 64.93 and recall of 60.50, as percentages. Bracket crossing accuracy is given separately as 80.33 on the phrase collection. Bracket crossing concerns whether constituent boundaries conflict with each other by overlapping in incompatible ways. It addresses a different property of a proposed analysis from whether the complete set of reference phrases is recovered. The authors describe their bracket result as comparable to some probabilistic approaches and acknowledge weaker overall precision and recall in comparison with some English parsers they cite. These are comparisons to reported work. The paper’s own direct evaluation focuses on the Bulgarian components.

The pronouns and the choices they present

The software-manual evaluation contains 221 anaphoric third-person pronouns. The tourist text contains 116. These are the pronouns for which the authors evaluate resolution, and the combined module evaluation lists 337 anaphors. The text goes through the automatic processing pipeline. The authors describe the tourist-guide experiment as proceeding without manual changes to the input and without correction of the preprocessing output. The results therefore describe how the resolver behaves with the analyses produced by LINGUA.

The paper uses several measures because eligible pronouns present different kinds of choices. Some have several nearby noun phrases but only one that agrees in gender and number. Others still have multiple candidates after the filter. A score that counts every pronoun describes overall usefulness in the collection. A score restricted to cases with competing candidates shows more about what the ranking indicators contribute.

SR = AC ÷ A

SR is success rate. AC is the number of anaphors whose antecedents were correctly identified. A is the total number of anaphors in the set being evaluated. The division sign indicates the share of evaluated anaphors resolved correctly, and the equals sign states the definition of the measure. The authors report success rates as percentages. Here the denominator concerns the anaphors under evaluation, so it differs from a precision measure whose denominator would be the number of answers proposed by a system.

Critical success rate restricts the calculation to pronouns with more than one candidate after the gender and number filter. Those cases present the ranking procedure with a choice among candidates that passed the grammatical test. Nontrivial success rate restricts it to pronouns with more than one candidate before agreement filtering. That group can include cases where agreement itself clears up the ambiguity, as well as cases where multiple candidates survive it. Each rate is a success rate on a defined subset, and each subset makes a different part of the resolver’s job visible.

The baseline chooses the most recent noun phrase that agrees in gender and number. This is an informed comparison. It already uses candidate identification, the pronoun’s grammatical properties and recency. The standard and optimized versions add the rest of LINGUA’s scoring scheme to those kinds of evidence. Their advantage over this baseline measures how much the full selection procedure helps against a simple recency choice on the evaluated documents. The baseline also helps expose whether a genre is difficult under every selection rule or particularly difficult for the hand-weighted preferences.

Pronoun resolution across the two genres

With standard weights, the resolver reaches 75.0% overall success in software manuals, 70.0% critical success and 70.0% nontrivial success. With optimized weights, the corresponding software-manual rates are 78.8%, 73.0% and 78.8%. The most-recent baseline reaches 58.0% overall, 54.0% critical and 58.0% nontrivial success. Each of the reported comparisons in the manuals favors the version with optimized weights. The standard weights also improve on the recency rule in each of the three evaluations, including the one restricted to competition after agreement filtering.

In tourist guides, the standard setting scores 68.1% overall, 63.3% critical and 67.2% nontrivial success. The optimized setting scores 69.8%, 64.4% and 69.0%. The baseline reports 65.0%, 58.8% and 65.0%, respectively. The ordering is the same as in the manuals, but the baseline’s overall success rate is closer to that of the standard resolver. The paper attributes the lower success of the weighted resolver in the guides chiefly to genre-specific preferences involving terminology, immediate reference and sequential instructions. A descriptive passage need not supply the kind of structural evidence found in a software manual.

On both genres together, overall success is 72.6% for the standard weights and 75.7% for the optimized weights, compared with 60.4% for the most-recent baseline. The corresponding critical rates are 67.7%, 70.0% and 55.7%. On the nontrivial subset the rates are 72.3%, 75.4% and 60.4%. The combined critical results matter because all the pronouns in that subset have multiple candidates still in contention after agreement filtering. The full system’s advantage is visible in the cases that explicitly require a selection beyond grammatical compatibility.

Overall pronoun resolution success on the combined manuals and tourist guides

Both weighted settings outperform the most-recent agreeing candidate baseline, and the optimized weights score highest.

Overall pronoun resolution success on the combined manuals and tourist guidesMost recent agreeing noun phrase: 60.4Most recent agreeing noun phrase60.4LINGUA with standard weights: 72.6LINGUA with standard weights72.6LINGUA with optimized weights (this paper): 75.7LINGUA with optimized weights (thispaper)75.7
The numbers
System or settingSuccess rate %
Most recent agreeing noun phrase60.4
LINGUA with standard weights72.6
LINGUA with optimized weights (this paper)75.7

The authors describe LINGUA’s pronoun resolution results as comparable to those of MARS. The detailed comparisons in this paper are between LINGUA’s weight settings and its most-recent baseline. They establish how those settings ordered the candidates on the Bulgarian evaluations. The reported gains with optimized weights describe the outcomes of that optimization. The paper’s account of which document collections take part in weight selection is relevant to how broadly those gains can be interpreted.

How far the resolver has to look

The paper also describes the composition of the evaluation collections. For the software manuals the counts of references resolved within the same sentence and across sentences are reported as 106 : 115. In the guides the corresponding counts are 17 : 99. The guides therefore present a larger share of references whose antecedents are in an earlier sentence. That changes the kinds of evidence available. An indicator for a local construction across clauses can be useful only where the relevant parts occur in the right configuration. A candidate from an earlier sentence also receives a different distance score.

The average number of candidates per anaphor is 3.29 in the manuals and 3.35 in the guides. The averages are close, but they describe the size of the search, without capturing where the alternatives and the true antecedent occur. In the manuals, the mean distance to the antecedent is 1.10 clauses, 0.62 sentences and 3.30 noun phrases. In the guides, the corresponding distances are 1.74 clauses, 0.98 sentences and 5.13 noun phrases. A distance measured in noun phrases describes how much nominal material separates the pronoun from its antecedent. A distance measured in sentences relates directly to a feature used by the resolver.

These measurements explain how similar candidate counts can accompany different resolution problems. A pronoun can have a modest candidate list and still refer back past several other expressions. Other pronouns can have multiple candidates nearby, with the relationship to the correct one marked by a familiar instruction pattern. The statistics establish that the genres differ in the locations of their antecedents. The results also show higher baseline success in the guides than in the manuals. Candidate frequency and mean distance provide context for that outcome, while leaving open which examples each strategy succeeds on.

What the ablations show

Removing the distance cue

The paper reports selected indicator comparisons and describes an especially large effect for referential distance. The authors say that switching off this indicator can reduce success rate by 26%, with distance particularly influential in technical manuals. The comparison removes a preference that distinguishes eligible candidates within the search window. The filter still restricts the candidates by agreement, while the remaining cues have to decide among them without the scores for sentence distance.

The effect shows that recency is useful inside the weighted approach as well as on its own in the baseline. Those are distinct comparisons. The most-recent baseline makes recency the decision rule once agreement has been checked. In the weighted resolver, distance supplies a preference and can be outweighed by lexical or structural evidence. Removing the distance indicator tests whether this flexible preference contributes to the combination. Comparing the whole resolver with the baseline tests whether that combination can improve on making every decision by recency among agreeing candidates.

The reported 26% decline describes the effect the authors attribute to switching off the indicator. The surrounding account singles out technical manuals but gives no corresponding table of per-genre values or before-and-after rates for this comparison. The result identifies distance as consequential in the experiments the authors discuss. Its size across the full collection and on the separately defined critical and nontrivial subsets remains unspecified.

Adding the adjectival phrase cue

The authors report that the adjectival noun phrase indicator improves success rate by 2.20% in what they describe as recent experiments. The cue favors candidates whose head nouns have adjectival modifiers. Its motivation is that such expressions appear to be more salient in the Bulgarian material than noun phrases made up of a bare noun. The indicator makes that observation consequential by giving the former candidates an extra reward before the final ranking.

The comparison is informative about the usability of an accessible local syntactic feature. The resolver needs the phrase analyzer to identify a head and an adjective modifying it. Once the information is available, the scoring change is simple. The result provides evidence that such a distinction can help on the material considered. A breakdown by genre, pronoun subset or type of modifier remains open. The authors also leave as a question whether the preference would be useful in English.

For the other new cues, the paper supplies explanations and examples. The file example illustrates how a known verb and object pairing can support an antecedent across sentences even when the earlier occurrence was paired with a different verb. The name indicator illustrates a separate decision to favor named entities. Their individual contributions are not quantified in the account. The comparison between the full system and the recency baseline captures their possible contribution together with that of the other indicators.

Changing the weights and the parsing component

The standard-to-optimized comparison changes how much the indicators count when their evidence competes. Optimized weights score higher on the overall, critical and nontrivial measures in each reported genre. This consistency indicates that the relative strength of existing cues matters to the resolver’s decisions. The comparison varies a set of weights together. A higher success rate can reflect several changes in how cues reinforce or override one another, so the aggregate results cannot identify any particular cue as the cause.

The noun phrase evaluations compare a dedicated extractor with the broader chart parser. The chart parser reports higher precision along with a smaller improvement in recall in the paper’s prose comparison. Because evaluations are described on different material, and resolver success is not reported separately for the two parser options, this is a comparison of component scores. It shows that the broader analysis can produce stronger noun phrase results in the reported tests. The effect of swapping it into the pronoun pipeline on a fixed set of documents remains unmeasured.

Taken together, the reported comparisons give evidence at several points in the architecture. The distance and adjective experiments concern specific cues. Weight optimization concerns the balance among cues already available. The parsing comparison concerns the quality of an input to the resolver. The evaluation by genre examines how the complete system behaves when patterns of reference and document structure change together. Each kind of evidence answers a narrower question than how much any single design choice contributes to the full system across domains.

Limitations

Limits the authors identify

The authors acknowledge that the chart parser’s grammar has insufficient coverage and that its syntactic disambiguation is unreliable. Both issues can affect the overall precision and recall. Coverage determines whether the grammar makes a reference structure available at all. Disambiguation determines whether the system favors it when several structures are available. The low recall for complete sentence structures and the stronger performance on noun phrases fit the authors’ emphasis on using partial analyses. They also cap the number of arcs explored in each sentence for speed. The evaluation reflects parsing with that operational limit in place.

The authors identify preprocessing inaccuracies as a source of pronoun errors, specifically pointing to clause segmentation and noun phrase extraction. A missed clause boundary can prevent a construction from matching, while a missing noun phrase may exclude the correct answer altogether. Their procedure tests automatic input analysis as part of the resolver’s operating conditions. The cost of that realism is that an error in the final antecedent can have several possible origins. The paper points to those sources and leaves a detailed accounting of their relative frequency open.

Genre is another limitation the authors make explicit. The term bank comes from computing domains. Some preference rules describe how technical instructions present and reuse their objects. The guide evaluation broadens the test, and the authors interpret its lower weighted success rates in light of the genre dependence of these cues. The experimental term bank was constructed by hand. The authors propose automatic term extraction for future applications, so the reported results characterize the resource they built for the evaluation.

Limits of the evaluation setup

The component evaluations use different samples and reference units. The software-manual noun phrase set gives the dedicated extractor a specific target. The annotated phrase collection gives the chart parser a broader set of categories. This makes the results informative about the behavior of each option under its own evaluation conditions. A clean estimate of the effect of parser choice on a shared collection would require evaluating both against the same reference phrases. A separate end-to-end comparison would then be needed to see whether improved phrase precision translated into more correctly resolved pronouns.

The pronoun experiment restricts the target to anaphoric third-person personal pronouns. Its measures describe the assignment of antecedents for that target class. Broader questions, such as linking referring expressions other than pronouns or dealing with pronouns that have no antecedent in the text, fall outside the stated evaluation. The search window further limits the task the resolver can perform. A correct antecedent outside that window, or missing from the extracted noun phrases, is unavailable regardless of the quality of the weighting. The paper describes distances and candidate counts, but it gives no separate score for how often the correct antecedent is present among eligible candidates.

The optimization account supports a comparison of reported configurations. It does not specify how the documents used to tune the weights relate to the documents used to report the optimized scores. A held-out estimate of the benefit depends on this distinction, particularly when some cues were designed for a domain represented in the evaluation. The paper also gives no variation across multiple runs or uncertainty intervals for the results. The genre and metric results remain useful as observations on the tested collections, with the robustness of the optimized settings on new documents left open.

Differences between manuals and guides have several possible sources within the paper’s own description. The guides contain more references to antecedents in an earlier sentence, the average distances are longer, and the guide prose offers different opportunities for genre-specific cues. The distributional measurements describe these factors together. The genre comparison cannot assign the change in success to one of them independently. Similarly, the cited comparisons with English parsers and MARS are contextual. They do not establish equivalence under a shared Bulgarian test, a shared annotation scheme, or common preprocessing.

Finally, the paper motivates LINGUA through applications including abridgment and extraction and reports that the architecture was used in projects in those areas. The evaluations concern intermediate processing and pronoun resolution. They leave application-level questions open, including how often an improvement in antecedent selection changes what an abridgment keeps or what an extraction system returns. The demonstrated result is an integrated Bulgarian processing pipeline with measurable performance on its component tasks.

What came after

No later citing work is identified, so the documented history stops with the authors’ account of LINGUA’s use and the extensions they envisaged. The paper reports use in automatic abridgment, extraction of word meaning from connected text, and term extraction. These projects show the range of tasks for which the architecture was employed. The paper’s evaluation concerns the processing components themselves and leaves the effects on those projects unquantified.

The authors also describe a direction for extending the resolver’s lexical resources. The experimental term bank was created by hand, and they envisaged incorporating automatic term extraction into future applications. They distinguish the small bank used to collect verb and term patterns in the experiment from the larger domain corpora that could supply patterns more generally. The proposed change would affect which candidates the lexical indicators can recognize and reward. The paper gives the motivation and the intended source of evidence. Its reported scores come from the implemented Bulgarian system and the resources used in the experiments.

Cite

Cite as Hristo Tanev and Ruslan Mitkov. 2002. Shallow Language Processing Architecture for Bulgarian. COLING 2002: The 19th International Conference on Computational Linguistics.

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

@inproceedings{tanev2002shallow,
  title = {{Shallow Language Processing Architecture for Bulgarian}},
  author = {Hristo Tanev and Ruslan Mitkov},
  booktitle = {COLING 2002: The 19th International Conference on Computational Linguistics},
  year = {2002},
  url = {https://aclanthology.org/C02-1027/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tanev-2002-shallow-language-processing-architecture-bulgarian/