Create a word frequency dataframe from a text corpus.
a tm text corpus object.
Logical. Remove proportion of sparse terms. Default is 0.99
.
Numeric vector. Min and max length of words to include. Default is c(3, 26)
.
Numeric vector. Min and max frequency of words to include. Default is c(1, Inf)
.
A data.table of word frequencies.