public override TokenStream TokenStream(string fieldName, TextReader reader) { TokenStream result = new StandardTokenizer(this.matchVersion, reader); result = new LowerCaseFilter(result); result = new StandardFilter(result); result = new StopFilter(StopFilter.GetEnablePositionIncrementsVersionDefault(this.matchVersion), result, this.stoptable); result = new BrazilianStemFilterCustom(result, this.excltable); return(result); }
public override TokenStream TokenStream(string fieldName, TextReader reader) { TokenStream result = new StandardTokenizer(this.matchVersion, reader); result = new LowerCaseFilter(result); result = new StandardFilter(result); result = new StopFilter(StopFilter.GetEnablePositionIncrementsVersionDefault(this.matchVersion), result, this.stoptable); result = new BrazilianStemFilterCustom(result, this.excltable); return result; }