Elamur Research

Hybrid Inflectional Stemmer and Rule-based Derivational Stemmer for Gujarati

Paper · 2011 · Kartik Suba, Dipti Jiandani and Pushpak Bhattacharyya

Summary

A Gujarati search query can miss a relevant document because the query and the document use different forms of the same word. The Gujarati expression for “in water,” for instance, attaches the equivalent of “in” to the word for “water.” A system that compares whole written forms will see different terms. Stemming gives related forms a shared representation so they can be matched. The difficulty is deciding which letters belong to the stem. An ending that a verb can lose may be part of a noun that should stay intact.

The authors build an inflectional stemmer that makes this decision using several kinds of evidence. It first checks a list of known stems, then looks for grammatical information in word lists prepared for Gujarati WordNet. Where those lists identify the word’s part of speech, the stemmer can consult endings specific to that category. Handwritten substitution rules cover additional patterns. When these checks fail, the stemmer tries possible divisions of the word and ranks them using stem and suffix frequencies learned from the Gujarati portion of the EMILLE corpus. This fallback can benefit from a familiar stem in a new form or from a familiar ending attached to a new stem.

The inflectional stemmer reaches 90.7% accuracy against the authors’ manually assigned stems. The authors report improvements of 9.6% from adding the part-of-speech component and 12.7% from subsequently including linguistic rules. The best accuracy comes with equal weighting of the stem and suffix terms in the statistical score and without the tested extra restrictions on stem length or on which stem–suffix groups qualify. Filtering those groups gives a different result. The highest reported index compression is 95%, with lower accuracy than the best accuracy setting. The two outcomes measure different properties of the system.

The authors also build a separate derivational stemmer for relationships such as the one between a verb meaning “make eat” and its base meaning “eat.” Recovering that base can require a spelling change inside the word before the appropriate ending can be removed. This stemmer uses handwritten rules and finite-state checks on morpheme order. It achieves 70.7% accuracy against the derivational gold standard. The paper measures agreement with human-assigned stems and, for the inflectional system, changes in vocabulary size. It proposes applications in search, compression and other language-processing tasks.

Deep dive: Hybrid Inflectional Stemmer and Rule-based Derivational Stemmer for Gujarati

A Gujarati stemmer combines corpus statistics with grammatical rules, while a separate rule-based system reduces derived words to their stems. · about 32 minutes to read

The problem and its context

Why written forms multiply

The paper starts from a practical choice in information retrieval and search. If an index treats every written form as a separate term, it preserves distinctions that may matter to some queries. It also makes a match depend on the form the writer happened to use. A document may contain the term a reader is looking for with a grammatical ending attached. Indexing a shared stem allows the query and the document to meet at that stem. The same operation reduces the number of distinct entries an index needs to represent when several forms collapse into one.

Both effects depend on the grouping. A missed reduction leaves related forms apart. An excessive reduction gives words a shared key that may fail to preserve the distinction a reader needs. The paper defines a stem in terms of the grouping it supports. A stem can be a word by itself, but it can also be a string that serves as the common output for related inputs. Evaluating a stemmer therefore requires a decision about which output counts as correct for each input. Counting distinct outputs gives a separate view of how aggressively the stemmer groups the vocabulary.

Gujarati is an important test of that choice because its morphology puts considerable grammatical information inside written words. The authors describe nouns as varying by number, gender and declension class. They distinguish an absolute form, which serves as the default, from oblique forms associated with grammatical case. Much of the case marking they discuss is expressed through postpositions. Some postpositions attach directly to the word they govern. In pāṇīmā̃, meaning “in water,” the noun pāṇī and the element mā̃, meaning “in,” form a single written unit. To bring this word together with other forms of pāṇī, the stemmer has to locate a boundary within the unit.

The adjective examples show another type of variation. A declinable adjective meaning “good” can appear as sārũ, sāro or sārī. The final material changes as the adjective agrees with the noun it modifies. Indeclinable adjectives behave differently and retain their form. Verbs add another set of patterns because their inflection can express features including person, number, gender, tense, aspect and mood. An ending list that treats every word alike loses the information that helps distinguish these cases.

The authors illustrate this with -ī. Their example of a verb meaning “did,” karī, can lose this ending during inflectional stemming. Their example of a noun meaning “honesty,” īmāndārī, is supposed to retain it in the same task. The two words present the same final material to a suffix matcher. The intended treatment changes once the matcher knows whether it is dealing with a verb or a noun. This is the reason for bringing part-of-speech tagging into the discussion, although the system obtains its categories from word lists instead of running a tagger over sentences.

Two boundaries that serve different purposes

Inflectional stemming aims to remove differences among forms of a word that arise from its grammatical use. The adjective forms are a case in point. Their endings vary with agreement, yet a search interested in the underlying adjective may want to retrieve them together. The paper calls its inflectional stemmer lightweight to indicate this scope. Its job is to reduce inflected forms while preserving distinctions that the separate derivational task is allowed to cross.

