powered by
Create a word frequency data.frame.
createWordFreq(obj, onlyCN = TRUE, nosymbol = TRUE, stopwords = NULL, useStopDic = FALSE)
A character vector or DocumentTermMatrix to calculate words frequency.
DocumentTermMatrix
Whether to keep only Chinese words.
Whether to keep symbols.
A character vector of stop words.
Whether to use the default stop words.
A data.frame.
# NOT RUN { createWordFreq(c("a", "a", "b", "c"), onlyCN = FALSE, nosymbol = TRUE, useStopDic = FALSE) # }
Run the code above in your browser using DataLab