Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Lemmatization | Stemming and Lemmatization
Introduction to NLP

Pyyhkäise näyttääksesi valikon

book
Challenge: Lemmatization

Tehtävä

Swipe to start coding

You are given some text in text variable. Tokenization is already completed with stop words filtered out. Your task is to lemmatize the resulting tokens. To do this:

  1. Import the WordNet lemmatizer.
  2. Download the WordNet corpus.
  3. Create a WordNet lemmatizer and save it in lemmatizer.
  4. Lemmatize the tokens using list comprehension and save the result in lemmatized_tokens.

Do not specify parts of speech during lemmatization.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 4
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

Awesome!

Completion rate improved to 3.45

book
Challenge: Lemmatization

Tehtävä

Swipe to start coding

You are given some text in text variable. Tokenization is already completed with stop words filtered out. Your task is to lemmatize the resulting tokens. To do this:

  1. Import the WordNet lemmatizer.
  2. Download the WordNet corpus.
  3. Create a WordNet lemmatizer and save it in lemmatizer.
  4. Lemmatize the tokens using list comprehension and save the result in lemmatized_tokens.

Do not specify parts of speech during lemmatization.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

close

Awesome!

Completion rate improved to 3.45

Pyyhkäise näyttääksesi valikon

some-alt