powered by
Remove words from a text document.
# S3 method for character removeWords(x, words) # S3 method for PlainTextDocument removeWords(x, …)
A character or text document.
A character vector giving the words to be removed.
passed over argument words.
words
The character or text document without the specified words.
getTransformations to list available transformation (mapping) functions.
getTransformations
remove_stopwords provided by package tau.
remove_stopwords
# NOT RUN { data("crude") crude[[1]] removeWords(crude[[1]], stopwords("english")) # }
Run the code above in your browser using DataLab