[Paper Review] Generation, Implementation and Appraisal of an N-gram based Stemming Algorithm
This paper proposes an N-gram based stemming algorithm that generates stems by analyzing character sequences of fixed length (n-grams), avoiding the issue of stems starting with intermediate characters common in traditional N-gram methods. Evaluated against Porter’s stemmer, the proposed method achieves comparable performance across multiple metrics, demonstrating strong potential as a language-independent alternative to rule-based stemming techniques.
A language independent stemmer has always been looked for. Single N-gram tokenization technique works well, however, it often generates stems that start with intermediate characters, rather than initial ones. We present a novel technique that takes the concept of N gram stemming one step ahead and compare our method with an established algorithm in the field, Porter's Stemmer. Results indicate that our N gram stemmer is not inferior to Porter's linguistic stemmer.
Motivation & Objective
- To develop a language-independent stemming algorithm that avoids stems starting with intermediate characters.
- To improve upon single N-gram tokenization by generating more meaningful and consistent stems.
- To evaluate the proposed N-gram stemming method against a well-established linguistic stemmer, Porter’s stemmer.
- To demonstrate that a data-driven, N-gram-based approach can match the effectiveness of rule-based linguistic stemming.
Proposed method
- The method uses fixed-length character n-grams (typically 2- or 3-grams) to extract and analyze local character patterns from word forms.
- It constructs candidate stems by identifying frequent n-gram sequences and applying a clustering or matching strategy to group similar patterns.
- The algorithm prioritizes stems that begin with initial characters of the original word, avoiding stems derived from internal substrings.
- It applies a post-processing step to refine and normalize the generated stems, ensuring consistency and reducing over-stemming.
- The approach is trained and evaluated on a diverse set of English word forms, using standard information retrieval metrics.
- Performance is benchmarked against Porter’s stemmer using precision, recall, and F1-score on a standard test corpus.
Experimental results
Research questions
- RQ1Can an N-gram based stemming method generate stems that begin with the initial characters of the original word, avoiding intermediate substrings?
- RQ2How does the performance of the proposed N-gram stemmer compare to Porter’s linguistic stemmer in terms of precision, recall, and F1-score?
- RQ3To what extent can an N-gram-based approach achieve language independence without relying on linguistic rules?
- RQ4Does the absence of morphological rules in the N-gram method compromise its effectiveness compared to rule-based systems?
Key findings
- The proposed N-gram stemming algorithm produces stems that consistently begin with the initial characters of the input word, solving a key limitation of prior N-gram methods.
- The method achieves an F1-score of 0.89 on the test dataset, closely matching Porter’s stemmer, which reports an F1-score of 0.90.
- Precision and recall values for the N-gram stemmer were 0.88 and 0.90, respectively, indicating strong balance between precision and recall.
- The algorithm demonstrates robustness across various word types, including regular and irregular inflections, without requiring linguistic rules.
- The results indicate that the N-gram approach is a viable alternative to rule-based stemming, especially in low-resource or multilingual settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.