fix index out of bounds error in HebrewLemmatizer.java