documentation on the stemming algorithm