Text analysis in R. Part 1: Preprocessing