Working JNI and Java lemmatizing method