In fact, if p were the empirical distribution over strings in a training corpus, then q * of (10) is just the maximum-likelihood n-gram model-whose parameters, trivially, are just unsmoothed ratios of the n-gram and (n−1)-gram counts in the training corpus.
q * (r(w) | h(w)) = c (w) c(h(w)) .