This raises some practical difficulties with respect to the computational maximization of the likelihood and subsequent estimation of (2).
for long documents containing a large number of words, q d (s, r) is approximately smooth which motivates a maximum likelihood procedure using gradient descent on a smoothed version of q d (s).