powered by
Create a word frequency data.frame.
createWordFreq(obj, onlyCN = TRUE, stopwords = NULL, useStopDic = TRUE)
A character vector or DocumentTermMatrix to calculate words frequency.
DocumentTermMatrix
Keep only chinese words.
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, useStopDic = FALSE) # }
Run the code above in your browser using DataLab