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.
Stemming
Snowball Stemmer English
Report a typo
Sample Input 1:
I wandered lonely as a cloud that floats on high over vales and hillsSample Output 1:
i
wander
lone
as
a
cloud
that
float
on
high
over
vale
and
hillWrite 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
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.