Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Lemmatization | Stemming und Lemmatisierung
Einführung in NLP

Swipe um das Menü anzuzeigen

book
Challenge: Lemmatization

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 4
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

Awesome!

Completion rate improved to 3.45

book
Challenge: Lemmatization

Aufgabe

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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

close

Awesome!

Completion rate improved to 3.45

Swipe um das Menü anzuzeigen

some-alt