# NOT RUN {
toks <- tokenize(c("This is some example text from me.", "More of the example text."),
remove_punct = TRUE)
selectFeaturesOLD(toks, stopwords("english"), "remove")
selectFeaturesOLD(toks, "ex", "keep", valuetype = "regex")
# }
Run the code above in your browser using DataLab