Design of a Rule Based Hindi Lemmatizer
Paper · 2013 · Snigdha Paul, Mini Tandon, Nisheeth Joshi et al.
Summary
A Hindi word can change its ending as its grammatical role changes, even when a reader would look up the same dictionary entry. Finding that entry automatically is the task of lemmatization. The difficulty is deciding what the observed ending tells you about the lemma, or dictionary form. Removing an ending can expose the whole dictionary form, leave a fragment that needs a letter or vowel sign restored, or damage a word that was already in its dictionary form. The authors build a rule-based Hindi lemmatizer around these possibilities. Their aim is to produce meaningful base forms that can support applications such as information retrieval, where different forms of a word may need to lead to the same entry.
The system first looks up the input in a collection of commonly used Hindi base forms. If it finds the word, it returns it as written. Otherwise, it tries rules based on the ending. Some rules remove material from the end of the word. Others remove an ending and then restore a character or a written vowel sign. The same ending can require different repairs. For instance, the authors show that recovering लड़का from लड़कों requires restoring the final vowel sign, whereas recovering सड़क from सड़कों needs only deletion. A shared ending therefore provides a clue about what to remove while leaving a separate question about what the finished word should look like.
To prepare the rules, the authors report examining a corpus of 40,000 sentences and manually stemming 75 lakh words. They identified 124 suffixes and wrote 124 rules. They also describe storing exceptional words because some forms depart from the usual repair for an ending or admit overlapping suffix matches. The intended tradeoff is to spend effort and memory on the stored vocabulary and rules so the system can answer quickly when a word arrives.
On an evaluation of 2500 words, the authors count 2227 correct outputs and 273 incorrect ones, for a reported accuracy of 89.08%. The examples show what the system can return, and the aggregate result measures agreement with the expected answers for that word set. The paper gives a single system score. The separate effects of lookup, suffix deletion and repair, as well as the runtime gains that motivated the design, remain unmeasured. The authors present the system as a prototype with room for more Hindi rules.
Deep dive: Design of a Rule Based Hindi Lemmatizer
A rule-based Hindi lemmatizer uses dictionary lookup and suffix repair to recover base forms, with reported accuracy of 89.08% on 2500 words. · about 32 minutes to read
The problem and its context
Why an ending can mislead
A dictionary groups written forms by the word a reader wants to find. Running text presents those forms as grammar requires them. For a person who knows the language, a familiar change at the end of a noun can be enough to recognize the entry that belongs in the dictionary. A program needs an explicit way to make the same connection. In this paper, the input is a Hindi word form and the desired output is a base that the authors regard as a legitimate word. The problem is practical for retrieval because matching forms exactly as written can make related occurrences look unrelated.
The authors introduce the problem through stemming, which groups forms by reducing them to a shared stem. A suffix-stripping stemmer does this by taking material off the end of a word according to rules. Its output can still serve as a matching key when the remaining characters are recognizable to the program as the same sequence across inputs. A lemmatizer has a further requirement. Its result is supposed to have the spelling of a usable lexical entry. A sequence that works as an internal key for search can therefore fall short when the output will also function as a dictionary form.
The paper uses English examples to make the distinction accessible before turning to Hindi. It treats introduce as the form to recover and introduc as a possible incomplete result of clipping. A reader can probably identify the intended word from the clipped form. For the computational task, that last letter still matters. If there is a legitimate headword and the output omits part of its spelling, recognizing the relationship and generating the required answer are different achievements. The Hindi rules address the same issue when the missing material is a vowel sign attached to the final consonant.
The authors also describe under-stemming and over-stemming. Under-stemming occurs when forms that ought to converge remain separate. Over-stemming occurs when the procedure joins forms that ought to remain distinct. These labels concern the grouping induced by the outputs. A wrong-looking output for an individual word draws attention to the risk, while establishing an actual grouping error calls for comparing that output with the outputs for other words. That distinction matters because the paper's later evaluation reports whether individual lemmas are correct. A study designed to count mistaken merges and missed merges would ask a related question about pairs or groups.
The type of grouping desired also depends on the application. A dictionary task has a reason to preserve distinctions between lexical entries. A retrieval system might sometimes want documents using a related form to count as relevant. The authors motivate the work with retrieval and the recovery of meaningful Hindi words, then evaluate the output at the word level. This makes the target spelling central to the paper. How those outputs affect the set of documents returned by a search is a separate empirical question.
The Hindi distinctions behind the rules
Morphology concerns how words are formed and how their parts carry grammatical information. The paper draws on a distinction between inflection and derivation. Inflection gives a word forms appropriate to different grammatical conditions. Derivation produces a new lexical item from an existing one and can also change the kind of word it is. This distinction sets a boundary for normalization. A plural form can be a natural candidate for reduction to its singular dictionary form. A derived noun and the adjective to which it is related can have entries of their own, even if their spellings make the relationship easy to recognize.
The authors call their lemmatizer inflectional, and their clearest repair examples concern noun forms. Their discussion of suffix collection is broader. It includes examples such as खराब and खराबी, glossed as bad and defect. This pair makes sense as evidence that an ending may recur in related words and that a change in spelling can accompany that relation. The decision to return खराब as the lemma of खराबी would, however, depend on a convention about how far normalization should go. The paper's illustrations later show why that convention matters for interpreting the score.
For Hindi noun forms, the authors emphasize number and case. Number distinguishes singular from plural, and the authors take the singular as the default. Case concerns how a noun is used in a construction. The paper identifies direct and oblique forms and points out that oblique forms can display information about number along with case. Even a short alternation such as लड़का and लड़के can raise the practical question the system must answer. Once the input has changed its final vowel sign, what spelling belongs in the base that the program returns?
A paradigm organizes forms of a lexical item according to their grammatical properties. Thinking in terms of paradigms helps explain why a rule for an ending can involve replacement. If a form of a noun has one vowel sign where the dictionary form has another, the rule needs a way to recover the sign used in the dictionary form. The same surface ending can appear in forms of nouns whose dictionary entries end differently. The authors draw on paradigm-based work to motivate these patterns, and their own examples let the reader see the changes in particular words without requiring a full table of every noun form.
Gender creates another reason to be cautious about relying on the last written marks. The paper associates endings written with ◌ा and ◌ी with common masculine and feminine patterns, respectively, and then gives counterexamples. पानी, glossed as water, is masculine in the authors' account, despite its final ◌ी. माला, glossed as garland, is feminine, despite its ◌ा. These examples concern the inference of grammatical gender, and they also illustrate a broader issue for the lemmatizer. A familiar mark on the page can be compatible with more than one analysis. The spelling narrows the possibilities without deciding them by itself.
The paper also identifies words whose final ◌ा belongs in the base form. माता, नेता and कटोरा are among the examples. A rule that treated every apparent occurrence of that ending as removable would damage such entries. This gives the root list a linguistic purpose as well as an implementation purpose. A known whole word can settle the status of its final characters before those characters are considered as a candidate suffix. The lookup order matters because the list's information is used before the general rule has the opportunity to act.
The approaches the authors draw on
The authors place their work in a history that begins with suffix removal for English. They identify the Lovins stemmer from 1968 and describe Porter's later algorithm, from 1980, as an influential way of automating affix removal. The connection to Hindi is the form of the decision. An algorithm can look for a recurrent ending and express the appropriate operation as a rule. The Hindi work adds an explicit concern with returning the spelling of the base and with protecting forms whose endings are legitimate parts of that base.
Among the earlier lemmatizers, the authors discuss Plisson and colleagues' use of word endings to decide which material to remove or add. They describe that work in terms of conditional rules and a ripple-down approach. Its relevance is the recognition that finding a shared ending is only part of normalization. The program also needs to express the change from that ending to the normalized one. The Hindi paper uses this general idea of conditional changes and describes its own root lookup and repair procedure. Its description leaves the exact ordering among competing suffix rules open.
The closest earlier Hindi work in the authors' account is Ramanathan and Rao's rule-based stemmer. It focuses on suffix stripping for inflections of nouns, adjectives and verbs. The paper cites it as an example of what can be accomplished with inventories of endings and removal rules. The present work asks for an output that can serve as a dictionary form and gives examples in which an additional character or vowel sign is necessary. That difference in objective is clear from the descriptions of the two systems. A difference in performance would require a common dataset and a common definition of correctness.
The authors also cite work concerned with more extensive morphological information. Goyal and Lehal developed a Hindi analyzer and generator as part of work towards Hindi-to-Punjabi machine translation. An analyzer seeks information about the structure or grammatical properties of a supplied form. A generator works in the other direction, starting with information about the word and producing an appropriate form. The lemmatizer in this paper has a narrower output. Although its rules reflect distinctions found in morphological analysis, the stated procedure ends when it has produced the root word.
Their discussion of a Hindi derivational analyzer by Nikhil also helps locate the project. The earlier work described there uses supervised classification for derivational analysis, so its procedure depends on learning from examples. The lemmatizer examined here gets its generalizations through manual inspection and rule construction. Evidence from a corpus therefore plays a role in both kinds of work, with a different route from evidence to decisions. For this lemmatizer, the people inspecting the forms decide how to express a recurring spelling change as an operation.
Work on other languages supplies further context for the use of paradigms and corpus material. Jena and colleagues organized information about Oriya nouns, adjectives and finite verbs in paradigm tables. The authors also point to a study by Bharti and colleagues for its account of morphology through paradigms. In the Tamil work they discuss, Anand Kumar and colleagues used approaches including rules and sequence labeling, where the system learns to associate parts of an input sequence with labels. The immediate relevance to the Hindi project is that the choice of representation affects both what can be encoded and what has to be supplied by the data or the rule writer.
The paper's survey also mentions Chachoo and colleagues' use of an extraction tool for the orthographic component of Kashmiri and Majumder and colleagues' clustering approach for finding groups of forms associated with roots in French and Bangla. These examples introduce different jobs that can arise around morphological processing. Extraction helps expose the evidence available in written material. Clustering seeks groups of related forms. The task Paul and colleagues take up is to choose a particular base spelling for each input. The prior work supplies ways of thinking about that problem, while the experiment later in the paper concerns their own implementation.
The method, step by step
From observed words to an executable rule inventory
There are two stages to the authors' procedure. During preparation, they examine Hindi words, identify endings and write down how those endings can be changed. They also assemble a stored collection of base forms and describe provisions for exceptions. During use, the program receives a word and draws on these prepared resources. The discovery of a suffix or the resolution of a spelling irregularity has already been done by the people who built the system wherever the resources have an applicable entry or rule.
How the Hindi lemmatizer processes an input word
The steps in order.
The flow has an early exit and a rule-based route. An input recognized as a base form can be returned immediately. A word that misses the root list reaches the part of the procedure that tries to transform it. The last steps describe the route for a word with an applicable rule. The paper illustrates the operations on this route in more detail than it describes the cases in which no usable transformation can be found.
The corpus informs the construction of the suffix inventory. The authors report processing 40,000 sentences and manually stemming 75 lakh words, an exercise that yielded 124 suffixes. Their description emphasizes the amount of manual work involved. It leaves open how the sentences were collected and whether the word count refers to repeated occurrences, distinct spellings or a separately processed list. The figures establish the scale of the preparation as reported. They provide less detail about the distribution of the words that the rule writers inspected.
At this stage, an ending is useful because it appears in examples from which a relationship between an observed word and a proposed base can be identified. The spelling at the edge of each form matters. For a candidate deletion, the rule writer needs to check whether the remaining characters already form the base. For a candidate replacement, the writer needs to identify what the base has where the observed form has the longer ending. These are distinct questions even when a single written rule is ultimately responsible for the entire edit.
The suffix examples span several kinds of word formation. Alongside changes to forms of nouns, the paper lists pairs such as मीठा and मिठाई, जादू and जादूगर, and रोशन and रोशनदान. Such examples show why the preparation involved examining relations between words, rather than simply registering every sequence found at their ends. There can be changes to a word beyond the addition of a final sequence. Also, the presence of a pair in the discussion of suffix discovery by itself establishes little about which rules were used in the evaluation. The paper describes an inventory and gives representative entries without publishing a complete operational account of each example.
The authors report writing 124 rules after identifying 124 suffixes. The matching totals describe the inventory at a broad level. The examples make clear that an ending can be associated with more than one outcome. Some words return a valid base after deletion. Other words with the same ending need a character added. Reading the totals as a guarantee of a single unconditional rewrite for every ending would obscure the very problem the examples highlight. The system relies on the combination of common patterns and provisions for words that depart from them.
The preparation has a familiar advantage for someone reading the system's design. A rule can be examined in terms of its input condition and its visible effect on the word. If an example comes out wrong, a reader can ask whether the ending was recognized, whether the chosen operation detached the right material and whether the result needed repair. This is a way to reason about the design from the operations the paper describes. The paper's aggregate evaluation leaves the frequency of each of those causes unknown.
Why whole-word lookup comes first
The authors restrict their knowledge base to commonly used words. They explicitly identify the names of people and places as outside its intended coverage. In the procedural description, the relevant part of the database is a list of roots. For an incoming word, the first operation asks whether its complete spelling is already in that list. A successful query returns the stored spelling, which is the same form supplied as input. This branch performs useful work even though the output has the same characters as the input. It recognizes that the word has already reached the form the task is trying to produce.
The root check protects the entries discussed in the linguistic background. Consider माता. Its last vowel sign visually resembles material that could be selected by an ending rule. If माता is recorded as a base, the membership test is sufficient. The system can return it directly. The role of the list is the same for any known base whose final characters happen to coincide with the kind of ending the rules can delete. At this stage the whole spelling has priority over a possible analysis of part of it.
An unsuccessful query has a different interpretation. It establishes that the input was absent from the stored set. The next stage treats that absence as a reason to try a rule. An absent word could be an inflected form that the rules know how to handle. It could also be a legitimate base beyond the coverage of the vocabulary. This is a consequence of using a selected list as a gate. Its entries can protect familiar words, while expanding the vocabulary changes which words reach suffix processing.
The paper describes knowledge bases more broadly when it motivates the design. It mentions grammatical features, base words that need to retain their endings and exceptional cases that need special handling. In the stated runtime procedure, the explicit operation is exact membership in the root list. The paper provides less detail about the representation of grammatical features and the mechanics of retrieving an exceptional repair for an input that differs from its root. A reader can reconstruct the ordinary lookup branch from the description. The particular data structure and all the decisions for exceptional forms remain unspecified.
The immediate return on a hit explains the authors' motivation for the ordering. A listed word can bypass the checks that would otherwise be needed to find a suitable ending and decide how to change it. The authors accept the memory cost of keeping the vocabulary because they expect rapid lookup to save time. The scale of that saving depends on properties such as the retrieval procedure and the share of incoming words already listed. Those properties are relevant to the intended optimization, while the actual experiment reports the correctness of final outputs.
Deleting an ending and restoring the base
For a word that proceeds to the rules, the paper describes a test on the end of the string. When the input ends in the suffix specified by a rule, the program takes a substring that omits that suffix. Depending on the word and the rule, it can also append a character or a maatra, a written vowel sign. A maatra can be essential to the spelling of the base even though visually it attaches to an adjacent character. The unit being restored is thus part of how a word is written, and its presence can distinguish a legitimate lemma from an incomplete string.
The examples for ◌ों show the value of treating deletion and restoration as distinct decisions. The authors give लड़कों, सड़कों and लेखकों as words with this ending. For सड़कों and लेखकों, removing the final marks leaves सड़क and लेखक. The remaining sequence has the required spelling. For लड़कों, removing those marks leaves लड़क. The rule has to supply ◌ा to produce लड़का. The ending test can succeed in all these cases, but the changes needed to reach the dictionary forms still differ.
This distinction is especially clear if the procedure is read from the perspective of a suffix-only algorithm. Such an algorithm could identify exactly the right stretch to remove from लड़कों and still leave an incomplete result. Adding the final vowel sign solves a problem that survives correct suffix identification. Conversely, applying that same addition after removing the ending from सड़कों would alter a complete base. The repair operation therefore requires some basis for choosing the output ending. A description of the shared input ending supplies part of that basis.
The rules for forms ending in the sequence shown in लड़कियों raise a related issue. The authors describe a frequent repair that restores ◌ी and give the result लड़की for लड़कियों. They also discuss cases in which the repair uses the short vowel sign ◌ि instead. For a reader unfamiliar with the script, the important difference is that the proposed repair specifies exactly which written vowel sign belongs in the base. An instruction to remove plural material can begin the analysis, but it leaves a concrete choice about the spelling of the last part of the word.
The authors single out चिड़ियों, whose illustrated output is चिड़िया. The word has an ending that can be recognized through a longer pattern involving the characters before the final marks and also through the shorter pattern ◌ों. The paper presents the overlap as a difficulty in choosing a rule. Whatever analysis brings the system to चिड़िया, the expected output differs from the simple repair that takes लड़कियों to लड़की. Ending resemblance is enough to propose a transformation. The appropriate output in these examples depends on how the rest of the word relates to the expected base.
What the description specifies about exceptions
A regular rule expresses a pattern expected to recur across words. An exception is a form for which applying that rule as usual would give the wrong result, or a case in which more than one rule seems applicable and a word-specific decision is needed. The authors say they store exceptional words and also mention developing special rules. They motivate this provision by cases such as चिड़ियों and by the variation in the vowel signs that should be restored. Each provision allows information about a specific word to coexist with a generalization about the ending it shares with others.
There are distinct uses for stored word information in that description. One is to recognize a spelling such as माता as an acceptable output in its own right. Exact lookup on the incoming string can achieve that directly. Another is to recover चिड़िया when the input is चिड़ियों. A lookup of the latter string in a list containing the former cannot by itself produce the change. Some additional mechanism must connect the input to the required output. The paper indicates that exceptional information or special rules provide such handling, while leaving the detailed representation and invocation of those resources open.
The ordering matters when suffixes overlap. A program could give priority to the longer ending, use conditions based on the characters preceding the ending, or use a word-specific instruction before a general edit. These are possible interpretations of the design problem, and the paper's example explains why an implementation needs some way to decide. The described procedure establishes that lookup precedes suffix processing. It leaves open which applicable suffix rule wins when the root lookup fails. The example of overlap is evidence for the need to resolve it, while the successful illustrated output supplies the intended spelling.
The short procedural description in the paper focuses on the lookup and substring operations. The fuller explanation of the rules adds character and vowel-sign restoration. Reading the two together gives the route from the incoming spelling to the displayed form. The system checks the whole word, uses an ending condition when needed, cuts off the relevant material and applies the repair associated with the case. As an account of how the system arrives at an output, the paper gives examples of the edits while leaving many of the precise rule conditions implicit.
The same description leaves the handling of an uncovered input open. A program receiving such a word would need defined behavior when all applicable checks have been exhausted. It might preserve the input, signal a failure or return some other value determined by its implementation. The evaluation counts unsuccessful cases, yet the technical description gives no uniform account of what those outputs look like. This is particularly important for interpreting the distinction between a rule that applied and gave the wrong lemma and a word for which the system could find no applicable rule.
How the paper scores the output
The evaluation treats correctness as an outcome for each input word. Once the program produces a base, the question is whether that base is accepted as the correct lemma. The paper gives the accuracy calculation as the following quotient.
A = C ÷ N
Here A is the accuracy, which the paper reports as a percentage. C is the count of words for which the generated lemma is judged correct, and N is the count of all words submitted for evaluation. The equals sign defines the quantity on the left by the calculation on the right. The division sign indicates that the correct count is taken as a share of the total. The displayed formula gives the share, and percentage notation is how the paper expresses its reported value.
This calculation assigns equal influence to each evaluated input occurrence or entry, as counted by the authors. It gives the same credit to an exact root-list hit as to a successful suffix deletion or a successful repair. That fits an experiment about how frequently the complete system returns the accepted form. For a question about the accuracy of one branch, the relevant counts would have to come from the inputs that actually took that branch. The required breakdown is absent from the reported measurement.
The preparation corpus and evaluation list play different roles in this account. The authors use the corpus to discover recurring endings and write rules. They then submit a set of words to the assembled lemmatizer and count correct lemmas. A held-out evaluation would additionally require evidence that the evaluation forms and the information used to prepare the system were separated in an appropriate way. The paper gives the size and outcome of the evaluation list. It leaves its precise relationship to the preparation corpus and vocabulary unspecified.
Experiments and results
What the inputs and outputs represent
The authors report evaluating the completed Hindi lemmatizer on 2500 words. The procedure described in the paper takes words as input and gives a base form for each. The reported unit of evaluation is therefore the individual word. The study leaves the source of the evaluation list, its selection criteria and its division among grammatical categories unspecified. It also leaves open how many entries are already valid base forms and how many require a suffix operation. Those details would matter for interpreting the distribution behind the aggregate score.
The paper presents a separate set of illustrations in which the reader can inspect input and output pairs. The authors show चिड़ियों producing चिड़िया and लड़कियों producing लड़की. These pairs exemplify what a successful output can look like for an ending discussed during rule construction. They also display the practical difference between returning the lemma and returning the piece of the word left by deletion. Both outputs have the complete spelling of the expected base, even though the appropriate edits differ.
The illustration also pairs भारतीयता with भारत, प्रतिभाशाली with प्रतिभा, and गौरवान्वित with गौरव. These examples are important for understanding the task the paper actually demonstrates. They reach a shorter related lexical base beyond the kind of plural-to-singular change illustrated by the noun forms. The authors present them as successful outputs of the same system. The examples therefore show that at least some uses of “root” in the paper are broader than recovering a dictionary form by reversing ordinary noun inflection.
The examples have a concrete interpretive value. A reader sees the strings the tool is expected to associate and can compare the results with the rule discussion. Their connection to the evaluation list is unspecified, however. The paper offers them as illustrations and reports the score in a separate account of the evaluation. Treating the illustrated successes as a representative sample would require evidence about how they were selected. They establish the presence of those kinds of output, while the evaluation count covers the larger set submitted for scoring.
No earlier stemmer or lemmatizer is run on the same list in the reported experiment. Earlier work in the paper supplies historical and methodological context. The evaluation supplies a single score for the authors' complete system. A shared baseline would have required running an alternative under the same interpretation of what counts as the correct Hindi root, particularly for examples where stemming, inflectional lemmatization and reduction to a shorter related word might give different outputs.
The result on the evaluation set
The authors judge 2227 of the 2500 inputs to have been lemmatized correctly. They count 273 incorrect outputs. Applying their accuracy calculation, they report 89.08% for the evaluated Hindi word set. This is a combined score for the complete procedure, covering whatever mix of lookup hits, general suffix rules and exceptional handling the list happened to exercise. The paper gives counts of correct and incorrect outcomes for that procedure, so the reported comparison is between outcomes on the same list.
Correct and incorrect outputs on the 2500-word Hindi evaluation set
Correct lemmas account for most outputs on the evaluation list.
The numbers
| System or setting | words |
|---|---|
| Correct outputs from the Hindi lemmatizer (this paper) | 2227 |
| Incorrect outputs from the Hindi lemmatizer | 273 |
The bars represent outcome counts for the authors' system. In the chart, the preferred outcome is producing the accepted lemma. The figure makes the reported balance of correct and incorrect cases visible, while the percentage gives the accuracy as a share of all submitted words. Because the correctness criteria are applied to the final answer, a successful return can include leaving a word as it came in, removing a suffix or removing a suffix and adding material.
The authors attribute the 273 incorrect outputs to forms that fell outside both their general and exceptional rules. This is their account of where their rule coverage reached its limit. They supply no breakdown that would let a reader distinguish a newly encountered ending from a familiar ending needing an uncovered repair, an unlisted root exposed to an inappropriate rule, or a conflict between possible analyses. These are different ways a system of the given design could make a mistake. The result counts wrong lemmas without identifying how frequently each kind of decision led to them.
The score is also silent about how hard the evaluated words were for a simpler procedure. An input already in base form would be easy for a procedure that always repeats the input. Such a procedure would be inadequate for an item whose expected lemma differs from its written form. Similarly, a simple suffix stripper would have a plausible route to the correct output for सड़कों, while the illustrated output for लड़कों requires a restoration. A baseline and the composition of the word set would be needed to estimate the advantage of the authors' added operations across the evaluation.
The numerical result is most directly read as agreement with expected lemmas on the particular list used in the paper. The score combines all word categories in that list and gives each evaluated entry its place in the total. There is no separately reported accuracy for nouns, adjectives or verbs, and there is no separate value for inflected forms or for the broader lexical reductions in the illustrations. A reader can therefore use the result to describe the complete reported run. The same score gives limited purchase on the strength of individual operations or the coverage of specific parts of Hindi morphology.
Although time optimization motivates the design, the experiment gives no measured running time, latency or memory usage. The membership test gives a structural reason why a stored input can be processed without consulting suffix rules. The amount of time that saves depends on lookup costs, the frequency of such inputs and the cost of rule access on a miss. Accuracy measures an important part of what the authors wanted from the lemmatizer. The numerical evidence for the proposed time and space tradeoff would require different measurements.
The retrieval motivation sits at a further distance from the measured task. An accurate lemma can give a retrieval system a shared representation for forms that should be indexed together. A wrong lemma can either separate related forms or join words that the application needs to distinguish. The study evaluates whether the program returns the desired word. It gives no measurements of what a retrieval system would rank or return when using those outputs. The reported accuracy is evidence about word normalization under the authors' evaluation conditions.
What the ablations show
The paper reports no ablations or controlled comparisons of system variants, and its analyses consist of worked suffix examples, illustrative outputs and an aggregate attribution of errors to gaps in rule coverage.
What the worked examples explain
The most informative comparison holds the visible ending constant across words. In the discussion of लड़कों, सड़कों and लेखकों, the system is supposed to recognize the same final marks. The required base then shows what the shared deletion can accomplish. It exposes a complete base in the cases of सड़क and लेखक and leaves an incomplete one in the case of लड़का. The comparison is an analysis of the linguistic operation. It gives a concrete reason to include the ability to add material after stripping a suffix.
This also identifies exactly what a deletion-only variant would miss in the example. Its output after stripping लड़कों would lack the final vowel sign of लड़का. The paper's repair is motivated by that visible spelling difference. The example can establish the need for the operation on that word without measuring how often the operation improves the result across a test set. A measured contribution would require observing the complete system and a deletion-only version under the same evaluation conditions. The paper supplies the underlying example from which such a comparison would make sense.
The cases involving लड़कियों and चिड़ियों shed light on a different part of the design. Here the problem is selecting the operation when recognizable endings overlap or a common repair would produce the wrong kind of base. लड़की and चिड़िया illustrate the different outcomes the authors want even though the input endings resemble each other. The paper uses the latter case to motivate exceptional handling. It demonstrates the reason for storing information beyond a general deletion rule, while leaving the number of evaluation items that depended on this handling unknown.
The base forms discussed in the background explain why lookup has priority. A word such as माता needs to retain its ending. Knowing that the full spelling is already in the vocabulary resolves the case before a rule examines the final sign. This illustrates the benefit of identifying an existing lemma before attempting to construct one. A test of lookup itself would need to count how often recognized bases would otherwise be damaged, as well as how hits and misses affect the rest of the evaluation. The paper presents the protection mechanism and its motivation without those counts.
What the aggregate errors leave open
The explanation for the incorrect outputs points to coverage as a design issue. A finite set of prepared rules and lexical information can succeed wherever it contains an adequate description of the input. The authors interpret the incorrect cases as ones for which their generalizations and exceptions were insufficient. That is consistent with their presentation of the system as extendable. The aggregate count leaves open whether the main gain would come from adding more entries, writing more productive rules, changing rule priorities or revising the definition of the target root for some examples.
These alternatives concern different points in the procedure. More stored bases would increase the set of words that can take the early return. More or better-conditioned repairs would affect words that already reach suffix processing. Clearer priority rules would change what happens when multiple endings match. A clarified target convention would change how outputs are judged in cases that admit either an inflectional lemma or a broader lexical reduction. The example analysis helps locate these questions. The reported experiment leaves the separate contribution of each decision unresolved.
The same distinction applies to speed. Looking up a known root can eliminate later processing for that input. The proposed mechanism is visible from the order of operations. Inferring a net time benefit across a workload would also require accounting for the cost of lookup on inputs that have to go through the rules anyway. The paper contains an argument for the expected benefit and a correctness measurement for the assembled tool. It leaves the effect of the lookup branch on processing time unquantified.
Limitations
Limits the authors identify
The authors describe their work as a prototype and explicitly say its rule coverage is incomplete. Hindi words exhibit regular form changes alongside exceptions, and the construction process depends on people examining examples and writing rules. This creates a straightforward limit on an inventory built by manual inspection. The set of operations reflects the patterns the authors identified and chose to encode. The incorrect evaluation outputs are the reported cases in which, in their assessment, the available general and exceptional rules gave inadequate coverage.
The restriction to common vocabulary is another explicit design limit. The authors exclude proper names such as names of people and places from the knowledge base. Consequently, the root list's early return is designed for the ordinary vocabulary it contains. Proper names that share an apparent ending with common inflections raise the same general problem of distinguishing an integral part of the name from removable material. The treatment a proper name would receive outside the protected vocabulary, and the success rate for such treatment, remain open.
The paper acknowledges the labor and storage involved. Extracting suffixes by hand is described as time-consuming, as is assembling the exceptional information. Keeping a knowledge base spends memory to make information accessible at lookup time. The authors deliberately emphasize speed in this tradeoff. Their stated position is that the stored information can be consulted quickly enough to justify its space cost. The experiment gives a correctness figure for the resulting system, while the size of the resource and the size of any saving in time are unreported.
The authors also recognize a limit of a purely local cue. Their discussion of endings includes words that keep an apparent suffix and words with overlapping suffix matches. An inventory of visible strings can propose more than one action for the same input. The designers respond with lexical knowledge and exceptions. Because this response depends in part on previously recognized words, it improves the account of those cases while leaving the behavior on undescribed forms an empirical question. The need to refine exceptions is part of the authors' motivation for extending the prototype.
What the evaluation leaves unresolved
The first limit visible in the setup is the relation between development and evaluation. Preparing rules by examining a corpus and then evaluating a finished tool is a sensible division of activities. Independence is a more specific claim. It would require knowing where the evaluation words came from and what access the rule writers or root-list builders had to those words or their closely related forms. The paper gives no such separation protocol. Its reported accuracy consequently establishes performance on the words submitted, with generalization to unseen vocabulary unquantified.
Related to that is the question of how the evaluation words are distributed. The paper gives the total count, but the proportion of unchanged base forms, regular inflections, productive derived forms and irregular words remains unknown. If the list contains many common base forms already in the knowledge base, lookup could account for much of the successful output. If it mainly contains inflected forms, the suffix and repair rules would have more opportunities to contribute. These are conditional readings of the score. The absence of performance by input type prevents a reader from choosing among them.
The definition of correctness also matters. The authors count correct lemmas and give examples of what they accept. The reported protocol leaves open who assigned expected answers, what guidance was used and how legitimate alternatives would have been handled. The standard may be straightforward for forms such as लड़कियों, for which the paper explicitly illustrates लड़की. It is less straightforward for a broader reduction such as भारतीयता to भारत. Understanding the accuracy as a measure of inflectional lemmatization would require knowing how cases of derived or related lexical forms were defined and scored.
The linguistic background itself shows why that boundary deserves attention. Keeping grammatical categories stable can help explain the difference between some inflections and some derivations, yet recurrence within the same grammatical category does not settle whether two forms belong to the same entry. The paper discusses inflection, derivation and related words in the course of finding useful suffix operations. The worked outputs reveal the breadth of the intended behavior in particular cases. A complete inventory of acceptable targets would be needed to establish how consistently that behavior was applied during the evaluation.
Another limit concerns context. The authors motivate lemmatization in part through the linguistic knowledge it can bring to a word. Their stated procedure reads a word, checks lexical membership and tests endings. The corpus supplies material during construction, and the reported runtime procedure uses the written word as its input. When a spelling could receive different analyses in different sentences, the described operations supply no explicit sentence-level evidence for choosing among them. The experiment also gives no result for such ambiguity. The paper demonstrates lexical and morphological processing on word forms under the conditions it describes.
The underlying grammatical analysis is only partly exposed by the output. A word may be reduced to the expected base without the system identifying its number, case or gender in a form that can be inspected. The experiments count final spellings and provide no measurements for those grammatical properties. Consequently the results bear on the usefulness of the rules for producing lemmas. Their accuracy as a full morphological analysis, including which grammatical features were present in the input, remains untested.
The error report is too coarse to resolve the under-stemming and over-stemming concerns introduced earlier. Under-stemming would be visible when outputs for forms that should share a base stay distinct. Over-stemming would be visible when forms that should stay distinct share an output. An incorrect-lemma count says that a returned form differed from the expected answer. It leaves open how frequently those incorrect answers caused either kind of grouping error across the set. Judging the system on its opening retrieval motivation would require examining those relationships or the retrieval outcomes themselves.
There is also a distinction between the opportunity to inspect a rule-based decision and the ability to reproduce it from the description. The paper gives the number of rules, shows the relevant changes for selected endings and presents the high-level procedure. It leaves the complete rule conditions, conflict resolution, stored entries and expected evaluation answers unspecified. These omissions matter wherever a reader tries to reproduce the outputs outside the worked examples. Several plausible implementations of the described stages could make different choices on difficult inputs while agreeing on the familiar cases.
Finally, the design's motivation and the evidence for it answer different questions. The lookup order explains how stored words can avoid rule processing. The suffix examples explain why restoring a vowel sign can matter. The accuracy figure shows how often the finished system produced the expected result on the authors' list. Taken on their own terms, these observations leave comparative performance, processing cost and retrieval effects open. The strongest empirical claim remains the accuracy of the assembled lemmatizer on the reported word evaluation.
What came after
Subsequent adoption of the paper's suffix rules, exception handling or lookup procedure is undocumented. Whether later Hindi lemmatizers reused those resources or evaluated the same design choices remains open.
Cite
Cite as Snigdha Paul, Mini Tandon, Nisheeth Joshi and Iti Mathur. 2013. Design of a Rule Based Hindi Lemmatizer.
@misc{paul2013design,
title = {{Design of a Rule Based Hindi Lemmatizer}},
author = {Snigdha Paul, Mini Tandon, Nisheeth Joshi and Iti Mathur},
year = {2013},
doi = {10.5121/csit.2013.3408},
url = {https://doi.org/10.5121/csit.2013.3408}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/paul-2013-design-rule-based-hindi-lemmatizer/