Stemmer-With-Stopwords

Sat 17 May 2025

title: "Stemmer with Stopwords" author: "Rj" date: 2019-04-21 description: "-" type: technical_note draft: false


from nltk.stem.snowball import SnowballStemmer
stemmer = SnowballStemmer("english")
print(stemmer.stem("having"))
have
stemmer2 = SnowballStemmer("english",  ignore_stopwords = True)
print(stemmer2.stem("having"))
having


Score: 5

Category: textprocessing