相关疑难解决方法(0)

在R中查找文本中最常出现的单词

有人可以帮我解决如何使用R在文本中找到最常用的两个和三个单词吗?

我的文字是......

text <- c("There is a difference between the common use of the term phrase and its technical use in linguistics. In common usage, a phrase is usually a group of words with some special idiomatic meaning or other significance, such as \"all rights reserved\", \"economical with the truth\", \"kick the bucket\", and the like. It may be a euphemism, a saying or proverb, a fixed expression, a figure of speech, etc. In grammatical analysis, particularly in theories of …
Run Code Online (Sandbox Code Playgroud)

r n-gram

2
推荐指数
3
解决办法
4134
查看次数

标签 统计

n-gram ×1

r ×1