C# 클래스 Lucene.Net.Analysis.Analyzer.TokenStreamComponents

this class encapsulates the outer components of a token stream. It provides access to the source (Tokenizer) and the outer end (sink), an instance of TokenFilter which also serves as the TokenStream returned by Analyzer#tokenStream(String, Reader).
파일 보기 프로젝트 열기: paulirwin/lucene.net

보호된 프로퍼티들

프로퍼티 타입 설명
Sink TokenStream
Source Tokenizer

공개 메소드들

메소드 설명
TokenStreamComponents ( Tokenizer source ) : Lucene.Net.Util

Creates a new TokenStreamComponents instance.

TokenStreamComponents ( Tokenizer source, TokenStream result ) : Lucene.Net.Util

Creates a new TokenStreamComponents instance.

메소드 상세

TokenStreamComponents() 공개 메소드

Creates a new TokenStreamComponents instance.
public TokenStreamComponents ( Tokenizer source ) : Lucene.Net.Util
source Tokenizer /// the analyzer's tokenizer
리턴 Lucene.Net.Util

TokenStreamComponents() 공개 메소드

Creates a new TokenStreamComponents instance.
public TokenStreamComponents ( Tokenizer source, TokenStream result ) : Lucene.Net.Util
source Tokenizer /// the analyzer's tokenizer
result TokenStream /// the analyzer's resulting token stream
리턴 Lucene.Net.Util

프로퍼티 상세

Sink 보호되어 있는 프로퍼티

Sink tokenstream, such as the outer tokenfilter decorating the chain. this can be the source if there are no filters.
protected TokenStream,Lucene.Net.Analysis Sink
리턴 TokenStream

Source 보호되어 있는 프로퍼티

Original source of the tokens.
protected Tokenizer,Lucene.Net.Analysis Source
리턴 Tokenizer