The guys from the RTextTools Developer Blogs provide some material from an course at UNC:

1. The script: www.rtexttools.com/uploads/1/5/0/6/150695/collingwood_rtexttools_unc.pdf

2. Some examples in R-code:  http://www.rtexttools.com/uploads/1/5/0/6/150695/lecture1_intro.r // http://www.rtexttools.com/uploads/1/5/0/6/150695/lecture2_nytimes.r // http://www.rtexttools.com/uploads/1/5/0/6/150695/lecture3_congress.r