fixed seg fault when initializing stemmer multiple times