Implimentation of a exact LM based on this paper : http://www.cslu.ogi.edu/~zak/is-acl11.pdf