C# Class Lucene.Net.Analysis.Core.StopAnalyzer

Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Свойство Type Description
ENGLISH_STOP_WORDS_SET CharArraySet

Méthodes publiques

Méthode Description
CreateComponents ( string fieldName, TextReader reader ) : Analyzer.TokenStreamComponents

Creates Analyzer.TokenStreamComponents used to tokenize all the text in the provided TextReader.

StopAnalyzer ( LuceneVersion matchVersion ) : System.Collections.Generic

Builds an analyzer which removes words in #ENGLISH_STOP_WORDS_SET.

StopAnalyzer ( LuceneVersion matchVersion, CharArraySet stopWords ) : System.Collections.Generic

Builds an analyzer with the stop words from the given set.

StopAnalyzer ( LuceneVersion matchVersion, FileInfo stopwordsFile ) : System.Collections.Generic

Builds an analyzer with the stop words from the given file.

StopAnalyzer ( LuceneVersion matchVersion, TextReader stopwords ) : System.Collections.Generic

Builds an analyzer with the stop words from the given reader.

Private Methods

Méthode Description
StopAnalyzer ( ) : System.Collections.Generic

Method Details

CreateComponents() public méthode

Creates Analyzer.TokenStreamComponents used to tokenize all the text in the provided TextReader.
public CreateComponents ( string fieldName, TextReader reader ) : Analyzer.TokenStreamComponents
fieldName string
reader System.IO.TextReader
Résultat Analyzer.TokenStreamComponents

StopAnalyzer() public méthode

Builds an analyzer which removes words in #ENGLISH_STOP_WORDS_SET.
public StopAnalyzer ( LuceneVersion matchVersion ) : System.Collections.Generic
matchVersion LuceneVersion See above
Résultat System.Collections.Generic

StopAnalyzer() public méthode

Builds an analyzer with the stop words from the given set.
public StopAnalyzer ( LuceneVersion matchVersion, CharArraySet stopWords ) : System.Collections.Generic
matchVersion LuceneVersion See above
stopWords CharArraySet Set of stop words
Résultat System.Collections.Generic

StopAnalyzer() public méthode

Builds an analyzer with the stop words from the given file.
public StopAnalyzer ( LuceneVersion matchVersion, FileInfo stopwordsFile ) : System.Collections.Generic
matchVersion LuceneVersion See above
stopwordsFile System.IO.FileInfo File to load stop words from
Résultat System.Collections.Generic

StopAnalyzer() public méthode

Builds an analyzer with the stop words from the given reader.
public StopAnalyzer ( LuceneVersion matchVersion, TextReader stopwords ) : System.Collections.Generic
matchVersion LuceneVersion See above
stopwords System.IO.TextReader Reader to load stop words from
Résultat System.Collections.Generic

Property Details

ENGLISH_STOP_WORDS_SET public_oe static_oe property

An unmodifiable set containing some common English words that are not usually useful for searching.
public static CharArraySet ENGLISH_STOP_WORDS_SET
Résultat CharArraySet