The inference of this model interleaves adding and removing a customer to optimize t hw , d, and θ using MCMC.
in our case "words" are not known a priori: the next section describes how to accomplish this by constructing a nested HPYLM of words and characters, with the associated inference algorithm.