Свойство | Type | Description | |
---|---|---|---|
Concatenate | void | ||
FlushConcatenation | bool | ||
GeneratePart | void | ||
Has | bool | ||
InitializeInstanceFields | void | ||
IsAlpha | bool | ||
IsDigit | bool | ||
IsSubwordDelim | bool | ||
IsUpper | bool | ||
Position | int | ||
SaveState | void | ||
ShouldConcatenate | bool | ||
ShouldGenerateParts | bool | ||
buffer | void |
Méthode | Description | |
---|---|---|
IncrementToken ( ) : bool | ||
Reset ( ) : void | ||
WordDelimiterFilter ( LuceneVersion matchVersion, TokenStream @in, int configurationFlags, CharArraySet protWords ) : Lucene.Net.Analysis.Tokenattributes |
Creates a new WordDelimiterFilter using WordDelimiterIterator#DEFAULT_WORD_DELIM_TABLE as its charTypeTable
|
|
WordDelimiterFilter ( LuceneVersion matchVersion, TokenStream @in, sbyte charTypeTable, int configurationFlags, CharArraySet protWords ) : Lucene.Net.Analysis.Tokenattributes |
Creates a new WordDelimiterFilter
|
Méthode | Description | |
---|---|---|
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
|
|
buffer ( ) : void |
public WordDelimiterFilter ( LuceneVersion matchVersion, TokenStream @in, int configurationFlags, CharArraySet protWords ) : Lucene.Net.Analysis.Tokenattributes | ||
matchVersion | LuceneVersion | |
@in | TokenStream | |
configurationFlags | int | Flags configuring the filter |
protWords | CharArraySet | If not null is the set of tokens to protect from being delimited |
Résultat | Lucene.Net.Analysis.Tokenattributes |
public WordDelimiterFilter ( LuceneVersion matchVersion, TokenStream @in, sbyte charTypeTable, int configurationFlags, CharArraySet protWords ) : Lucene.Net.Analysis.Tokenattributes | ||
matchVersion | LuceneVersion | |
@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 |
Résultat | Lucene.Net.Analysis.Tokenattributes |