organized StemmerEngine code a little