Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Lemmatization | Racine et Lemmatisation
Introduction au NLP

Glissez pour afficher le menu

book
Challenge: Lemmatization

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

Awesome!

Completion rate improved to 3.45

book
Challenge: Lemmatization

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

close

Awesome!

Completion rate improved to 3.45

Glissez pour afficher le menu

some-alt