liveBook · Manning

Lemmatization

Lemmatization is the linguistic normalization of inflected word forms to their canonical dictionary forms, called lemmas.

How 3 Manning books explain it

Natural Language Processing in Action, Second Edition

A lemmatizer is a text-processing component that maps inflected word forms to their dictionary base forms.

How it is used
Groups related word forms for search, chatbot responses, and token-count analysis.
How deep it goes
Defines lemmas and demonstrates library outputs and part-of-speech settings, but does not implement a lemmatizer from scratch.
Examples
Compares WordNet outputs for “better” and “goods” under different part-of-speech settings and shows spaCy lemma outputs.
What you can do after
Apply it via NLTK WordNetLemmatizer or spaCy, then evaluate whether grouped forms improve retrieval without hiding important distinctions.

Read how Natural Language Processing in Action, Second Edition explains lemmatization →

Starting Data Analytics with Generative AI and Python

Lemmatization is the process of converting inflected words into their canonical dictionary forms using linguistic analysis.

How it is used
Aligns customer-review words with search terms or lemma-based sentiment dictionaries to reduce missed matches.
How deep it goes
Defines the technique and sketches spaCy preprocessing, but does not detail its linguistic internals.
Examples
Uses Portuguese customer reviews, a lemma-based sentiment dictionary, and a spaCy Portuguese-model preprocessing snippet.
What you can do after
Apply it via spaCy to preprocess reviews for keyword or dictionary searches, then check whether missed matches decrease.

Read how Starting Data Analytics with Generative AI and Python explains lemmatization →

Data Without Labels

Lemmatization is a linguistic normalization method that reduces a word to its dictionary or canonical form.

How it is used
Normalizes word forms during text cleaning before representation or sentiment analysis.
How deep it goes
Defines the lemma, compares results and processing time with stemming, and demonstrates Python application without explaining linguistic internals.
Examples
Uses word-form comparisons, an NLTK token-and-lemma example, and lemmatized customer reviews.
What you can do after
Apply it via NLTK WordNetLemmatizer or TextBlob Word.lemmatize() in a Python text-cleaning workflow.

Read how Data Without Labels explains lemmatization →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.