C# Класс 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.
Наследование: Lucene.Net.Analysis.Analyzer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CreateComponents() публичный Метод

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
Результат TokenStreamComponents

GermanAnalyzer() публичный Метод

Builds an analyzer with the default stop words: #getDefaultStopSet().
public GermanAnalyzer ( LuceneVersion matchVersion ) : Lucene.Net.Analysis
matchVersion LuceneVersion
Результат Lucene.Net.Analysis

GermanAnalyzer() публичный Метод

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
Результат Lucene.Net.Analysis

GermanAnalyzer() публичный Метод

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
Результат Lucene.Net.Analysis