C# 클래스 Lucene.Net.Analysis.Miscellaneous.Lucene47WordDelimiterFilter

상속: TokenFilter
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
IncrementToken ( ) : bool
Lucene47WordDelimiterFilter ( TokenStream @in, int configurationFlags, CharArraySet protWords ) : System

Creates a new WordDelimiterFilter using WordDelimiterIterator#DEFAULT_WORD_DELIM_TABLE as its charTypeTable

Lucene47WordDelimiterFilter ( TokenStream @in, sbyte charTypeTable, int configurationFlags, CharArraySet protWords ) : System

Creates a new WordDelimiterFilter

Reset ( ) : void

{@inheritDoc}

비공개 메소드들

메소드 설명
Concatenate ( WordDelimiterConcatenation concatenation ) : void

Concatenates the saved buffer to the given WordDelimiterConcatenation

FlushConcatenation ( WordDelimiterConcatenation concatenation ) : bool

Flushes the given WordDelimiterConcatenation by either writing its concat and then clearing, or just clearing.

GeneratePart ( bool isSingleWord ) : void

Generates a word/number part, updating the appropriate attributes

Has ( int flag ) : bool

Determines whether the given flag is set

InitializeInstanceFields ( ) : void
IsAlpha ( int type ) : bool

Checks if the given word type includes #ALPHA

IsDigit ( int type ) : bool

Checks if the given word type includes #DIGIT

IsSubwordDelim ( int type ) : bool

Checks if the given word type includes #SUBWORD_DELIM

IsUpper ( int type ) : bool

Checks if the given word type includes #UPPER

Position ( bool inject ) : int

Get the position increment gap for a subword or concatenation

SaveState ( ) : void

Saves the existing attribute states

ShouldConcatenate ( int wordType ) : bool

Determines whether to concatenate a word or number if the current word is the given type

ShouldGenerateParts ( int wordType ) : bool

Determines whether a word/number part should be generated for a word of the given type

메소드 상세

IncrementToken() 공개 메소드

public IncrementToken ( ) : bool
리턴 bool

Lucene47WordDelimiterFilter() 공개 메소드

Creates a new WordDelimiterFilter using WordDelimiterIterator#DEFAULT_WORD_DELIM_TABLE as its charTypeTable
public Lucene47WordDelimiterFilter ( TokenStream @in, int configurationFlags, CharArraySet protWords ) : System
@in TokenStream
configurationFlags int Flags configuring the filter
protWords CharArraySet If not null is the set of tokens to protect from being delimited
리턴 System

Lucene47WordDelimiterFilter() 공개 메소드

Creates a new WordDelimiterFilter
public Lucene47WordDelimiterFilter ( TokenStream @in, sbyte charTypeTable, int configurationFlags, CharArraySet protWords ) : System
@in TokenStream
charTypeTable sbyte table containing character types
configurationFlags int Flags configuring the filter
protWords CharArraySet If not null is the set of tokens to protect from being delimited
리턴 System

Reset() 공개 메소드

{@inheritDoc}
public Reset ( ) : void
리턴 void