C# Класс org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer

Filters org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer with org.apache.lucene.analysis.standard.StandardFilter, LowerCaseFilter and StopFilter, using a list of English stop words.

You must specify the required org.apache.lucene.util.Version compatibility when creating UAX29URLEmailAnalyzer

Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
STOP_WORDS_SET CharArraySet

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

Метод Описание
UAX29URLEmailAnalyzer ( Version matchVersion ) : Lucene.Net.Analysis.Core

Builds an analyzer with the default stop words ({@link #STOP_WORDS_SET}).

UAX29URLEmailAnalyzer ( Version matchVersion, CharArraySet stopWords ) : Lucene.Net.Analysis.Core

Builds an analyzer with the given stop words.

UAX29URLEmailAnalyzer ( Version matchVersion, Reader stopwords ) : Lucene.Net.Analysis.Core

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

Защищенные методы

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

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

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

Builds an analyzer with the default stop words ({@link #STOP_WORDS_SET}).
public UAX29URLEmailAnalyzer ( Version matchVersion ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
Результат Lucene.Net.Analysis.Core

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

Builds an analyzer with the given stop words.
public UAX29URLEmailAnalyzer ( Version matchVersion, CharArraySet stopWords ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
stopWords CharArraySet stop words
Результат Lucene.Net.Analysis.Core

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

Builds an analyzer with the stop words from the given reader.
public UAX29URLEmailAnalyzer ( Version matchVersion, Reader stopwords ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
stopwords Reader Reader to read stop words from
Результат Lucene.Net.Analysis.Core

createComponents() защищенный Метод

protected createComponents ( string fieldName, Reader reader ) : TokenStreamComponents
fieldName string
reader Reader
Результат TokenStreamComponents

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

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

An unmodifiable set containing some common English words that are usually not useful for searching.
public static CharArraySet STOP_WORDS_SET
Результат CharArraySet