Description Usage Arguments Value Author(s) Examples
Get the word frequency data.frame.
1 | getWordFreq(string, onlyCN = TRUE, stopwords = NULL, useStopDic = FALSE)
|
string |
A character vector to calculate words frequency. |
onlyCN |
Keep only chinese words. |
stopwords |
A character vector of stop words. |
useStopDic |
Whether to use the default stop words. |
A data.frame.
Jian Li <rweibo@sina.com>
1 2 3 4 | ## Not run:
getWordFreq(c("a", "a", "b", "c"), onlyCN = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.