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.
java-emotion-recognizer - Java emotion recognition engine. Given training data and an input image, JEmotionRec can guess the emotion being conveyed with reasonable accuracy.