【发布时间】:2020-07-23 04:29:41
【问题描述】:
stopwords(tm 包)返回支持不同语言的各种停用词。例如
stopwords()
返回 175 个英语停用词。我想知道是否有一些工具可以提供更多的停用词。
【问题讨论】:
标签: r text-mining stop-words
stopwords(tm 包)返回支持不同语言的各种停用词。例如
stopwords()
返回 175 个英语停用词。我想知道是否有一些工具可以提供更多的停用词。
【问题讨论】:
标签: r text-mining stop-words
如果你使用包stopwords,你可以用更长的列表指定源。
> install.packages("stopwords")
> library("stopwords")
> SW = stopwords("en", source = "stopwords-iso")
> length(SW)
1298
【讨论】: