compute loglikelihood on tokens instead of total ngram occurrences