The frequency of words in written text has been shown to follow Zipf's law.
if the words are ordered in terms of frequency, the relationship between frequency and rank can be approximated with the following equation.