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

Scorri per mostrare il menu

book
Challenge: Lemmatization

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 4
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

Awesome!

Completion rate improved to 3.45

book
Challenge: Lemmatization

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

close

Awesome!

Completion rate improved to 3.45

Scorri per mostrare il menu

some-alt