Computer scienceData scienceNLPText processingText normalization

Stemming

Snowball Stemmer English

Report a typo

You are given a list of tokenized words from a sentence in English. Stem the words using the Snowball stemmer and print them, each stem on a new line.

Sample Input 1:

I wandered lonely as a cloud that floats on high over vales and hills

Sample Output 1:

i
wander
lone
as
a
cloud
that
float
on
high
over
vale
and
hill
Write a program in Python 3
from nltk.stem import SnowballStemmer


# the following line reads a text from the input and converts it into a list
sent = input().split()

# write your code here
___

Create a free account to access the full topic