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

bookChallenge: Lemmatization

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 4
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Suggested prompts:

Resumir este capítulo

Explicar el código en file

Explicar por qué file no resuelve la tarea

close

Awesome!

Completion rate improved to 3.45

bookChallenge: Lemmatization

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

close

Awesome!

Completion rate improved to 3.45
Sección 2. Capítulo 4
single

single

some-alt