Implementation of probabilistic LDA style content models