removeWords

0th

Percentile

Remove Words from a Text Document

Remove words from a text document.

Usage
"removeWords"(x, words) "removeWords"(x, ...)
Arguments
x
A character or text document.
words
A character vector giving the words to be removed.
...
passed over argument words.
Value

The character or text document without the specified words.

See Also

getTransformations to list available transformation (mapping) functions.

remove_stopwords provided by package tau.

Aliases
  • removeWords
  • removeWords.character
  • removeWords.PlainTextDocument
Examples
data("crude")
crude[[1]]
removeWords(crude[[1]], stopwords("english"))
Documentation reproduced from package tm, version 0.6-2, License: GPL-3

Community examples

Looks like there are no examples yet.