liveBook · Manning

Stop-word removal

As explained in Data Without Labels

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

Stop-word removal eliminates very common words with relatively little task-relevant meaning, reducing text dimensions and solution complexity. Use a customized list or a standard library, but inspect data quality and task context before filtering. section 7.6

Apply the technique selectively:

  • Remove words such as “is,” “an,” “the,” “a,” “be,” “has,” “had,” and “it” when contextual information is not central. section 7.6
  • Choose between a custom stop-word list and a predefined library, depending on the cleaning requirements. section 7.6
  • Avoid automatic removal when short function words change the meaning of an answer or prediction. section 7.6

When context changes the decision

For the question “is it raining?”, the answer “it is” is complete; removing “it” and “is” would discard important contextual information. section 7.6

How Data Without Labels covers it

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 it assumes
Assumes basic text-analysis awareness and teaches the need to inspect data quality and task context.
What you can do after
Apply stop-word filtering with custom lists or standard libraries while preserving words essential to context.
How it connects
Connects text preprocessing with data quality, custom vocabularies, standard libraries, and contextual information.

Also explained in

Compare how 4 books explain stop-word removal →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.