Modified stemmer algorithm