By changing words to the lowercase, you can prevent the improper counting of words. Say that you have a count for hockey three times and Hockey once where it is the first word in a sentence. R will not give you a count of hockey=4, but hockey=3 and Hockey=1.
Explanation about changing lower case.
Share this highlighthttp://www.safaribooksonline.com/a/mastering-machine-learning/4111979/