added thread safe stemmer