Added Factorie dependency and topic estimation.