Generate a term frequency vector from a text document.
Usage
termFreq(doc, control = list())
Arguments
doc
An object inheriting from TextDocument.
control
A list of control options. Possible settings are
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Value
A named integer vector with term frequencies as values and tokens as
names.