C# Class Lucene.Net.Analysis.De.GermanAnalyzer

Analyzer for German language. Supports an external list of stopwords (words that will not be indexed at all) and an external list of exclusions (word that will not be stemmed, but indexed). A default set of stopwords is used unless an alternative list is specified, the exclusion list is empty by default.
Inheritance: Lucene.Net.Analysis.Analyzer
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

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

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

GermanAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis

Builds an analyzer with the default stop words: #getDefaultStopSet().

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

Builds an analyzer with the given stop words

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

Builds an analyzer with the given stop words

Method Details

CreateComponents() public méthode

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 System.IO.TextReader
Résultat TokenStreamComponents

GermanAnalyzer() public méthode

Builds an analyzer with the default stop words: #getDefaultStopSet().
public GermanAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis
matchVersion LuceneVersion
Résultat Lucene.Net.Analysis

GermanAnalyzer() public méthode

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

GermanAnalyzer() public méthode

Builds an analyzer with the given stop words
public GermanAnalyzer ( LuceneVersion matchVersion, Lucene.Net.Analysis.CharArraySet stopwords, Lucene.Net.Analysis.CharArraySet stemExclusionSet ) : Lucene.Net.Analysis
matchVersion LuceneVersion /// lucene compatibility version
stopwords Lucene.Net.Analysis.CharArraySet /// a stopword set
stemExclusionSet Lucene.Net.Analysis.CharArraySet /// a stemming exclusion set
Résultat Lucene.Net.Analysis