Derivational stemming reaches a base from which another word was formed. The paper illustrates affixation with javābdārī, “responsibility,” and javābdār, “responsible.” A derivational relationship can also involve a change where the base meets the added material. The example of dhārmik, “religious,” and dhārm, “religion,” introduces that possibility. Word class may change during derivation, but a change of part of speech is unnecessary for the relationship to qualify. What matters here is whether the output recovers the underlying derivational base.

The two tasks can therefore give different instructions about very similar-looking strings. Retaining a noun’s final -ī can be appropriate when removing grammatical variation. Recovering a related base can call for a deeper reduction when derivation is the target. The authors assign these decisions to separate stemmers. That separation also matters when interpreting their accuracy figures. Each program is judged on the output demanded by its own task.

Derivation introduces a further complication for a procedure that works by finding a cut. A cut can return the beginning of an input string. If formation of the derived word changed letters within that portion, the desired base may require an edit as well. The spelling rules in the derivational system address precisely that problem. The inflectional system also has a substitution stage, but gives much of the remaining work to an algorithm that ranks possible stem and suffix boundaries.

Approaches the authors draw on

The paper places its contribution among rule-based, unsupervised and hybrid approaches. In its account of English, Lovins and Porter exemplify rule-based stemming. The authors describe these systems as suited to a language with less inflection than Gujarati. Their own concern is the work required to express Gujarati’s inflectional patterns with rules alone, especially where the usefulness of a rule depends on the grammatical category of the input.

In the paper’s account of work on Indian languages, Ramanathan and Rao’s Hindi stemmer uses a manually assembled inventory and strips the longest matching ending. Such a procedure can use detailed knowledge about which suffixes exist. It still needs a basis for deciding when a matching string functions as a suffix. Another approach, YASS, groups strings by distance using clustering and requires no linguistic inventory. The comparison in the background is about what different methods ask their designers to supply and what they try to infer from the data.

Goldsmith’s work on unsupervised morphology supplies the main statistical precedent. It uses minimum description length, an approach that favors a compact representation of the data. The technique the Gujarati paper takes from this line of work is to consider the available cuts in a word and use evidence from recurring pieces to choose among them. The authors also discuss an unsupervised Hindi stemmer by Pandey and Siddiqui and an earlier statistical Gujarati stemmer by Patel and colleagues, both connected in their account to Goldsmith’s approach.

The authors’ argument for combining techniques concerns the decisions a split score can make on its own. A frequency can reveal that some string recurs often at the end of words. It does not encode the instruction to remove that same string from verbs and preserve it in the example noun. A category-specific inventory can give that instruction where the category is available. A corpus-derived score can still attempt an analysis of a form absent from the grammatical lists. The hybrid design lets the authors use both sources of evidence without requiring either to account for every word.

For derivation, the historical gap the paper identifies is narrower. The authors report that prior Gujarati work had addressed light stemming and that they were unaware of prior work on Gujarati derivational stemming. They take guidance from Jurafsky and Martin’s account of morphological processing, which describes a lexicon, constraints on morpheme ordering and rules for spelling changes. Their derivational system uses ordering and spelling constraints alongside suffix removal and substitution. It lacks the full lexicon that would let it check whether a proposed base belongs to the vocabulary.

The method, step by step

How an inflected word reaches a decision

The inflectional stemmer is an ordered procedure. It begins with the strongest kind of evidence available to it, an entry for the whole word in its stem list. A hit leaves the word intact. For the other inputs, it tries grammatical lookup and then linguistic substitution. The statistical search comes into play only when the preceding checks fail. The authors describe this order for training and reuse it when stemming unseen inputs.

Training and use of the hybrid inflectional stemmer

The steps in order.

Training and use of the hybrid inflectional stemmerStep 1: Keep forms already listed as stems1. Keep forms already listed as stemsStep 2: Try endings for the word’s grammatical category2. Try endings for the word’s grammatical categoryStep 3: Apply any matching linguistic substitution3. Apply any matching linguistic substitutionStep 4: Score candidate cuts for unresolved words4. Score candidate cuts for unresolved wordsStep 5: Update frequencies and repeat until cuts stabilize5. Update frequencies and repeat until cuts stabilizeStep 6: Use learned frequencies to split unseen forms6. Use learned frequencies to split unseen forms

The first check is a safeguard against unnecessary stripping. A word can happen to end in a sequence that looks like a suffix even when the complete form is the intended stem. If the word is in the stem list, the system places the boundary at the end and treats the suffix as NULL, the paper’s label for an empty ending. The list starts empty the first time the system is trained. It is available for later use and can be enlarged after training with new stems the authors regard as correctly learned.

