/// <summary>Construct filtering <i>in</i>. </summary> public StandardFilter(TokenStream in_Renamed) : base(in_Renamed) { }
public LowerCaseFilter(TokenStream in_Renamed) : base(in_Renamed) { }
/// <summary>Construct a token stream filtering the given input. </summary> protected internal TokenFilter(TokenStream input) { this.input = input; }
public PorterStemFilter(TokenStream in_Renamed) : base(in_Renamed) { stemmer = new PorterStemmer(); }
/// <summary> Constructs a filter which removes words from the input /// TokenStream that are named in the Hashtable. /// /// </summary> /// <deprecated> Use {@link #StopFilter(TokenStream, Set)} instead /// </deprecated> public StopFilter(TokenStream in_Renamed, System.Collections.Hashtable stopTable) : base(in_Renamed) { stopWords = new System.Collections.Hashtable(new System.Collections.Hashtable(stopTable)); }
/// <summary> Constructs a filter which removes words from the input /// TokenStream that are named in the array of words. /// </summary> public StopFilter(TokenStream in_Renamed, System.String[] stopWords) : base(in_Renamed) { this.stopWords = MakeStopSet(stopWords); }