Description Usage Arguments Value
View source: R/text-preprocessor.R
This function creates a vocabulary from a vector of documents. A vocabulary defines the domain of a natural language processing problem. Vocabularies are often used to create vectorisers, which allow novel pieces of text to be mapped to a vocabulary defined by a training set. To exclude frequently and infrequently occurring tokens, the vocabulary is often trimmed. This reduces the dimension of the problem to decrease training time and the potential for overfitting.
1 |
x |
Character. Text to be processed. |
The same character after processing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.