The grammatical check looks up the whole word in files derived from resources prepared for Gujarati WordNet. Those resources carry part-of-speech information. The authors use that information to make category-specific word lists and prepare corresponding inventories of endings for nouns, verbs, adjectives and adverbs. The inventories include inflectional suffixes and attached postpositions. The lookup gives the stemmer a way to limit the endings it considers. A word recognized as a verb can be treated with the verb inventory without granting the same stripping permission to every noun with the same last letters.

The lookup operates on word forms in files. The paper does not describe a step that reads the surrounding sentence to choose a category. From an implementation perspective, this tells the reader where the grammatical information enters. It enters as a condition on which stripping operation is available. It is not a probability added to the frequencies in the split score. Likewise, when the training outline says that this stage can return an answer, the words it handles do not continue through the later stages to see whether a competing cut would score higher.

The next check tries handwritten substitutions. The authors describe each rule as a pair of patterns in regular-expression form. One describes the material to match and the other supplies its replacement. A successful rule changes the matching part of the input. The length of the resulting form is returned as the split position. This stage lets the authors encode a linguistic pattern directly even when grammatical lookup has failed to provide the answer. The paper describes the rule operation and its place in the order more fully than it specifies the rules’ inventory or their precedence within the stage.

The final stage is called take-all-splits. Imagine placing a boundary between successive written units of pāṇīmā̃. A cut early in the word leaves most of the noun on the suffix side. A later cut can leave part of mā̃ on the stem side. The intended division gives pāṇī as the stem and mā̃ as the suffix. The paper’s illustration includes an analysis with an empty ending as well. Listing possibilities gets the correct analysis into consideration. The frequencies and the score determine whether it wins.

How the statistical score compares cuts

The paper writes a word of length L as an ordered sequence and uses i for a boundary after the initial portion. It describes the ordinary cuts with 1 ≤ i < L, yielding a stem and a nonempty suffix. It also includes the case i = L when discussing the probability expression and illustrating the full set of analyses. That last case corresponds to retaining the word with an empty suffix. The known-stem check assigns this interpretation explicitly. The paper gives less detail on scoring the empty ending when it is part of the fallback search.

The probability expression for a candidate division is

P(Splitᵢ) = P(stem = w₁,ᵢ) × P(suffix = wᵢ₊₁,ᴸ)

P denotes probability. Splitᵢ is the analysis with a boundary at position i. The symbol w refers to the input word, and w₁,ᵢ is its initial portion from position 1 through i. The symbol wᵢ₊₁,ᴸ is the remaining portion, from the position after i through L, the word’s length. The equalities inside the probabilities specify which string is being considered as the stem or suffix. The multiplication sign combines the two probabilities. This factorization scores the pieces separately. The suffix contributes according to its own probability, even when its particular pairing with the candidate stem is unfamiliar.

The authors take logarithms and drop constant terms to obtain the frequency expression they use as a starting point for ranking.

log(P(Splitᵢ)) = log(freq(stem)) + log(freq(suffix))

log is the logarithm. P(Splitᵢ) is the probability assigned to the candidate boundary after position i. freq denotes the count for the proposed piece in its role as a stem or a suffix. stem and suffix are the two strings produced by that boundary. The plus sign adds the log-frequency terms. The paper presents this equality after setting aside constants. Its purpose is to compare cuts of the same word by the frequencies of their pieces.

The authors observe that short strings tend to have high frequencies. A score based only on those frequencies can give a short fragment substantial influence even when it is the wrong boundary. They introduce length multipliers to compensate.

f(i) = i × log(freq(stem)) + (L − i) × log(freq(suffix))

f(i) is the ranking score for a cut at i. The value i is the stem length, and L − i is the suffix length, with L again the length of the input word. The multiplication signs apply the corresponding length to each logarithm of a frequency. The plus sign combines the contributions. The highest-scoring division is the one the fallback selects. Moving the boundary changes both candidate strings and both length multipliers, so the score compares entire analyses instead of looking for the most frequent suffix in isolation.

Length weighting and a minimum length constraint have different effects. The weighting changes a candidate’s score while retaining the competition among possible cuts. A minimum length rules out candidate stems below the limit. With weighting, a genuine short stem can still win if the evidence from the stem and suffix permits it. With a hard constraint, that analysis is unavailable whenever the stem is too short. The experiments vary length constraints separately from the score’s internal weights.

A further variant gives the experimenters a way to shift emphasis between the stem and suffix sides.

f(i) = α × i × log(freq(stem)) + (1 − α) × (L − i) × log(freq(suffix))

α is the weight assigned to the stem term. 1 − α is the complementary weight assigned to the suffix term. f(i) is still the score for a boundary after i, and the stem and suffix lengths are still i and L − i. freq still counts a piece in the corresponding role, and log transforms the count. Multiplication applies both the length and the weight to each term, and addition gives the combined score. With α = 0.5, the same factor goes on both terms, retaining the order of candidate scores from the previous formula. Different values let one side exert more influence in the comparison.

How the frequencies are acquired

