An R Package for Text Analysis