R functions for Quantitative Analysis of Textual Data