The input to training is a list of Gujarati words drawn from EMILLE. The authors want to obtain a split for each word in that list and to accumulate evidence about the pieces. Where the stem list, grammatical lookup or a substitution resolves the form, the ordered checks supply a decision. For forms left to the fallback, the candidate divisions compete under the ranking function.

When the system assigns a division, it updates the frequencies for the pieces yielded by that division. Those updates are central to the procedure because a portion of a word can be counted as a stem in one analysis and left inside a larger piece in another. The selected analyses supply the counts used for later comparisons. The system therefore goes back through the word list and revisits the statistical decisions. The training outline identifies the repeated step as the take-all-splits stage. The stopping condition is that the assigned boundaries cease to change across the word list. The authors say this typically took four iterations.

Alongside the stems, suffixes and their frequencies, training yields signatures. A signature records which suffixes are associated with a stem in the corpus. The sample in the paper illustrates both kinds of reuse that such a representation can capture. Forms of “boy” occur with different endings, while bases such as “India” and “ice” appear with the same attached locative element. The authors describe these associations as a compact representation from which the corpus can be retrieved. They also use the membership of signatures to define a filtering heuristic in the experiments.

For that heuristic, the authors set a minimum for the number of stems and a minimum for the number of suffixes needed to qualify as a signature. They use the names “stem filter threshold” and “suffix filter threshold” for these two thresholds. The principle is to favor groups with recurring evidence on both sides. This is a decision about the group, whereas the cut score is a decision about a division of an individual word. The experiment reports configurations by threshold setting and measures their consequences for gold-standard agreement and for compression.

A signature is also distinct from a frequency. A frequency tells the algorithm how frequently a candidate piece has been assigned its role. A signature records which endings a stem has been associated with. The paper’s fallback score uses the frequency terms. The signature representation preserves information about actual combinations and gives the authors a place to apply group-level restrictions. A new combination can receive a high score on its pieces even when that particular combination is absent from the learned signatures.

What happens with a fresh input

The ordered checks are used again for a word presented for stemming after training. The main change to the statistical stage is where its counts come from. At this point it reads the learned frequencies and uses them to score the input’s possible cuts. The unknown word does not initiate the training loop. A spelling may be new to the system as a whole even when some of its constituent strings have substantial evidence in the corpus.

The authors use kar, “do,” to illustrate evidence on the stem side. Suppose training included forms meaning “to do,” “after doing” and “will do,” and their analyses repeatedly assigned kar as the stem. The count for that stem would give corresponding weight to a split of karvāthī, “by doing,” even if the whole form had not occurred in training. The example shows what the procedure gains from recognizing a recurring beginning across different endings. It does not need a stored whole-word analysis for karvāthī to consider kar.

The complementary example starts from a familiar suffix. If training includes forms meaning “in water” and “in the house,” analyses that identify mā̃ can establish evidence for that ending. When a form meaning “in a hat,” ṭopīmā̃, arrives, the score can favor the boundary before mā̃. The beginning and ending contribute in the same score as before. The distinction is where the authors expect the strongest evidence to come from in this example. The procedure can reuse knowledge of an ending across nouns in the same way it can reuse knowledge of a stem across forms of a verb.

The examples also clarify the fallback’s place in the architecture. A direct lexical or grammatical match can settle the result before this competition. When no such decision is available, the statistical stage offers a reason to prefer a cut over nearby alternatives. Its evidence comes from how training words were analyzed. The paper illustrates the intended behavior through these words and assesses the resulting accuracy at the level of the full stemmer.

How the derivational stemmer reverses a change

The derivational stemmer has its own procedure. It uses manually defined operations to transform an input and draws on morphotactics, the constraints governing the order in which morphemes can appear. A morpheme here is a piece with a grammatical or meaning-bearing role. The fact that two endings each exist is insufficient to establish that they can attach in either sequence. The paper illustrates a case where thī can follow mā̃ in a form meaning “from the window,” while the reverse ordering is disallowed.

The authors use finite-state automata to represent admissible transitions. An automaton moves among states as pieces of a word are recognized and accepts a form if its path satisfies the allowed ordering. The aim at this stage is to check structure. The paper treats lexical validation as a distinct job a lexicon could perform. Because the derivational system lacks that resource, acceptance supplies evidence about the sequencing the automaton encodes, while the existence or identity of the proposed base remains a separate question.

The first transformation stage tries orthographic rules, which handle spelling changes at morpheme boundaries. The paper reports 73 hand-crafted rules of this kind. Applying one can restore a pattern that would be hidden from a simple suffix matcher. The next stage tries a substitution rule. The stage after that tries suffix stripping. A matching operation can change the form that reaches the next check, so the order can matter to the final output. A stage that finds no applicable rule passes control onward.

The final stage checks whether an automaton accepts the resulting form. If the check succeeds, the procedure returns that form as the stem. If it fails, the stated fallback is to return the form produced by the preceding module. In either event the algorithm specifies a returned string. The description gives the automata a role in evaluating admissibility and does not describe a separate search over lexical entries for a replacement stem.

