Word stemmer function added.