Ported Sentimental library and tests to Java.