The example of khavḍāvvũ, “make eat,” traces the stages in order. An internal spelling pattern first triggers an orthographic rule that restores the long vowel in khāvũ, “to eat.” The substitution stage has nothing to do for this form. The suffix stage then removes the verbal ending vũ and exposes khā, “eat.” The verb automaton accepts that result. The key difference between the intermediate and final forms is that the spelling repair makes the base recoverable, while the stripping operation removes the material still attached to it. Taking a prefix of the original input alone would not accomplish both operations.

Experiments and results

Corpus and gold standards

The authors use the Gujarati part of the EMILLE corpus for experiments on both stemmers. They begin with around ten million words and report 8,525,649 words after filtering out misspellings. To make a test set, they randomly draw a thousand words from the corpus each time. Those are the sizes of the filtered collection and of a test draw, respectively. The filtered collection’s size describes the pool available for the experiments. The gold-standard judgments are made on the sampled words.

For inflectional evaluation, the authors manually assign the intended stem to each test word. The program’s output is then compared with that assignment. Accuracy is the percentage of evaluated words for which the output is correct. For derivational evaluation, the authors also check the generated output against an ideal stem in the gold standard. In both cases the comparison concerns the returned stem. An algorithm can identify a plausible ending and still lose credit if its final output is different from the intended answer.

The article’s earlier Gujarati comparator is the lightweight statistical stemmer by Patel and colleagues, for which the authors cite 68% accuracy. That is a result taken from the earlier work as described in the paper. The main experimental comparisons in the new study change the settings of the hybrid inflectional stemmer. The paper does not report rerunning the earlier Gujarati system under the same sampling and annotation protocol. For derivational stemming, the authors present their result as a baseline for a task they identify as previously unaddressed for Gujarati.

Accuracy and the strength of grouping

The inflectional experiments report three measures. Accuracy refers to agreement with the manually assigned stems. The Index Compression Factor, abbreviated ICF, measures how much stemming reduces the count of distinct entries. Its numerator is the number of unique input words less the number of unique output stems. Its denominator is the number of unique input words. The measure concerns the size of the vocabulary represented in an index. It does not by itself measure the storage used by a complete index.

The authors call their third quantity the mean number of words per signature and write it as MWc with c as a subscript. They define it as the number of distinct words divided by the number of distinct stems. This gives another view of the strength of grouping. When many distinct forms are represented by the same final strings, the average grows. The label refers to signatures, while the stated computation uses the distinct-stem count as its denominator.

Accuracy requires a particular output for each test item. The other two measures can be computed from the counts of distinct inputs and outputs. A stemmer can therefore reduce the inventory substantially by grouping forms in ways the gold standard would reject. Conversely, improvements in exact agreement may arise from preserving distinctions and leave more entries in the inventory. That is why the paper reports separate outcomes for the settings it tests.

The settings with the highest accuracy

The most accurate inflectional configuration achieves 90.7% on the Gujarati test words. It allows the shortest tested stem size, uses α = 0.5 and applies no positive signature threshold. The authors describe this as leaving minimum stem size unrestricted. In the minimum-size table, the result is recorded under minimum size 1. For a procedure whose candidates have a nonempty stem, this is the tested condition that admits stems throughout the range of eligible lengths.

Minimum stem length and inflectional accuracy on Gujarati EMILLE test words

The setting that admits the shortest stems has the highest accuracy.

Minimum stem length and inflectional accuracy on Gujarati EMILLE test wordsMinimum stem size 1 (this paper): 90.7Minimum stem size 1 (this paper)90.7Minimum stem size 2: 89.9Minimum stem size 289.9Minimum stem size 3: 84.8Minimum stem size 384.8Minimum stem size 4: 74.2Minimum stem size 474.2Minimum stem size 5: 63.5Minimum stem size 563.5Minimum stem size 6: 52.1Minimum stem size 652.1Minimum stem size 7: 44.6Minimum stem size 744.6
The numbers
System or settingaccuracy %
Minimum stem size 1 (this paper)90.7
Minimum stem size 289.9
Minimum stem size 384.8
Minimum stem size 474.2
Minimum stem size 563.5
Minimum stem size 652.1
Minimum stem size 744.6

For the setting with minimum stem size 1, the minimum-length experiment lists an ICF of 0.53 and a mean words-per-signature value of 2.11. The authors also report 52% average index compression in their discussion of the unrestricted-length and equal-weight results. The combined experiment that explicitly includes signature filtering lists an ICF of 0.52 for its matching unfiltered accuracy result. These are the figures as reported in the different presentations. They distinguish the best accuracy condition from the much higher compression achieved when signature filtering is active.

