*/
public void testStemmer() throws Exception {
Reader reader = new StringReader("किताबें");
StandardTokenizerFactory factory = new StandardTokenizerFactory();
factory.setLuceneMatchVersion(TEST_VERSION_CURRENT);
IndicNormalizationFilterFactory indicFilterFactory = new IndicNormalizationFilterFactory();
HindiNormalizationFilterFactory hindiFilterFactory = new HindiNormalizationFilterFactory();
HindiStemFilterFactory stemFactory = new HindiStemFilterFactory();
stemFactory.setLuceneMatchVersion(TEST_VERSION_CURRENT);
Map<String, String> args = Collections.emptyMap();
factory.init(args);
stemFactory.init(args);
Tokenizer tokenizer = factory.create(reader);
TokenStream stream = indicFilterFactory.create(tokenizer);
stream = hindiFilterFactory.create(stream);
stream = stemFactory.create(stream);
assertTokenStreamContents(stream, new String[] {"किताब"});
}