However, since the sampling of each tree t depends on θ, and we need to resample all n parse trees before sampling θ, this Markov chain can be slow to mix.
we employ collapsed Gibbs sampling by integrating out θ.