The weight comparison addresses how much each side of a candidate boundary influences the choice. At minimum size 1, α = 0.3 gives 90.0% accuracy and α = 0.7 gives 87.0%, with the best result at α = 0.5. These are comparisons within the same minimum-length group. The authors also examine settings with longer minimum stems. In every group they report for the weight experiment, the equal-weight setting has the highest accuracy among the tested weights.

The reported effects of adding linguistic components complement those parameter results. The authors give a 9.6% accuracy improvement for the part-of-speech stage and a further 12.7% improvement for the addition of linguistic rules. The gains are stated as changes in accuracy. The paper provides the end result and these reported increases, without giving a separate table of absolute accuracy scores for the successive module configurations.

The settings with the highest compression

The signature experiment varies the minimum stem size, the score weight and the threshold for qualifying as a signature. Its compression results are substantially higher with a positive threshold than in the unfiltered condition. The chart follows the short-stem group at equal weights. It reports vocabulary compression as an ICF, using the values printed in that experiment.

Signature filtering and index compression on Gujarati EMILLE at equal weights and minimum stem size 1

The strongest signature filter gives the greatest compression in this comparison.

Signature filtering and index compression on Gujarati EMILLE at equal weights and minimum stem size 1Signature threshold 0: 0.52Signature threshold 00.52Signature threshold 1: 0.89Signature threshold 10.89Signature threshold 2 (this paper): 0.95Signature threshold 2 (this paper)0.95
The numbers
System or settingICF
Signature threshold 00.52
Signature threshold 10.89
Signature threshold 2 (this paper)0.95

In the same comparison, accuracy is 90.7% at threshold 0, 88.3% at threshold 1 and 87.7% at threshold 2. The mean words-per-signature measure is 2.1, 9.9 and 22.4, respectively, for those settings. Together these numbers describe a change in the behavior of the stemmer. The compressed vocabulary covers the input with fewer distinct output keys, and agreement with the desired analyses is lower than in the unfiltered run. The authors highlight threshold 2 for reaching 95% index compression. The threshold table also contains a tie at the top ICF in another weight setting.

The high-compression example shows why the paper distinguishes potential applications. A small inventory is directly relevant to the authors’ interest in compression. In a search setting, the effect also depends on which forms the procedure groups. The experiment measures the vocabulary reduction and agreement with the reference stems. It leaves the effect on the documents a search engine retrieves to a downstream evaluation.

Accuracy on derivational stems

The derivational system achieves 70.7% accuracy by matching its outputs against the gold-standard derivational stems. The reported assessment is an exact-output comparison for the full rule-based procedure. The paper does not report an index compression factor or a mean grouping size for this stemmer. Its result therefore answers how frequently the rule system recovers the designated base in the evaluation, while leaving its vocabulary reduction unquantified.

The derivational figure can be read as a starting benchmark for the task the authors define. Its numerical comparison with inflectional accuracy has limited interpretive value because the required outputs differ. A form that should remain intact in inflectional stemming may require a spelling change or more extensive affix removal in derivational stemming. The 70.7% result counts success against that deeper target and combines the effects of the transformations and the final ordering checks.

What the ablations show

Grammatical information helps the hybrid procedure

Adding the category-based check changes which endings can be removed and which words reach the statistical fallback. The reported 9.6% improvement is consistent with the paper’s example of -ī, where the right action depends on whether the word is a verb or a noun. For forms in the category lists, the hybrid has access to a linguistic distinction the frequency score does not represent directly. An improvement in the combined system can therefore arise even if the frequency function is held fixed.

The 12.7% improvement the authors report for the subsequent addition of linguistic rules concerns the next version of that procedure. It is evidence for the value of the handwritten rules in the sequence the authors chose. The rules have the opportunity to handle words left unresolved by the earlier checks. Some such cases may be easy to state as a pattern but poorly represented by a simple split of the original letters. By intervening before the fallback, a rule can supply a specific operation in place of the corpus-based choice.

The paper’s description does not provide enough component-level results to separate all of those effects. The reported order establishes what was added at each stage. There is no table that tests the rules alone against the grammatical lookup alone, changes their order or shows how many sampled words each stage handles. Consequently, the gains describe the combined system’s development. They do not identify how much benefit a component would provide under a different arrangement or which errors account for the whole change.

There is also a distinction between seeing a gain and explaining its source within the training process. A component can directly improve the answer for a word it handles. It can also change the inventory of analyses from which frequencies are learned. The latter is a possible route for an effect on a later fallback decision. The aggregate component figures leave these routes together. The source-level example explains why category information can help on a particular form, while the reported gains show the net result of incorporating it.

Longer mandatory stems exclude useful analyses

The clearest parameter trend is the decline in accuracy as the minimum stem size rises. The tests run from size 1, where accuracy reaches 90.7%, to size 7, where it is 44.6%. Every increase displayed in that series is accompanied by lower accuracy. The authors suggest that a larger minimum excludes genuine short stems. This explanation fits the structure of the search. A boundary that would return a short correct answer can cease to be eligible before any frequency is considered.

