
Last chance! 50% off unlimited learning
Sale ends in
Remove words from a text document.
# S3 method for character
removeWords(x, words)
# S3 method for PlainTextDocument
removeWords(x, ...)
The character or text document without the specified words.
A character or text document.
A character vector giving the words to be removed.
passed over argument words
.
getTransformations
to list available transformation (mapping)
functions.
remove_stopwords
provided by package tau.
data("crude")
crude[[1]]
removeWords(crude[[1]], stopwords("english"))
Run the code above in your browser using DataLab