NGramJ is a Java based library containing two types of ngram based applications. It's major focus is to provide robust and state of the art language recognition.
L. Chen, J. Hoey, C. Nugent, D. Cook, and Z. Yu. IEEE Transactions on Systems, Man, and Cybernetics, Part C: Applications and Reviews, 42 (6):
790-808(November 2012)