powered by
## S3 method for class 'PlainTextDocument': removePunctuation(x, preserve_intra_word_dashes = FALSE)
x
preserve_intra_word_dashes
getTransformations
regex shows the class [:punct:] of punctuation characters.
regex
[:punct:]
data("crude") crude[[14]] removePunctuation(crude[[14]]) removePunctuation(crude[[14]], preserve_intra_word_dashes = TRUE)
Run the code above in your browser using DataLab