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.
G. Herzog, and K. Rohr. KI-95: Advances in Artificial Intelligence, 19th Annual German Conference on Artificial Intelligence, Bielefeld, Germany, volume 981 of Lecture Notes in Artificial Intelligence, Springer, Berlin, (1995)