Analyses an input of a block of text for frequency of words.