clean(x, ...)## S3 method for class 'character':
clean(x, removeDigits = TRUE, removePunct = TRUE,
toLower = TRUE, removeAdditional = NULL, removeTwitter = FALSE,
removeURL = TRUE, ...)
## S3 method for class 'corpus':
clean(x, removeDigits = TRUE, removePunct = TRUE,
toLower = TRUE, removeAdditional = NULL, removeTwitter = FALSE, ...)
cleanC(x, removeDigits = TRUE, removePunct = TRUE, toLower = TRUE,
removeAdditional = NULL, removeTwitter = FALSE, removeURL = TRUE, ...)
clean
returns the corpus containing
the cleaned texts.TRUE
TRUE
TRUE
FALSE
, do not remove @
or #}}- removeURL
{removes URLs (web addresses starting with http:
or https:
), based
on a regular expression from http://daringfireball.net/2010/07/improv