R/stem_words.R

Defines functions stem_words

Documented in stem_words

#' Stem a Vector of Words
#'
#' Stem a Vector of Texts.
#'
#' @param xx text string / vector
#' @param language which algorithm to use
#' @export
stem_words <- function(xx, language = "porter") {
  SnowballC::wordStem(x, language)
}
data-steve/kleentex documentation built on May 12, 2017, 5:41 p.m.