Calculates the frequency of letters in Indic texts