r 的停用词列表
Stop words list for r
stopwords
(包 tm
)returns 支持不同语言的各种停用词。例如
stopwords()
returns 175个英文停用词。我想知道是否有一些工具可以提供更多停用词。
如果您使用包 stopwords
,您可以使用更长的列表指定来源。
> install.packages("stopwords")
> library("stopwords")
> SW = stopwords("en", source = "stopwords-iso")
> length(SW)
1298
stopwords
(包 tm
)returns 支持不同语言的各种停用词。例如
stopwords()
returns 175个英文停用词。我想知道是否有一些工具可以提供更多停用词。
如果您使用包 stopwords
,您可以使用更长的列表指定来源。
> install.packages("stopwords")
> library("stopwords")
> SW = stopwords("en", source = "stopwords-iso")
> length(SW)
1298