/// <summary>Builds an analyzer which removes words in the provided array. </summary> public StopAnalyzer(System.String[] stopWords) { this.stopWords = StopFilter.MakeStopSet(stopWords); }
/// <summary>Builds an analyzer which removes words in ENGLISH_STOP_WORDS. </summary> public StopAnalyzer() { stopWords = StopFilter.MakeStopSet(ENGLISH_STOP_WORDS); }