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

Contenuti del Corso

Introduction to NLP

Introduction to NLP

1. Text Preprocessing Fundamentals
2. Stemming and Lemmatization
3. Basic Text Models
4. Word Embeddings

book
Challenge: Stemming the Tokens

Compito

Swipe to start coding

Your task is the following:

  1. Import Porter Stemmer.
  2. Convert text to lowercase.
  3. Tokenize the text string.
  4. Load English stop words.
  5. Filter out the stop words using list comprehension.
  6. Create a stemmer object.
  7. Stem the tokens using list comprehension.

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 2
toggle bottom row

book
Challenge: Stemming the Tokens

Compito

Swipe to start coding

Your task is the following:

  1. Import Porter Stemmer.
  2. Convert text to lowercase.
  3. Tokenize the text string.
  4. Load English stop words.
  5. Filter out the stop words using list comprehension.
  6. Create a stemmer object.
  7. Stem the tokens using list comprehension.

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 2
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt