Preprocess Corpus with functions specified in control. Little helper function to have a little more control of the preprocessing step. Especially the order of the control elements is preserved (as opposed to the preprocessing done in DocumentTermMatrix or TermDocumentMatrix.

Description

Preprocess Corpus with functions specified in control. Little helper function to have a little more control of the preprocessing step. Especially the order of the control elements is preserved (as opposed to the preprocessing done in DocumentTermMatrix or TermDocumentMatrix.

Usage

1
  preprocessCorpus(corpus, control, verbose = FALSE)

Arguments

corpus

Corpus object which should be processed

control

list of functions to be applied to corpus

verbose

print preprocessing status information

Author(s)

Mario Annau

See Also

DocumentTermMatrix TermDocumentMatrix