| Dictionary {tm} | R Documentation |
Constructs a dictionary from a character vector or a term-document matrix.
Dictionary(object)
object |
A character vector or a term-document matrix holding the terms for the dictionary. |
An S4 object of class Dictionary which extends the class
character representing a dictionary.
Ingo Feinerer
Dictionary(c("some", "tokens"))
data(crude)
Dictionary(TermDocMatrix(crude))