@Override public TokenStream create(TokenStream tokenStream) { return new PersianNormalizationFilter(tokenStream); }
public void testDefaultFactoryTokenFilters() throws IOException { assertTokenFilter("keyword_repeat", KeywordRepeatFilter.class); assertTokenFilter("persian_normalization", PersianNormalizationFilter.class); assertTokenFilter("arabic_normalization", ArabicNormalizationFilter.class); }
@Override public PersianNormalizationFilter create(TokenStream input) { return new PersianNormalizationFilter(input); }