I discuss the algorithm in this presentation: https://www.youtube.com/watch?v=yK7nN3FcgUs You can also find a really simple implementation here: mimno/Mallet. read more