The distinction from length weighting is important to interpreting the result. The original score already tries to keep very frequent short pieces from dominating a split merely because they are frequent. The minimum length makes a stronger decision by excluding some boundaries altogether. The poor outcomes at the longer settings show a cost to that exclusion under the authors’ test conditions. They do not establish that the paper’s length-weighted expression is the best way to correct frequency bias, since the minimum-size experiment is about candidate eligibility.

Compression does not trace the same steady path as accuracy. In the minimum-size table, ICF goes down through some settings and then rises again, reaching 0.55 at size 7 while accuracy is lowest in the series. A vocabulary can become smaller even as agreement with the gold standard declines sharply. This comparison reveals why a compression measure is useful alongside accuracy and insufficient as a substitute for it. It shows the size of the outcome inventory without checking the linguistic identity of each output.

The tested stem and suffix weights favor balance

The weight experiment asks whether the learned frequency of one side should count more heavily across cases. In the short-stem condition, the stem-downweighted choice, α = 0.3, comes closer in accuracy to equal weighting than the stem-upweighted choice, α = 0.7. The same ordering occurs in the other minimum-length groups of that weight experiment. Equal weighting nonetheless yields the strongest accuracy in each group displayed there. The evidence applies to the particular length-adjusted score and the weights the authors evaluate.

The unknown-word examples provide a qualitative way to read the comparison. A new form of a well-attested verb can benefit from a strong stem count. An unfamiliar noun joined to a common postposition can benefit from a strong suffix count. A fixed preference for a side affects both kinds of case. Equal weighting allows the available evidence from the two roles to enter on the same terms before their lengths and frequencies are taken into account. The result does not identify a single source of evidence that drives all correct splits.

The experiment also shows that adjusting the weight cannot compensate for a boundary excluded by a minimum length. Even the best weight within a more restrictive length group cannot select a short stem removed from consideration. The weight setting controls the ranking among available candidates. The length constraint determines what reaches that ranking. Their joint comparison is informative because changes to either can shift the chosen boundary through a different mechanism.

Signature filtering changes the kind of result

The threshold experiment supports a strong claim about compression. In the equal-weight, short-stem group, applying the larger tested threshold produces a much higher ICF and a much larger reported mean words-per-signature value. It also lowers gold-standard accuracy from the level reached without the threshold. If the question is how much the method can reduce the number of distinct entries, the filter delivers a different result from the configuration selected for stem accuracy.

Changes in accuracy need to be read within each group. At the short minimum stem size and α = 0.3, accuracy is 85.8% at threshold 1 and 87.1% at threshold 2, both below the unfiltered 90.0%. At equal weighting in the same length group, accuracy decreases across the shown thresholds. Thus the exact response to a stronger filter varies with the other settings. The table supports the paper’s headline distinction between the highest-accuracy and highest-compression choices without yielding a universal rule about what each threshold increment does to accuracy.

Similarly, threshold 2 achieves the highest reported ICF in the experiment, but the value 0.95 also appears at threshold 1 for α = 0.7 in the short-stem group. That tie matters if the result is read as a claim about the sole setting capable of reaching the largest observed compression. The broader result is that positive filter settings can make the stemmer much more aggressive and that accuracy remains sensitive to the configuration.

For the derivational stemmer, the paper gives no component ablation and instead offers a worked transformation plus a score for the complete procedure. The worked form shows that an orthographic rewrite and a subsequent suffix removal can cooperate in one analysis. The aggregate accuracy indicates how often the entire sequence matches the reference. It supplies no estimate of how often the automata accept a change that would otherwise be wrong, how many inputs require orthographic repair or which family of rules accounts for the most errors.

Limitations

Limits identified by the authors

The paper identifies the absence of a Gujarati lexicon suitable for validating the derivational results. The inflectional system has word lists with part-of-speech information and maintains a list of stems. Those resources serve particular checks in that system. The lexicon the authors discuss for derivation would answer another question, whether a string produced by its transformations is a valid base. An automaton can check admissible ordering, but the paper’s account assigns the lexical judgment to the unavailable resource.

For the inflectional system, the authors propose adding named-entity recognition to address limitations. This is a proposed extension. The experiments do not report an entity-aware configuration or measure its effect. For the derivational system, they identify improvements to the inventories of substitutions, orthographic rules and removable endings as a way to raise accuracy. The reported evaluation gives an overall success rate and leaves the expected benefit of improving any one inventory unmeasured.

The authors also propose using the stemmers in tasks such as dictionary search, word-sense disambiguation and similarity measurement. Their motivation for search is that grouping forms may increase the chance of matching a document containing another form of the query term. Their compression result establishes that stemming can reduce the number of distinct keys under the tested settings. These are plausible uses of the outputs, while the experiments evaluate the stemmer directly. They give no application-specific result on senses, similarity judgments, dictionary access or retrieved documents.

What the evaluation can establish

