How to implement Snowball Stemmer in Python?

1.4K    Asked by MatsudaHara in Data Science , Asked on Nov 9, 2019
Answered by Matsuda Hara

The algorithm used here is more accurately called the "English Stemmer" or "Porter2 Stemmer". It offers a slight improvement over the original Porter stemmer, both in logic and speed. Since nltk uses the name SnowballStemmer, we'll use it here


Here, same words are stemmed as in Porter Stemmer but the last word ‘fairly’ in this case is stemmed to ‘fair’ which is still meaningful unlike Porter Stemmer where ‘fairli’ did not make much sense.


Your Answer

Interviews

Parent Categories