Preprocess existing corpus of type Corpus
according to default operations.
This helper function groups all standard preprocessing steps such that the usage of the
package is more convenient.
preprocessCorpus(
corpus,
language = "english",
stemming = TRUE,
verbose = FALSE,
removeStopwords = TRUE
)
Object of Corpus
Corpus
object which should be processed
Default language used for preprocessing (i.e. stop word removal and stemming)
Perform stemming (default: TRUE)
Print preprocessing status information
Flag indicating whether to remove stopwords or not (default: yes)