A bunch of functions to analyse frequencies in text.