powered by
tm_reduce(x, tmFuns, ...)
list
Reduce
getTransformations
data(crude) crude[[1]] skipWords <- function(x) removeWords(x, c("it", "the")) funs <- list(tolower, removePunctuation, skipWords, stripWhitespace) tm_map(crude, FUN = tm_reduce, tmFuns = funs)[[1]]
Run the code above in your browser using DataLab