## S3 method for class 'character':
removePunctuation(x, preserve_intra_word_dashes = FALSE)
## S3 method for class 'PlainTextDocument':
removePunctuation(x, \dots)
preserve_intra_word_dashes
.x
without punctuation marks
(besides intra-word dashes if preserve_intra_word_dashes
is
set).getTransformations
to list available transformation
(mapping) functions. regex
shows the class [:punct:]
of punctuation
characters.
data("crude") crude[[14]] removePunctuation(crude[[14]]) removePunctuation(crude[[14]], preserve_intra_word_dashes = TRUE)