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.
A. Girouard, E. Solovey, R. Mandryk, D. Tan, L. Nacke, and R. Jacob. CHI EA '10: Proceedings of the 28th of the international conference extended abstracts on Human factors in computing systems, page 4433--4436. New York, NY, USA, ACM, (2010)