Course Content
Introduction to NLP
Introduction to NLP
Challenge: Stemming the Tokens
Task
Your task is the following:
- Import Porter Stemmer.
- Convert
text
to lowercase. - Tokenize the
text
string. - Load English stop words.
- Filter out the stop words using list comprehension.
- Create a stemmer object.
- Stem the tokens using list comprehension.
Thanks for your feedback!
Challenge: Stemming the Tokens
Task
Your task is the following:
- Import Porter Stemmer.
- Convert
text
to lowercase. - Tokenize the
text
string. - Load English stop words.
- Filter out the stop words using list comprehension.
- Create a stemmer object.
- Stem the tokens using list comprehension.
Thanks for your feedback!
Challenge: Stemming the Tokens
Task
Your task is the following:
- Import Porter Stemmer.
- Convert
text
to lowercase. - Tokenize the
text
string. - Load English stop words.
- Filter out the stop words using list comprehension.
- Create a stemmer object.
- Stem the tokens using list comprehension.
Thanks for your feedback!
Task
Your task is the following:
- Import Porter Stemmer.
- Convert
text
to lowercase. - Tokenize the
text
string. - Load English stop words.
- Filter out the stop words using list comprehension.
- Create a stemmer object.
- Stem the tokens using list comprehension.