C# Класс Lucene.Net.Analysis.Pl.PolishAnalyzer

Analyzer for Polish.
Наследование: Lucene.Net.Analysis.Util.StopwordAnalyzerBase
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DEFAULT_STEMMER_FILE string
DEFAULT_STOPWORD_FILE string

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

Метод Описание
CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents

Creates a Analyzer.TokenStreamComponents which tokenizes all the text in the provided TextReader.

GetDefaultStopSet ( ) : CharArraySet

Returns an unmodifiable instance of the default stop words set.

GetDefaultTable ( ) : Egothor.Stemmer.Trie

Returns an unmodifiable instance of the default stemmer table.

PolishAnalyzer ( LuceneVersion matchVersion ) : Egothor.Stemmer

Builds an analyzer with the default stop words: DEFAULT_STOPWORD_FILE.

PolishAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords ) : Egothor.Stemmer

Builds an analyzer with the given stop words.

PolishAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet ) : Egothor.Stemmer

Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before stemming.

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

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

Creates a Analyzer.TokenStreamComponents which tokenizes all the text in the provided TextReader.
public CreateComponents ( string fieldName, TextReader reader ) : TokenStreamComponents
fieldName string
reader TextReader
Результат TokenStreamComponents

GetDefaultStopSet() публичный статический Метод

Returns an unmodifiable instance of the default stop words set.
public static GetDefaultStopSet ( ) : CharArraySet
Результат CharArraySet

GetDefaultTable() публичный статический Метод

Returns an unmodifiable instance of the default stemmer table.
public static GetDefaultTable ( ) : Egothor.Stemmer.Trie
Результат Egothor.Stemmer.Trie

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

Builds an analyzer with the default stop words: DEFAULT_STOPWORD_FILE.
public PolishAnalyzer ( LuceneVersion matchVersion ) : Egothor.Stemmer
matchVersion LuceneVersion lucene compatibility version
Результат Egothor.Stemmer

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

Builds an analyzer with the given stop words.
public PolishAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords ) : Egothor.Stemmer
matchVersion LuceneVersion lucene compatibility version
stopwords CharArraySet a stopword set
Результат Egothor.Stemmer

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

Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before stemming.
public PolishAnalyzer ( LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionSet ) : Egothor.Stemmer
matchVersion LuceneVersion lucene compatibility version
stopwords CharArraySet a stopword set
stemExclusionSet CharArraySet a set of terms not to be stemmed
Результат Egothor.Stemmer

Описание свойств

DEFAULT_STEMMER_FILE публичное статическое свойство

File containing default Polish stemmer table.
public static string DEFAULT_STEMMER_FILE
Результат string

DEFAULT_STOPWORD_FILE публичное статическое свойство

File containing default Polish stopwords.
public static string DEFAULT_STOPWORD_FILE
Результат string