Description Usage Arguments Value
Removes whitespace, removes punctuation, transforms characters to lowercase, and removes stopwords (with the option to add additional stopwords). Used in get_freq_terms.
1 | clean_corpus(corpus, stopwords = NULL)
|
corpus |
corpus to be cleaned. To create the corpus use: source <- VectorSource(vec), corpus <- VCorpus(source) |
stopwords |
optional, adds stopwords to remove. If not specified it will only remove English stopwords from the tm package. |
corpus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.