DeleteStopwords[list]
从单词列表中删除停用词.
DeleteStopwords["string"]
从字符串中删除停用词.
DeleteStopwords[{"string1","string2",…}]
从字符串列表中删除停用词.
DeleteStopwords
DeleteStopwords[list]
从单词列表中删除停用词.
DeleteStopwords["string"]
从字符串中删除停用词.
DeleteStopwords[{"string1","string2",…}]
从字符串列表中删除停用词.
更多信息
- DeleteStopwords 使用标准的内置停用词.
- DeleteStopwords["string"] 从字符串中删除停用词,但保留其周围的空格或标点符号.
- 在 DeleteStopwords[{"string1","string2",…}] 中,会从列表中删除任何只包含单个停用词的 string1.
范例
基本范例 (3)
DeleteStopwords[{"the", "plastic", "bag"}]DeleteStopwords[{"the", "apple", "on", "the", "table", "was", "red"}]DeleteStopwords[{"all", "words", "in", "the", "dictionary"}]DeleteStopwords["The blue ball had rolled under the table."]DeleteStopwords["This door is no longer open on Sunday."]DeleteStopwords[{"The sky is blue.", "The grass is green."}]相关的工作流程
- 分析网页上的文字
文本
Wolfram Research (2015),DeleteStopwords,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeleteStopwords.html.
CMS
Wolfram 语言. 2015. "DeleteStopwords." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DeleteStopwords.html.
APA
Wolfram 语言. (2015). DeleteStopwords. Wolfram 语言与系统参考资料中心. 追溯自 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: 15-September-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: 15-September-2026]}