Explore Library
Code QuizIntermediate

Stemming Words with Porter

Spot why passing a list to the stemmer breaks this code.

Codepython
from nltk.stem import PorterStemmer
stemmer = PorterStemmer()
words = ["running", "jumps", "easily"]
stems = stemmer.stem(words)
print(stems)

What is the bug in this stemming code?