C# 클래스 org.apache.lucene.analysis.standard.ClassicAnalyzer

Filters ClassicTokenizer with ClassicFilter, {@link LowerCaseFilter} and StopFilter, using a list of English stop words.

You must specify the required Version compatibility when creating ClassicAnalyzer:

ClassicAnalyzer was named StandardAnalyzer in Lucene versions prior to 3.1. As of 3.1, StandardAnalyzer implements Unicode text segmentation, as specified by UAX#29.

상속: Lucene.Net.Analysis.Util.StopwordAnalyzerBase
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
STOP_WORDS_SET CharArraySet

공개 메소드들

메소드 설명
ClassicAnalyzer ( Version matchVersion ) : Lucene.Net.Analysis.Core

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

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

Builds an analyzer with the given stop words.

ClassicAnalyzer ( 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

메소드 상세

ClassicAnalyzer() 공개 메소드

Builds an analyzer with the default stop words ({@link #STOP_WORDS_SET}).
public ClassicAnalyzer ( Version matchVersion ) : Lucene.Net.Analysis.Core
matchVersion Version Lucene version to match See {@link /// above}
리턴 Lucene.Net.Analysis.Core

ClassicAnalyzer() 공개 메소드

Builds an analyzer with the given stop words.
public ClassicAnalyzer ( 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

ClassicAnalyzer() 공개 메소드

Builds an analyzer with the stop words from the given reader.
public ClassicAnalyzer ( 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