C# Class 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).
Afficher le fichier Open project: paulirwin/lucene.net

Protected Properties

Свойство Type Description
Sink TokenStream
Source Tokenizer

Méthodes publiques

Méthode Description
TokenStreamComponents ( Tokenizer source ) : Lucene.Net.Util

Creates a new TokenStreamComponents instance.

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

Creates a new TokenStreamComponents instance.

Method Details

TokenStreamComponents() public méthode

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

TokenStreamComponents() public méthode

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
Résultat Lucene.Net.Util

Property Details

Sink protected_oe property

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
Résultat TokenStream

Source protected_oe property

Original source of the tokens.
protected Tokenizer,Lucene.Net.Analysis Source
Résultat Tokenizer