Class used to make a frequency analysis of a given text