There's more...

Stop word removal has its purposes.  It is helpful, as we will see in a later recipe where we create a word cloud (stop words don't give much information in a word cloud), but can also be detrimental.  Many other NLP processes that deduce meaning based upon sentence structure can be greatly hampered by their removal.

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.