For the below-mentioned python program it is displaying an error
from nltk.stem import PorterStemmer
ps=PorterStemmer
words = ["program", "programs", "programer", "programing", "programers"]
for w in words:
print(w, " : ", ps.stem(w))
TypeError: stem() missing 1 required positional argument: 'word'
I'm not able to find out the missing parameter. What is that parameter?