DeleteStopwords

DeleteStopwords[list]

从单词列表中删除停用词.

DeleteStopwords["string"]

从字符串中删除停用词.

DeleteStopwords[{"string1","string2",}]

从字符串列表中删除停用词.

更多信息

  • DeleteStopwords 使用标准的内置停用词.
  • DeleteStopwords["string"] 从字符串中删除停用词,但保留其周围的空格或标点符号.
  • DeleteStopwords[{"string1","string2",}] 中,会从列表中删除任何只包含单个停用词的 string1.

范例

基本范例  (3)

从列表中删除停用词:

从字符串中删除停用词:

从字符串列表中删除停用词:

Wolfram Research (2015),DeleteStopwords,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeleteStopwords.html.

文本

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_2024_deletestopwords, author="Wolfram Research", title="{DeleteStopwords}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/DeleteStopwords.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_deletestopwords, organization={Wolfram Research}, title={DeleteStopwords}, year={2015}, url={https://reference.wolfram.com/language/ref/DeleteStopwords.html}, note=[Accessed: 21-November-2024 ]}