C# Класс Lucene.Net.Analysis.Core.StopAnalyzer

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

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

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

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

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

Creates Analyzer.TokenStreamComponents used to tokenize all the text in the provided TextReader.

StopAnalyzer ( LuceneVersion matchVersion ) : System.Collections.Generic

Builds an analyzer which removes words in #ENGLISH_STOP_WORDS_SET.

StopAnalyzer ( LuceneVersion matchVersion, CharArraySet stopWords ) : System.Collections.Generic

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

StopAnalyzer ( LuceneVersion matchVersion, FileInfo stopwordsFile ) : System.Collections.Generic

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

StopAnalyzer ( LuceneVersion matchVersion, TextReader stopwords ) : System.Collections.Generic

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

Приватные методы

Метод Описание
StopAnalyzer ( ) : System.Collections.Generic

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

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

Creates Analyzer.TokenStreamComponents used to tokenize all the text in the provided TextReader.
public CreateComponents ( string fieldName, TextReader reader ) : Analyzer.TokenStreamComponents
fieldName string
reader System.IO.TextReader
Результат Analyzer.TokenStreamComponents

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

Builds an analyzer which removes words in #ENGLISH_STOP_WORDS_SET.
public StopAnalyzer ( LuceneVersion matchVersion ) : System.Collections.Generic
matchVersion LuceneVersion See above
Результат System.Collections.Generic

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

Builds an analyzer with the stop words from the given set.
public StopAnalyzer ( LuceneVersion matchVersion, CharArraySet stopWords ) : System.Collections.Generic
matchVersion LuceneVersion See above
stopWords CharArraySet Set of stop words
Результат System.Collections.Generic

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

Builds an analyzer with the stop words from the given file.
public StopAnalyzer ( LuceneVersion matchVersion, FileInfo stopwordsFile ) : System.Collections.Generic
matchVersion LuceneVersion See above
stopwordsFile System.IO.FileInfo File to load stop words from
Результат System.Collections.Generic

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

Builds an analyzer with the stop words from the given reader.
public StopAnalyzer ( LuceneVersion matchVersion, TextReader stopwords ) : System.Collections.Generic
matchVersion LuceneVersion See above
stopwords System.IO.TextReader Reader to load stop words from
Результат System.Collections.Generic

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

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

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