For a topic model with a generalized Pólya urn for the topic-word component, the sampling distribution is more complicated.
the topicword component of the sampling distribution is no longer a simple predictive distribution-when sampling a new value for z (d) n , the implication of each possible value for subsequent tokens and their topic assignments must be considered.