Description Usage Arguments Details Value Author(s)
Create a Chinese term-document matrix or a document-term matrix.
1 2 3 4 |
string |
A character vector. |
language |
The language type, 'zh' means Chinese. |
tokenize |
A tokenizers function. |
removePunctuation |
Whether to remove the punctuations. |
removeNumbers |
Whether to remove the numbers. |
removeStopwords |
Whether to remove the stop words. |
Package "tm" is required.
An object of class TermDocumentMatrix
or class DocumentTermMatrix
.
Jian Li <rweibo@sina.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.