C# Class Lucene.Net.Analysis.Ru.RussianAnalyzer

Analyzer for Russian language. Supports an external list of stopwords (words that will not be indexed at all). A default set of stopwords is used unless an alternative list is specified.
Inheritance: Lucene.Net.Analysis.Analyzer
显示文件 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents

Creates org.apache.lucene.analysis.Analyzer.TokenStreamComponents used to tokenize all the text in the provided Reader.

RussianAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Core
RussianAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopwords ) : Lucene.Net.Analysis.Core

Builds an analyzer with the given stop words

RussianAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopwords, Lucene.Net.Analysis.CharArraySet stemExclusionSet ) : Lucene.Net.Analysis.Core

Builds an analyzer with the given stop words

Method Details

CreateComponents() public method

Creates org.apache.lucene.analysis.Analyzer.TokenStreamComponents used to tokenize all the text in the provided Reader.
public CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
fieldName string
reader TextReader
return TokenStreamComponents

RussianAnalyzer() public method

public RussianAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion
return Lucene.Net.Analysis.Core

RussianAnalyzer() public method

Builds an analyzer with the given stop words
public RussianAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopwords ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion /// lucene compatibility version
stopwords Lucene.Net.Analysis.CharArraySet /// a stopword set
return Lucene.Net.Analysis.Core

RussianAnalyzer() public method

Builds an analyzer with the given stop words
public RussianAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopwords, Lucene.Net.Analysis.CharArraySet stemExclusionSet ) : Lucene.Net.Analysis.Core
matchVersion LuceneVersion /// lucene compatibility version
stopwords Lucene.Net.Analysis.CharArraySet /// a stopword set
stemExclusionSet Lucene.Net.Analysis.CharArraySet a set of words not to be stemmed
return Lucene.Net.Analysis.Core