public override TokenStream TokenStream(string fieldname, TextReader reader) { TokenStream result = new StandardTokenizer(_version, reader); result = new LowerCaseFilter(result); result = new PersianNormalizationFilter(result); result = new StopFilter(StopFilter.GetEnablePositionIncrementsVersionDefault(_version), result, _stoptable); result = new PersianStemFilter(result); return result; }
public override TokenStream TokenStream(string fieldname, TextReader reader) { TokenStream result = new StandardTokenizer(_version, reader); result = new LowerCaseFilter(result); result = new PersianNormalizationFilter(result); result = new StopFilter(StopFilter.GetEnablePositionIncrementsVersionDefault(_version), result, _stoptable); result = new PersianStemFilter(result); return(result); }