Small refactoring of jmorphy2 stemmer