liveBook · Manning

Stop-word removal

Stop-word removal is a text-preprocessing technique that excludes selected common words considered uninformative for a language-processing, retrieval, or analysis task.

How 4 Manning books explain it

Natural Language Processing in Action, Second Edition

A stop word filter is a text-processing filter that removes selected high-frequency function words from tokenized text.

How it is used
Supports token cleanup before bag-of-words counting, while warning that removal may not improve accuracy.
How deep it goes
Defines filtering, demonstrates list-based implementation, and evaluates meaning loss without descending into model internals.
Examples
Uses Python list filtering, NLTK’s English list, and a sentence reduced to “I” and “remembered.”
What you can do after
Apply it via Python list filtering or NLTK, then inspect whether reduced tokens preserve useful meaning.

Read how Natural Language Processing in Action, Second Edition explains stop-word removal →

Starting Data Analytics with Generative AI and Python

Stopword removal is the text-preprocessing technique of excluding selected common function words from analyzed text.

How it is used
Uses stopword filtering to prepare text for common-word extraction and frequency analysis.
How deep it goes
Demonstrates tokenization, lowercasing, punctuation filtering, language-specific stopwords, and frequency counting.
Examples
Uses Portuguese e-commerce review comments, an Olist CSV dataset, and a Python frequency-counting workflow.
What you can do after
Apply it via NLTK to filter Portuguese review text before counting word frequencies.

Read how Starting Data Analytics with Generative AI and Python explains stop-word removal →

Elasticsearch in Action, Second Edition

A token filter that removes configured stop words from analyzed text.

How it is used
Configures analyzed search text by removing low-value or selected words from Elasticsearch tokens.
How deep it goes
Explains default behavior, index configuration, language presets, custom files, and token verification, without descending into filter internals.
Examples
Demonstrates English and Hindi stop words, a custom swear-word file, and analyzed text whose configured words are removed.
What you can do after
Operate/configure Elasticsearch analyzers and verify stop-word removal through the _analyze endpoint.

Read how Elasticsearch in Action, Second Edition explains stop-word removal →

Data Without Labels

Stop word removal is the elimination of very common words that carry relatively little task-relevant meaning from text.

How it is used
Uses text cleaning to reduce vocabulary dimensions and solution complexity before analysis.
How deep it goes
Defines the filter, lists implementation choices, and explains a contextual exception without detailing library APIs.
Examples
Uses common function words and the “is it raining?” question with the answer “it is.”
What you can do after
Apply stop-word filtering with custom lists or standard libraries while preserving words essential to context.

Read how Data Without Labels explains stop-word removal →

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.