Porter-Stemmer
Sat 17 May 2025
title: "Porter Stemmer" author: "Rj" date: 2019-04-21 description: "-" type: technical_note draft: false
from nltk.stem.porter import PorterStemmer
stemmer = PorterStemmer()
words = [
"radios",
"colors",
"mumbled"
]
words
['radios', 'colors', 'mumbled']
result = [stemmer.stem(word) for word in words]
result
['radio', 'color', 'mumbl']
Score: 5
Category: textprocessing