
termFreq(doc, control = list())
TextDocument
.tolower
: A function converting characters to lower
case. Defaults tobase::tolower
.tokenize
: A function tokenizing documents to single
data("crude")
termFreq(crude[[1]])
termFreq(crude[[1]], control = list(stemming = TRUE, minWordLength = 4))
Run the code above in your browser using DataLab