The study uses the Gujarati EMILLE corpus as the source of training words and test draws. The description says that the test words are sampled at random from the corpus and that the statistical module is intended to handle unseen words. It does not spell out whether whole forms in a particular draw were excluded from every source of training evidence, or how the boundary between training and test data was enforced when comparing configurations. The accuracy figures establish agreement under the reported procedure. They do not quantify performance on a separately collected corpus or on a test composed entirely of demonstrated unseen forms.

The data preparation also affects how broadly to read the results. The initial filtering removes misspellings, but the paper does not explain how spelling correctness was determined in enough detail to recreate the step. The post-filter test draws characterize the material used for evaluation. The setup does not separately measure robustness to noisy input or show how the filter changes the distribution of the forms the stemmer must handle.

The gold-standard procedure gives exact agreement an operational meaning. The authors assigned the desired stems by hand. The paper does not report agreement among multiple annotators, a procedure for resolving alternative valid outputs or accuracy broken down by type of word. These details matter in stemming because the expected amount of reduction depends on the task. A single designated output enables a clear score, while leaving open how frequently a different output might be acceptable for a specific application.

The precision of the reported percentages should also be distinguished from the uncertainty in the experimental comparison. The results show the reported scores for the configurations, including some small differences among nearby settings. The paper does not give a distribution of scores across test draws or uncertainty intervals. Therefore the table identifies the winner in the reported comparison. It leaves unresolved how stable close differences would be under fresh sampling.

The earlier 68% Gujarati result provides historical context for the new inflectional figure. A controlled comparison would also require evaluating both systems against the same references with the same treatment of test inputs. That experiment is not reported. The evidence for the hybrid design within the study comes from the authors’ reported modular increases and their parameter comparisons. The older percentage should not be used to assign a measured improvement under a common protocol.

What the descriptions leave unspecified

Several choices would affect an independent implementation. The logarithms in the fallback score require usable frequencies for candidate pieces, including candidates the system has never counted. The training section explains that the chosen divisions update those frequencies and that the algorithm revisits its decisions. It does not fully specify how the first pass obtains its counts or how a zero count is handled. The notation also gives different cues about whether the empty-suffix candidate is always scored by the fallback. The stem-list route for an empty suffix is explicit. Its exact treatment in the ranking step is less clear.

The mechanics of matching can also affect the ordering of decisions. A word may be compatible with multiple candidate suffixes or rules. The high-level procedure tells the reader which module takes priority but leaves some questions inside the modules open, including how to settle competing analyses within a category and how to handle entries with more than one available category. Because the paper uses lexical files rather than a sentence-level tagger, it does not measure how reading context would change the decisions on ambiguous forms.

The role of signature filtering in vocabulary compression is visible in the tables. The presentation gives less operational detail about the assignment of outputs when a group fails the filter. The signature thresholds and resulting scores describe the experiment at the setting level. They do not fully trace which input forms move between groups or which classes of form account for the large increase in compression. The difference between the reported ICF entries for similar unfiltered settings is another reason to retain the published values with their respective experiments.

The derivational description likewise gives a rule order and a successful example, but leaves some details of the final finite-state check underspecified. The procedure calls for returning the transformed form on acceptance and a preceding module’s result on failure. It does not illustrate the failure route with a word for which the outputs differ. The example of khā establishes how the accepted route works. The 70.7% accuracy measures the combined implementation and cannot resolve the consequences of those unspecified cases.

Finally, index compression as defined here concerns counts of distinct forms and stems. Physical index size depends on information beyond the number of keys, and the success of retrieval depends on whether the introduced matches are useful. The 95% compression result is a property of the paper’s vocabulary measure under aggressive filtering. Its practical value depends on what the application needs to preserve and on how it uses the resulting groups.

What came after

No later citing work is documented here. The paper’s own extensions remain proposals. It identifies entity recognition as a possible addition to the inflectional system and broader rule coverage as a route to improving derivational stemming. It also leaves open whether the measured reductions in vocabulary help search, dictionary access or other language-processing tasks when the stemmers are evaluated as part of those applications.

Cite

Cite as Kartik Suba, Dipti Jiandani and Pushpak Bhattacharyya. 2011. Hybrid Inflectional Stemmer and Rule-based Derivational Stemmer for Gujarati. Proceedings of the 2nd Workshop on South Southeast Asian Natural Language Processing (WSSANLP).

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

@inproceedings{suba2011hybrid,
  title = {{Hybrid Inflectional Stemmer and Rule-based Derivational Stemmer for Gujarati}},
  author = {Kartik Suba, Dipti Jiandani and Pushpak Bhattacharyya},
  booktitle = {Proceedings of the 2nd Workshop on South Southeast Asian Natural Language Processing (WSSANLP)},
  year = {2011},
  url = {https://aclanthology.org/W11-3001/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/suba-2011-hybrid-inflectional-stemmer-rule-based/