preprocessCorpus: Preprocess Corpus with functions specified in control. Little...

Description Usage Arguments Author(s) See Also

View source: R/preprocessCorpus.R

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


tm.plugin.sentiment documentation built on May 2, 2019, 6:52 p.m.