Graphical Models in Mallet (GRMM). From the Mallet page: GRMM is a toolkit for performing inference and learning in graphical models of arbitrary structure.