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