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