DeleteStopwords[list]
deletes stopwords from a list of words.
DeleteStopwords["string"]
deletes stopwords from a string.
DeleteStopwords[{"string1","string2",…}]
deletes stopwords from a list of strings.
DeleteStopwords
DeleteStopwords[list]
deletes stopwords from a list of words.
DeleteStopwords["string"]
deletes stopwords from a string.
DeleteStopwords[{"string1","string2",…}]
deletes stopwords from a list of strings.
Details
- DeleteStopwords uses a standard, built-in list of stopwords.
- DeleteStopwords["string"] removes stopwords from the string, leaving whatever spaces or punctuation were around them.
- In DeleteStopwords[{"string1","string2",…}], any of the string1 that consist of single stopwords are removed from the list.
Examples
Basic Examples (3)
DeleteStopwords[{"the", "plastic", "bag"}]DeleteStopwords[{"the", "apple", "on", "the", "table", "was", "red"}]DeleteStopwords[{"all", "words", "in", "the", "dictionary"}]Remove stopwords from a string:
DeleteStopwords["The blue ball had rolled under the table."]DeleteStopwords["This door is no longer open on Sunday."]Remove stopwords from a list of strings:
DeleteStopwords[{"The sky is blue.", "The grass is green."}]See Also
StringDelete TextWords WordData Complement WordCounts WordCloud
Function Repository: LinguaStopwords
Related Guides
Related Workflows
- Analyze the Text on a Webpage
History
Text
Wolfram Research (2015), DeleteStopwords, Wolfram Language function, https://reference.wolfram.com/language/ref/DeleteStopwords.html.
CMS
Wolfram Language. 2015. "DeleteStopwords." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DeleteStopwords.html.
APA
Wolfram Language. (2015). DeleteStopwords. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DeleteStopwords.html
BibTeX
@misc{reference.wolfram_2026_deletestopwords, author="Wolfram Research", title="{DeleteStopwords}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/DeleteStopwords.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_deletestopwords, organization={Wolfram Research}, title={DeleteStopwords}, year={2015}, url={https://reference.wolfram.com/language/ref/DeleteStopwords.html}, note=[Accessed: 13-June-2026]}