Statistical Morphological Analyzer for Hindi
Paper · 2013 · Deepak Kumar Malladi and Prashanth Mannem
Summary
A Hindi word can carry grammatical information that a reader needs to understand the sentence around it. A noun and its modifier may agree in gender, number and case, while a finite verb can agree with a noun elsewhere in the sentence. Recovering these properties is part of morphology, the study of how words are formed and how their forms express grammatical information. Malladi and Mannem ask how well an established Hindi analyzer supplies that information and whether training on annotated sentences can improve the analysis. The established system groups words by the inflections they take and returns the readings its rules and vocabulary allow. Choosing a reading in context is a separate task, and the system’s dictionary lacks entries for 5,581 of the 17,666 distinct words in the Hindi Treebank.
The authors’ statistical morphological analyzer, or SMA, divides the work according to where the evidence is available. It recovers the lemma, the base form of a word, by learning how character sequences in observed spellings correspond to character sequences in their base forms. Separate classifiers predict gender, number, person and case using information about the word and its immediate surroundings. Rules based on part-of-speech tagging recover vibhakti for nouns and pronouns and tense, aspect and modality for verbs. This last part looks beyond the spelling of the word being analyzed. A separately written postposition can belong to the analysis of a preceding noun, and a sequence of auxiliaries can supply information about a preceding verb.
On the Hindi Treebank test section, the authors compare SMA with a frequency baseline and with two ways of using the paradigm-based analyzer. One takes the first reading it returns. The other uses the reference analysis to give it credit when a suitable reading is available. In the main results table, joint accuracy for lemma, gender, number, person and case is 82.16% for SMA and 63.41% for the reference-assisted comparison. On test words whose forms never occurred in the training section, the corresponding figures are 56.66% and 34.89%. The abstract gives 84.16% for SMA on the overall five-attribute measure, which differs from the table. The conclusion also gives a different figure from the table for the complete analysis.
The comparisons establish that the new system recovers more of the Treebank’s annotations, including on unfamiliar forms. They also show why accuracy for a single attribute gives an incomplete picture. On those unfamiliar forms, SMA reaches 94.39% for person alone, while getting the five attributes together is substantially harder. The authors report that feeding their predictions into dependency parsing improved parsing accuracy. They give no parsing scores, so the measured extent of the improvement is available for morphology alone.
Deep dive: Statistical Morphological Analyzer for Hindi
How a Hindi morphological analyzer learns from the Hindi Treebank, uses sentence context, and compares with a rule-based analyzer. · about 32 minutes to read
The problem and its context
What a parser needs to know about a word
A word form is the version of a word that appears in a text. A morphological analysis connects that occurrence to a base form and describes grammatical properties expressed by the occurrence. For Hindi, the authors are interested in properties that help link words to one another. A modifier, including a determiner, can agree with the noun it modifies in gender, number and case. A finite verb can agree with a noun in gender, number and person. Morphological analysis gives a parser information it can use when deciding which words stand in these relationships.
The two kinds of agreement explain why recovering the base form is only part of the task. The lemma identifies the lexical item. An agreement feature describes an aspect of how the word is used in a particular occurrence. A parser considering which noun a modifier belongs with needs features on both words. A process that replaces each inflected form with its lemma would leave those features to be recovered elsewhere. The authors cite earlier work on the value of morphosyntactic information for Hindi parsing. On the Role of Morphosyntactic Features in Hindi Dependency Parsing
The paper also distinguishes the information that applies to different kinds of words. Nouns, pronouns and adjectives can have gender, number, person and case. The corresponding list for verbs includes gender, number and person. Tense, aspect and modality, abbreviated TAM, belong to verbs. Vibhakti, in the nominal use relevant to the analyzer’s output, concerns nouns and pronouns and can involve a following postposition. The grammatical term has a wider use in the tradition the authors cite, where it also covers nominal case endings and forms associated with verbs. The analyzer’s evaluation keeps the nominal and verbal attributes under a shared vibhakti/TAM label. Relative clauses in Hindi and Arabic: A Paninian Dependency Grammar Analysis
These distinctions matter because parts of an analysis may be expressed in different places. The spelling of a word might show an inflection that a system can analyze in isolation. In other cases, more of the evidence comes from a neighboring word. A noun can be associated with a separately written postposition, and a verb can be followed by auxiliaries. There is also a difference between locating such material and establishing agreement. The authors can look immediately after a verb for auxiliaries, whereas discovering the noun with which it agrees can require knowing how the sentence is structured.
This makes the position of morphology in the processing pipeline important. Assigning grammatical features early can help a parser infer sentence structure. Some of those very features could be assigned more reliably if the analyzer already knew which words were related. The authors single out gender, number and person here. Knowing a word’s syntactic head, the word on which it depends, can make the relevant agreement relationship available. The system they describe has to make its morphological decisions with the sentence and its part-of-speech information, before dependency relations are available.
What paradigm rules can supply
The paper’s main point of comparison is the paradigm-based analyzer, abbreviated PBA. In a paradigm, lexical items are grouped according to the patterns of inflection they share. Each group comes with rules that account for alternations between members’ base forms and their inflected spellings. A rule can delete characters from one form and add characters needed for another. The analyzer can apply such rules to an observed form and check the resulting candidate against a vocabulary. A vocabulary entry connects the candidate to the paradigm that licenses its inflections.
A strength of this arrangement is that the lexical knowledge and the permitted analyses are made explicit. An ambiguous spelling can receive several records, each with a base form and grammatical values. One of the paper’s examples is the form xeSa, glossed as country. The returned readings use the same lemma and vary in number and case. The listed possibilities include singular and plural direct readings and an oblique singular reading. A user of the output can see the ambiguity without having to infer it from the spelling.
The same example illustrates the work left for another component. The PBA offers its alternatives for the spelling by itself. If two readings share a lemma and differ in their case or number, finding that lemma in the vocabulary does little to determine which reading applies in the sentence at hand. The candidate list is valuable as a statement of possibilities. A system that produces one analysis per occurrence still needs evidence for choosing among them.
Dictionary coverage creates a separate problem. The paper reports 17,666 distinct forms in the Hindi Treebank and finds that 5,581 of them, or 31.6%, lack entries in the PBA. These are counts over distinct spellings. A frequent word and a form that occurs once each contribute a single entry to the inventory. The statistic therefore describes the reach of the dictionary across the vocabulary of the treebank. The proportion of running words affected depends on how frequently the uncovered forms appear. That is a different quantity from the one the authors give here.
For lemma prediction, the analyzer can fall back to treating the input as its own base form when the rule and vocabulary search yields no lemma. Such an answer can be correct if the observed form is already the base form. The fallback has less to offer when an unfamiliar spelling is an inflected form whose correct base requires an edit. Where the dictionary is missing an entry, a system that can infer an edit from other word forms has a way to attempt that analysis.
Where earlier systems placed disambiguation
The authors describe a shallow parser used in large Hindi translation projects. A shallow parser identifies local grammatical groupings, and the one they discuss combines readings from PBA with part-of-speech tags assigned automatically. Those tags are used to prune the available readings. This puts contextual selection downstream of the paradigm lookup. A tag may make a reading implausible for a given occurrence, allowing the parser to discard it. The original candidate list still governs what survives. Where the required analysis is absent from that list, pruning has no way to supply it.
The paper mentions two other lines of development. Goyal and Lehal reimplemented the PBA and extended it. The authors report that this work included no comparative evaluation. Kanuparthi and colleagues added a derivational layer to the PBA. Their analyzer recognizes 22 derivational suffixes and can supply a derivational analysis when it finds a matching ending. Derivation concerns the formation of lexical items. The central evaluation in Malladi and Mannem’s paper concerns the base form and grammatical features of occurrences in sentences. As presented by the authors, the derivational extension addresses a different part of word analysis and does not remove their motivation for measuring coverage and contextual accuracy.
The Hindi Parsing Shared Task provides a practical illustration of the gap. In the 2012 task, the track with reference input supplied morphological analyses, parts of speech and chunks. The automatic track supplied the sentence and automatically assigned tags. The paper attributes the omission of automatic morphology to the limited coverage of the available analyzer. This matters for interpreting the authors’ objective. They want an analyzer whose predictions could be supplied for ordinary text, including words for which a dictionary lookup provides little help.
The Hindi Treebank supplies the resource for this approach. It associates word occurrences with grammatical annotations, so it gives the analyzer examples of how spellings, word categories and surroundings relate to the target values. It also gives the researchers a way to evaluate a system that returns a single analysis and a system that offers alternatives. The key methodological choice is how to use those annotations. The authors treat base-form recovery, agreement-related classification and the interpretation of following grammatical material as distinct problems, each with a procedure suited to the evidence they describe.
The method, step by step
Start with annotated words in sentences
The Hindi Treebank contains 15,102 sentences and 334,287 words. It includes morphological information, part-of-speech tags, chunks and labeled dependencies. The analyzer uses the morphological and part-of-speech information. The morphology annotations supply the base forms and grammatical values to recover. The tags give the system information about categories such as pronoun, main verb and auxiliary, whose roles differ in the analysis.
The corpus serves several purposes. It provides aligned word forms and lemmas for learning how to change a spelling into its base form. It provides labels for the separate classifiers that predict gender, number, person and case. It also supplies information about postpositional suffixes when they are written together with a pronoun. A held-out development section is used for tuning. The test section is used to measure the resulting analyzer on sentences held out from training.
At analysis time, the components have different scopes. Lemma prediction starts from the characters in a single word form. The grammatical classifiers can look at neighboring words and use category information. The rules for vibhakti and TAM inspect the tags that follow the relevant noun, pronoun or verb. These components contribute fields to the output for an occurrence. The description establishes that division of work and identifies features the authors tried. It leaves the exact feature configuration for each final classifier unspecified.
How SMA builds a morphological analysis
The steps in order.
Recover the base form as a character sequence
The authors start from an observation about the kind of ambiguity each component faces. They say a Hindi spelling has relatively few occasions on which the intended lemma changes with context. Gender, number and person can depend more strongly on the word’s grammatical relationships. This makes a spelling-based procedure a reasonable starting point for lemma prediction, especially when a comprehensive list of inflected forms paired with their lemmas is unavailable.
The training material is made from the training section’s annotated pairs. The observed form is the source string and its lemma is the target string. On both sides, spaces separate the characters so that the machinery can work with each string as a sequence of units. A training example then resembles a short parallel text in which the units on either side are characters drawn from the word and its base form. The comparison helps explain the choice of Moses, a phrase-based machine translation toolkit.
In this application, the phrases are character sequences. The machinery can learn correspondences in which part of the input spelling carries over, while another part changes as the inflection is removed or altered. The component responsible for mapping source sequences to target sequences accounts for such changes. A component that evaluates the target character sequence provides evidence about which endings fit which stems. Together, they let the system draw on patterns learned from other form–lemma pairs when it encounters a new spelling.
A useful way to understand the role of the target sequence is to consider the choice after a plausible edit has been identified. A change at the end of the observed form might resemble changes seen in several training pairs. The resulting candidate still has to make sense as a whole sequence of characters. The target-side evidence helps assess that sequence, while the correspondence with the observed form keeps the prediction tied to what was actually written. The paper describes these complementary responsibilities at that level. It gives no example that traces the scores for alternative lemmas through the decoder.
The direction is deliberate. Starting with an observed form, the system has evidence from the particular inflection that appeared in the sentence. Starting with a lemma, it would have to decide which inflection to generate. The latter decision often requires context, because the same base can take different forms under different grammatical conditions. The authors therefore treat the mapping from word form to lemma as the task supported by their character-level training pairs.
Here the difference from dictionary lookup is in how an answer is licensed. PBA tries edits and checks candidate lemmas against its vocabulary. The learned character procedure uses correspondences from annotated examples to propose a base form. An unfamiliar word can receive a plausible edit if it shares a useful pattern with familiar words. The same capacity leaves room for a wrong edit on a spelling that resembles a training pattern but follows a different inflection. The test on unfamiliar forms measures how frequently this procedure produces the annotated result.
Use separate classifiers for agreement features and case
For gender, number, person and case, the authors use linear support vector machines implemented with LIBLINEAR. Each classifier learns to assign values for its own grammatical attribute. A linear classifier evaluates evidence associated with input features and uses the learned weights to decide among possible labels. The word itself can provide useful evidence for one attribute, while a spelling pattern or a neighboring word may be more informative for another.
The paper’s feature list includes the input word, its lexical category and its lemma. It also includes word length, the last 3 characters, the last 4 characters and character n-grams, which are adjacent sequences of characters within the word. The previous and next words supply immediate context. These feature candidates represent several ways of looking at the same occurrence. Word identity can capture patterns associated with a familiar spelling. Endings and other character sequences allow evidence to be shared across spellings. Nearby words can help distinguish uses that look alike at the level of the word being analyzed.
Ending features and general character sequences can have different roles. An ending feature says where the relevant sequence appears, which is useful when an inflection affects the end of the form. A character sequence drawn more broadly from the word can carry useful evidence about other parts of its spelling. Lexical category provides a different kind of restriction. A category is evidence about what sorts of grammatical labels are likely to apply and can help interpret an ending that appears in several kinds of words.
The label inventories in the Treebank also matter for understanding the classification problem. For gender, the table lists masculine, feminine, any and none. Number has singular, plural, any and none. Case has direct, oblique, any and none. The person inventory contains the labels 1, 1h, 2, 2h, 3, 3h, any and none. The paper gives these as the recorded values. It supplies no detailed interpretation of every annotation label. The classifiers are evaluated on matching the recorded value, including where the inventory allows a value other than a specific gender, number, person or case.
Immediate context gives the classifiers some access to cues that a word-by-word lookup would miss. The authors’ discussion of agreement explains the remaining gap. The previous or next word is defined by its position in the written sentence. A syntactic head is defined by the grammatical relation. The two kinds of information can coincide, and the listed features can exploit nearby evidence when they do. The procedure for these attributes has no access to dependency relations that would directly identify a relevant head elsewhere in the sentence.
The classifiers are separate, so correct decisions can be assembled across fields without requiring a single classifier to learn every possible combination as its own class. This is useful when the evidence for a lemma, a gender label and a case label takes different forms. The paper evaluates the assembled output as well as the individual predictions. It describes no explicit step that forces the selected values to satisfy a sentence-wide agreement constraint. The joint tests therefore matter for seeing how frequently independent decisions are all right for the same word.
Read postpositions and auxiliaries where they occur
The vibhakti and TAM procedures make more direct use of the sentence’s tag sequence. The authors say that, during development, heuristics using detailed part-of-speech tags worked better for these attributes than training predictors on the Treebank. The paper describes the heuristics in linguistic terms. For nouns and pronouns, the following material can carry postpositional information. For verbs, following auxiliaries can express part of the full tense, aspect and modality annotation.
For the nominal case, the system looks for tags such as PSP, used for postpositions, and NST, used for nouns with spatial or temporal properties. Such items are generally treated as contributing vibhakti to a preceding noun or pronoun. The qualifier matters because the description gives the principle of the rule and the tags it uses. It does not enumerate every possible sequence or how competing attachments are resolved.
A convention of the Treebank makes spacing consequential. A postposition receives the separate PSP tag when it is written as a separate word. The paper illustrates the difference with usane/PRP and usa/PRP ne/PSP. In the separated version, PRP identifies the pronoun and PSP identifies the following postposition. In the joined version, the pronoun’s token contains the relevant material, and the tag sequence gives no separate postposition to collect. The analyzer then relies on suffix information from the Treebank. This treatment ties the procedure both to how Hindi is written in the corpus and to how occurrences are divided and tagged there.
For verbs, VAUX identifies auxiliaries. The procedure associates following auxiliaries with the verb they accompany. The paper illustrates a main verb ho followed by sakawA and hE, each tagged as an auxiliary. The PBA gives 0 for ho when it analyzes the form alone. The Treebank’s full annotation is 0 saka+wA hE, which represents information from the auxiliary sequence as well. The sentence supplies the material needed to recover that fuller value.
The same example contains the proper noun rAma followed by the postposition kA. Its isolated analysis from PBA gives vibhakti as 0. The Treebank annotation is 0 kA. The postposition is present in the sentence as its own word, and the following PSP tag signals that it belongs in the fuller annotation. These examples illustrate both sides of the rule. The nominal procedure uses a postposition to complete the noun’s analysis, and the verbal procedure uses auxiliaries to complete the verb’s analysis.
PBA can capture material carried inside the input form. The paper gives usakA, glossed with oblique information, and kiyA, glossed with past information, as examples. This helps define where the comparison changes the scope of the task. A word analyzer can recognize information encoded inside the spelling it receives. The Treebank’s target analysis sometimes includes material that occurs in another word. SMA uses tags to locate that material and attach it to the appropriate morphological record.
Bring the decisions together
The analyzer’s output combines the base form, the classifier decisions and the applicable vibhakti or TAM annotation. This arrangement gives the bundle several possible sources of error. The base form can be wrong even when the agreement labels are right. A grammatical field can be wrong on a word whose lemma is easy to recover. A neighboring tag can lead the heuristic to miss a postposition or auxiliary. The evaluation tests the frequency of correct individual decisions and of bundles that satisfy every field included in the measure.
The procedure is specified through the training pairs, classifier type, candidate features and tag heuristics. The paper presents no mathematical formulas for learning, decoding or classification. Its methodological evidence is sufficient to explain why the system can propose an analysis for an unfamiliar form, and why tags following a word can affect an annotation assigned to that word. Exact joint behavior is measured on the held-out test section.
Experiments and results
Which data and systems were compared
The evaluation uses the Hindi Treebank released for the 2012 Hindi Parsing Shared Task. The training section has 12,041 sentences and 268,096 words. The development section has 1,233 sentences and 26,416 words. The test section has 1,828 sentences and 39,775 words. The authors tune on development data and assess the final predictions on test data. The test section supplies both the overall results and the subset for words with spellings absent from the training section.
The simple baseline uses the input spelling as the predicted lemma and assigns the most frequent value for the other attributes. Its lemma accuracy indicates how often a copy of the surface form already matches the recorded base form. Its other scores indicate how much a frequent default can accomplish. That is a meaningful comparison for a corpus that contains many words whose correct label may be shared. Learning from characters or context ought to improve on such a default where those sources of information help specify an attribute.
The first-analysis PBA, called F-PBA in the paper, simply accepts the first returned reading. It provides an automatic way of turning the earlier analyzer’s output into a single answer. Its performance depends on which readings are available and on their order. The oracle PBA, called O-PBA, can choose the best reading from the returned analyses with knowledge of the reference. The oracle measures the potential of the available candidates under a favorable choice. It cannot offer the same selection procedure for new sentences whose correct analyses are unknown.
These two versions answer different questions about the earlier analyzer. An improvement over the first reading can come from choosing more effectively or from producing analyses beyond the original candidate list. A comparison with the oracle asks what remains when the difficulty of choosing a PBA reading is removed as far as the evaluation permits. If SMA scores higher than the oracle, the result shows that selecting from the existing PBA output alone cannot reach SMA’s score under that test. It leaves open how much of the gap comes from PBA’s vocabulary, its inflectional analyses or its limited access to sentence context.
Accuracy is the percentage of words that receive the correct analysis for the fields being measured. An individual row checks one property. A combined row requires the specified set of properties to be correct on the same word. This definition is central to understanding the paper’s headline results. Good performance on each property leaves room for a substantial decline when a mistake in any one field makes the whole bundle wrong.
The main comparison on the full test section
The main results table gives 82.16% for SMA when the analysis has to get lemma, gender, number, person and case right together. The word-copy and frequency baseline reaches 8.57%, the first-analysis PBA reaches 38.25%, and the oracle PBA reaches 63.41%. These are scores on the full test section. The oracle’s advantage over the first reading shows that PBA frequently offers a better analysis than the one returned first. SMA’s advantage over the oracle shows that even access to the most favorable readings from each PBA candidate list leaves a gap.
Joint lemma, gender, number, person and case accuracy on the full Hindi Treebank test section
SMA leads even when the paradigm analyzer can select a reading with access to the reference.
The numbers
| System or setting | accuracy % |
|---|---|
| Word-copy and frequency baseline | 8.57 |
| First-analysis PBA | 38.25 |
| Oracle PBA | 63.41 |
| SMA (this paper) | 82.16 |
The paper gives a second figure for this same group of attributes. Its abstract reports 84.16% for SMA on the Hindi Treebank test section, against the PBA oracle’s 63.41%. The table reports 82.16% alongside that same oracle score. The paper gives no distinct condition that explains the two SMA values. The table’s value belongs to the explicitly labeled comparison above, while 84.16% is the figure from the abstract.
There is also a discrepancy for the complete bundle. In the results table, the full test section scores are 80.11% for SMA, 42.80% for the oracle PBA, 32.53% for the first-analysis PBA and 1.25% for the baseline. This row adds vibhakti or TAM as applicable to the fields just discussed. In the conclusion the authors report 82.03% for the complete analysis. They give no accompanying evaluation condition or breakdown that accounts for the difference. Both places support the finding that SMA has higher reported accuracy, while the table provides the directly comparable full set of scores.
The bundle scores reflect a practical distinction. Getting the surface form back to its annotated lemma gives a downstream system the right lexical item. Getting the agreement labels and case right at the same time supplies the rest of the grammatical information measured in the five-field comparison. A bundle score counts an occurrence with the correct lexical item and a wrong case as an error. That makes the measure useful for judging how often a complete set is available, while the individual rows are needed to see which parts were correct.
What the individual attributes show
For lemma prediction on the full test section, the copy baseline reaches 71.12%. F-PBA attains 83.10% and O-PBA 86.69%, so both forms of paradigm lookup improve on copying. SMA reaches 95.70%. This comparison gives the character-based procedure a strong result even in a field for which a simple baseline already has considerable accuracy. It also shows why some unfamiliar forms can be successfully handled without making any spelling change. When the target is identical to the input, a system that keeps the spelling can get the lemma right.
For the agreement-related features and case on the full test section, SMA reaches 95.43% on gender, 94.90% on number, 95.77% on person and 94.62% on case. The corresponding oracle PBA results are 79.59%, 80.50%, 84.13% and 81.20%. This is a broad advantage across the classifier targets. Because each score counts a different kind of decision, it cannot identify which words cause errors in several fields at once. The bundle results give the direct measurement of simultaneous correctness.
Case is a particularly clear example of why both PBA comparisons are informative. The first returned reading gives 58.24% case accuracy, while the oracle gives 81.20% on the same test section. The favorable selection reveals appreciable case information among the returned readings. The baseline, which chooses a frequent default, gives 29.31%. SMA’s case result shows the effectiveness of its decisions on this corpus, with the available evidence from words and their surroundings. The comparison cannot determine which inputs to its classifier do most of that work.
Vibhakti/TAM has a different pattern. On the full test section the frequency baseline attains 65.40%, F-PBA reaches 53.05% and O-PBA reaches 59.65%. SMA reaches 97.04%. Even the reference-assisted choice from PBA outputs scores below the frequent default here. The example with the postposition and auxiliary sequence explains one reason the candidate list can be limited on this measure. The required annotation can contain material outside the one word supplied to PBA, and the oracle can choose only from the readings it receives.
Vibhakti and TAM accuracy on the full Hindi Treebank test section
The analyzer using sentence tags has the highest accuracy on the combined vibhakti and TAM measure.
The numbers
| System or setting | accuracy % |
|---|---|
| First-analysis PBA | 53.05 |
| Oracle PBA | 59.65 |
| Frequency baseline | 65.40 |
| SMA (this paper) | 97.04 |
This result concerns the combined vibhakti/TAM measure used by the authors. The table gives no separate score for nominal vibhakti, no separate score for verbal TAM and no separate score for words where the grammatical material is written together with its host. The examples clarify the scope of the information the heuristics can recover. The aggregate accuracy tells how frequently the recorded result is recovered across the evaluated occurrences.
Test words absent from training
The authors also evaluate the subset they call SMA’s out-of-vocabulary words. These are words whose spellings appear in the test section and do not appear in the Treebank training section. A spelling in this subset can still have an entry in the PBA’s dictionary. The comparison therefore asks how the four systems fare when SMA lacks a training occurrence of the exact form. The earlier dictionary-coverage figure asks a different question, about entries in the PBA vocabulary across the Treebank’s distinct forms.
On this subset, SMA obtains 56.66% when lemma, gender, number, person and case must all agree with the reference. The oracle PBA reaches 34.89%, the first-analysis PBA reaches 19.92%, and the baseline reaches 19.33%. These results are important because the proposed system depends on what it learns from annotated examples. They show that the comparison still favors SMA where it has to analyze a spelling absent from its training data, and that jointly correct analyses are harder to achieve on these words than on the full test section.
Joint lemma, gender, number, person and case accuracy on Hindi Treebank test forms absent from SMA training
SMA leads the comparison on unfamiliar spellings, including against the reference-assisted choice from PBA.
The numbers
| System or setting | accuracy % |
|---|---|
| Word-copy and frequency baseline | 19.33 |
| First-analysis PBA | 19.92 |
| Oracle PBA | 34.89 |
| SMA (this paper) | 56.66 |
Lemma prediction is the part of this subset where the systems are closest. The baseline gives 78.10%, F-PBA gives 82.08%, O-PBA gives 82.48%, and SMA gives 85.82%. A large share of the lemmas in this subset can be recovered by returning the input form. At the same time, the learned mapping gives the highest reported accuracy. The PBA’s results are consistent with the fact that forms absent from one training section can still be analyzed using an independent dictionary. The table gives no breakdown showing where PBA relied on dictionary entries and where it used its fallback.
For agreement-related features and case on this subset, SMA scores 79.09% for gender, 89.12% for number, 94.39% for person and 87.40% for case. The oracle PBA reaches 44.06%, 47.56%, 53.89% and 47.36%, respectively. The frequency baseline reaches 60.22% on gender, 69.60% on number and 78.30% on person. Each of these baseline values is higher than the corresponding oracle PBA value on this subset. For case, the baseline has 43.60%, which is lower than the oracle’s 47.36%. These comparisons give a more specific account of what happens on unfamiliar forms than a claim that one rule-based procedure is uniformly stronger than a frequency default.
The combined accuracy also changes depending on which features are grouped. SMA gets gender, number and person jointly right on 71.31% of the unfamiliar test forms. Including case gives 64.64%. The combination of lemma with gender, number and person gives 62.34%. Requiring lemma and all of those grammatical features gives the 56.66% shown in the chart. These nested and overlapping groups show how requiring simultaneous correctness changes the evaluation. They also make clear why a score for person alone cannot represent the reliability of an entire analysis.
For vibhakti/TAM alone, SMA reaches 96.04% on forms absent from training, compared with 58.31% for the baseline and 34.56% for the oracle PBA. The separate first-analysis PBA reaches 33.58%. The information for these predictions can be in a following tagged word, so absence of the exact host spelling from training leaves that source of evidence available. When the analysis has to get every field right, SMA’s accuracy on this subset is 54.35%. The corresponding oracle PBA value is 18.67%, the first-analysis value is 14.51%, and the baseline gives 4.02%.
Automatic tags and the parsing application
The authors evaluate an existing automatic Hindi tagger and report 95% accuracy over the entire Hindi Treebank. They say that repeating their morphological experiments with its tags gave similar results. The 95% figure measures the accuracy of part-of-speech tags on the whole corpus. The paper gives no separate table of morphological scores for the automatic-tag runs. Its account supports the qualitative statement that the authors saw similar outcomes, while the size of the effect on any particular morphological attribute remains unspecified.
The authors also report evaluating the contribution of SMA’s predicted features to dependency parsing. They say parsing accuracy improved. The paper gives no parsing scores, no metrics for the reported improvement and no breakdown by feature. The detailed evidence in the results section therefore concerns agreement with the Treebank’s morphological annotations. The parsing observation connects the system to the application that motivated it, while leaving the size and distribution of the downstream gains open.
What the ablations show
The paper reports no component ablations, and instead examines the effects of candidate selection, the treatment of unfamiliar forms and the choice of which attributes must be correct together.
What the oracle reveals about the earlier analyzer
Taking the first PBA analysis treats its output order as the decision rule. Giving the same candidate list to an oracle changes selection while preserving the set of available readings. This is the most direct controlled comparison in the paper. Consider case on the full test section, where the first-reading score is 58.24% and the oracle score is 81.20%. A substantial amount of case information is available in the alternatives. A system that simply accepts the first reading leaves it unused.
The oracle is also a way to locate the boundary of a proposed fix. Better selection could move the first-analysis PBA towards the oracle on these data. It cannot provide material that is missing from every candidate. On the five-field joint measure, the oracle reaches 63.41% and SMA reaches 82.16% in the table. That establishes room for improving the set of analyses itself. The paper does not subdivide this room into absent dictionary entries, missing readings for known words and differences in access to sentence information.
The vibhakti and TAM example makes one of those differences concrete. If the analysis for a verb needs information from a following auxiliary, all the isolated-word candidates can omit that information. Selecting a candidate more carefully leaves the auxiliary unavailable. The same reasoning applies to a nominal annotation that incorporates a separate postposition. The example demonstrates a mechanism behind a coverage gap for these annotations. The experiment does not isolate how much of the aggregate gain is explained by that mechanism.
What changes when a spelling is unfamiliar
Grouping test words by whether the spelling was seen in training helps assess generalization. The unseen subset removes direct access to a training occurrence with the same form. Character correspondences, lexical category, nearby words and tag patterns can still supply evidence. What the evaluation shows is how the combined system performs when those sources have to support an analysis of an unfamiliar spelling.
The subset has a different mix of words from the overall test section. This is visible even in the baseline, whose copy-as-lemma accuracy is 78.10% on the unseen subset and 71.12% overall. A default that simply copies a spelling can benefit when the subset contains more inputs whose lemmas are identical to their observed forms. The subset comparison therefore provides useful evidence about performance on unfamiliar spellings. It does not measure what would have happened to the very same occurrences if their spellings had been included during training.
The study also uses different notions of familiarity for the analyzers. A form can be new to SMA and have a PBA entry. The reported OOV comparison keeps those entries available. This makes the result relevant to a use case in which the statistical system encounters a form absent from its training corpus while the established analyzer retains its own vocabulary. To isolate the effect of dictionary gaps, a different comparison would have to group the cases by PBA coverage as well.
What changes when the metric asks for more
Some apparent differences arise from changing the evaluation requirement without changing the system. In the overall test section, the authors report 90.67% for SMA when lemma and case must be correct together, and 92.93% when lemma and vibhakti/TAM must be correct together. These scores evaluate the intersection of successful predictions within each pair. They give an engineer an idea of how often a particular combination of information is available.
The comparison between those groupings cannot identify what case or vibhakti contributes to another processing task. It also cannot reveal whether one component helps another component make its prediction. The outputs being scored are the same, and what changes is the definition of a successful answer. In a true component ablation, the authors would change an input or remove a procedure and measure what happens to the resulting predictions. The paper gives no such comparisons for the listed character features, neighboring words or the lemma supplied to the classifiers.
The authors’ preference for tag heuristics over learned prediction of vibhakti and TAM is similarly qualitative. They say that the heuristics worked better in development. The reported comparison puts the resulting SMA system alongside the frequency baseline and the PBA variants. It gives neither the discarded procedure’s score nor a matched comparison in which both procedures have the same access to the surrounding sentence. The evidence supports the design’s performance as a whole and illustrates the linguistic clues it uses.
Limitations
Limits identified by the authors
The authors identify syntactic agreement as a difficulty for a pipeline that analyzes morphology before parsing. For some decisions about gender, number and person, knowing the syntactic dependency would help identify the relevant word. A classifier that sees the sentence and its tags has clues from the surface sequence, but the relation that governs agreement may involve a word beyond its immediate context. Their proposed direction is to learn morphological analysis and dependency parsing jointly, allowing evidence about grammatical features and sentence structure to interact. They present this as future work.
They also identify an asymmetry in their treatment of word forms and lemmas. A word form generally gives substantial evidence about its base form, while choosing a specific inflection for a base form can depend on context. The translation-style procedure is designed for the first problem. Its accuracy thus measures base-form recovery from observed spellings. The paper gives no evaluation of generating the inflected form that a sentence requires.
For the earlier analyzer, the authors emphasize both dictionary coverage and the limits of isolated inputs. An unlisted spelling can force a fallback, and an isolated word can omit material needed for a full Treebank analysis. These limits are relevant when interpreting the oracle. The advantage of reference-assisted selection concerns the alternatives the PBA actually returns. It provides no evidence that expanding the vocabulary or giving a paradigm-based system a sentence-level component would leave its score unchanged.
Limits of the reported evidence
The quantitative evaluation is tied to one Treebank release and its train, development and test sections. It tests new sentences and unfamiliar spellings within that resource. The authors provide no independent corpus to assess whether the same feature choices and tag heuristics would work equally well on other Hindi text. The spacing convention for postpositions gives a specific reason the annotation matters. When a separate postposition has its own tag, the heuristic receives a clear boundary and cue. When the spelling is joined, it has to rely on suffix information. A corpus that represents these cases differently would change the evidence available to the procedure.
Coverage also has several meanings in this study. PBA’s dictionary coverage is measured over distinct spellings throughout the Treebank. SMA’s unfamiliar-word evaluation uses occurrences in the test section whose spellings are absent from its training section. The paper does not give a count of the evaluated unseen occurrences in the results table, and it does not identify the overlap between that subset and PBA’s dictionary gaps. The accuracy scores demonstrate that SMA can produce useful answers for unfamiliar forms. They cannot establish how frequently each kind of lexical gap occurs in the test conditions or which gaps account for most of the errors.
The paper gives scores for exact matches and combinations of fields, with little information about which labels are confused. A high accuracy for person can reflect success on widely occurring values, on more difficult values, or a mixture of both. The totals leave those possibilities open. The same applies to the combined vibhakti/TAM result. The authors explain the nominal and verbal heuristics separately, but the shared score does not say how frequently each type succeeds, how frequently a following tag supplies the decisive cue, or how often joined spellings cause errors.
The use of the PBA oracle strengthens the comparisons of reported outputs, while the systems differ in several ways at once. SMA uses training annotations, the sequence of words and detailed tags. PBA’s candidate generation works from individual spellings and a vocabulary. The reported advantage belongs to those tested systems in those settings. It cannot be assigned to a single choice such as using character sequences, replacing dictionary rules, or adding local context. A controlled comparison would need to vary one such choice at a time. The paper reports no such series and gives no uncertainty estimates or significance test for the differences it describes.
Some implementation choices are also underspecified. The authors give the classifier type and the features they tried, without listing the final selection for each attribute. In particular, the list includes the lemma, but the paper does not spell out when the classifiers used reference lemmas or predicted lemmas while being trained or evaluated. This matters for understanding how a mistake in base-form recovery could carry through to agreement or case prediction. The description of the tag heuristics gives their linguistic basis and representative examples, while leaving details of coverage and rule precedence open.
The inconsistent headline figures limit the precision of a single overall statement about accuracy. The table gives 82.16% for the five-field bundle and 80.11% for the full analysis on the test section. The abstract gives 84.16% for the five-field bundle, and the conclusion gives 82.03% for the complete analysis. The paper supplies no explanation connecting these values to separate settings. The tabulated comparisons still have identified systems, metrics and splits, which makes them the basis for comparisons across rows and for the figures above.
The qualitative reports about tagging and parsing leave two further questions open. Similar results with automatic tags could coexist with changes in particular fields or in the unfamiliar-word subset. Reporting the scores for both conditions would show where the morphology is sensitive to tagging errors. Similarly, the reported improvement in parsing does not show which predicted features are responsible or how much difference they make. The paper establishes the usefulness of evaluating the complete analyzer against Treebank annotations and records a downstream improvement, while leaving the relationship between specific morphological errors and parsing behavior unmeasured.
What came after
There are no documented later studies to trace here. The authors’ own proposed continuation is to connect morphological analysis with dependency parsing more closely. Their reason follows from the problem exposed by the pipeline. Agreement features can help a parser identify syntactic relationships, and those relationships can indicate which words should agree. A joint approach could use evidence in both directions when deciding on the analysis of a sentence.
The paper goes as far as reporting that predicted morphological features improved parsing when used as input. That evaluates the direction from morphology to syntax in the pipeline. The planned joint approach would also let evidence about syntax inform the selection of morphological values. The authors give no joint experiment or result, so that direction remains a proposal arising from the difficulties they identify in predicting agreement.
Cite
Cite as Deepak Kumar Malladi and Prashanth Mannem. 2013. Statistical Morphological Analyzer for Hindi. Proceedings of the Sixth International Joint Conference on Natural Language Processing.
@inproceedings{malladi2013statistical,
title = {{Statistical Morphological Analyzer for Hindi}},
author = {Deepak Kumar Malladi and Prashanth Mannem},
booktitle = {Proceedings of the Sixth International Joint Conference on Natural Language Processing},
year = {2013},
url = {https://aclanthology.org/I13-1136/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/malladi-2013-statistical-morphological-analyzer-hindi/