C# Класс Lucene.Net.Analysis.Util.StopwordAnalyzerBase

Base class for Analyzers that need to make use of stopword sets.
Наследование: Analyzer
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
matchVersion LuceneVersion
stopwords CharArraySet

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

Метод Описание
LoadStopwordSet ( FileInfo stopwords, LuceneVersion matchVersion ) : CharArraySet

Creates a CharArraySet from a file.

LoadStopwordSet ( TextReader.TextReader stopwords, LuceneVersion matchVersion ) : CharArraySet

Creates a CharArraySet from a file.

LoadStopwordSet ( bool ignoreCase, Type aClass, string resource, string comment ) : CharArraySet

Creates a CharArraySet from a file resource associated with a class. (See Class#getResourceAsStream(String)).

StopwordAnalyzerBase ( LuceneVersion version ) : System

Creates a new Analyzer with an empty stopword set

StopwordAnalyzerBase ( LuceneVersion version, CharArraySet stopwords ) : System

Creates a new instance initialized with the given stopword set

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

LoadStopwordSet() защищенный статический Метод

Creates a CharArraySet from a file.
/// if loading the stopwords throws an
protected static LoadStopwordSet ( FileInfo stopwords, LuceneVersion matchVersion ) : CharArraySet
stopwords System.IO.FileInfo /// the stopwords file to load ///
matchVersion LuceneVersion /// the Lucene version for cross version compatibility
Результат CharArraySet

LoadStopwordSet() защищенный статический Метод

Creates a CharArraySet from a file.
/// if loading the stopwords throws an
protected static LoadStopwordSet ( TextReader.TextReader stopwords, LuceneVersion matchVersion ) : CharArraySet
stopwords System.IO.TextReader.TextReader /// the stopwords reader to load ///
matchVersion LuceneVersion /// the Lucene version for cross version compatibility
Результат CharArraySet

LoadStopwordSet() защищенный статический Метод

Creates a CharArraySet from a file resource associated with a class. (See Class#getResourceAsStream(String)).
/// if loading the stopwords throws an
protected static LoadStopwordSet ( bool ignoreCase, Type aClass, string resource, string comment ) : CharArraySet
ignoreCase bool /// true if the set should ignore the case of the /// stopwords, otherwise false
aClass System.Type /// a class that is associated with the given stopwordResource
resource string /// name of the resource file associated with the given class
comment string /// comment string to ignore in the stopword file
Результат CharArraySet

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

Creates a new Analyzer with an empty stopword set
protected StopwordAnalyzerBase ( LuceneVersion version ) : System
version LuceneVersion /// the Lucene version for cross version compatibility
Результат System

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

Creates a new instance initialized with the given stopword set
protected StopwordAnalyzerBase ( LuceneVersion version, CharArraySet stopwords ) : System
version LuceneVersion /// the Lucene version for cross version compatibility
stopwords CharArraySet /// the analyzer's stopword set
Результат System

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

matchVersion защищенное свойство

protected LuceneVersion matchVersion
Результат LuceneVersion

stopwords защищенное свойство

An immutable stopword set
protected CharArraySet stopwords
Результат CharArraySet