createWordFreq {tmcn} | R Documentation |
Create a word frequency data.frame.
createWordFreq(obj, onlyCN = TRUE, nosymbol = TRUE, stopwords = NULL, useStopDic = FALSE)
obj |
A character vector or |
onlyCN |
Whether to keep only Chinese words. |
nosymbol |
Whether to keep symbols. |
stopwords |
A character vector of stop words. |
useStopDic |
Whether to use the default stop words. |
A data.frame.
Jian Li <rweibo@sina.com>
createWordFreq(c("a", "a", "b", "c"), onlyCN = FALSE, nosymbol = TRUE, useStopDic = FALSE)