Constructor StopAnalyzer
StopAnalyzer(LuceneVersion)
Builds an analyzer which removes words in ENGLISH_STOP_WORDS_SET.
Declaration
public StopAnalyzer(LuceneVersion matchVersion)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | See LuceneVersion |
StopAnalyzer(LuceneVersion, CharArraySet)
Builds an analyzer with the stop words from the given set.
Declaration
public StopAnalyzer(LuceneVersion matchVersion, CharArraySet stopWords)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | See LuceneVersion |
CharArraySet | stopWords | Set of stop words |
StopAnalyzer(LuceneVersion, FileInfo)
Builds an analyzer with the stop words from the given file.
Declaration
public StopAnalyzer(LuceneVersion matchVersion, FileInfo stopwordsFile)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | See LuceneVersion |
System.IO.FileInfo | stopwordsFile | File to load stop words from |
See Also
StopAnalyzer(LuceneVersion, TextReader)
Builds an analyzer with the stop words from the given reader.
Declaration
public StopAnalyzer(LuceneVersion matchVersion, TextReader stopwords)
Parameters
Type | Name | Description |
---|---|---|
LuceneVersion | matchVersion | See LuceneVersion |
System.IO.TextReader | stopwords | System.IO.TextReader to load stop words from |