refactor stemmer & context