| removeWords {tm} | R Documentation |
Remove a set of words from a text document.
## S3 method for class 'PlainTextDocument' removeWords(x, words)
x |
A text document. |
words |
A character vector listing the words to be removed. |
The text document with the specified words in it removed.
getTransformations to list available transformation (mapping) functions.
data("crude")
crude[[1]]
removeWords(crude[[1]], stopwords("english"))