Stem the input word using the Porter stemmer from the NLTK library and then print the result.
Overview of text normalization
Porter Stemmer
Report a typo
Sample Input 1:
unpreventableSample Output 1:
unpreventWrite a program in Python 3
from nltk.stem import PorterStemmer
___
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.