Implements a language model based on GibbsLDA++