Challenge: Stemming the Tokens
Tehtävä
Swipe to start coding
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 2
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 4.17
Challenge: Stemming the Tokens
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Awesome!
Completion rate improved to 4.17Osio 2. Luku 2
single