Package | Description |
---|---|
org.apache.lucene.analysis.shingle |
Word n-gram filters
|
Modifier and Type | Class and Description |
---|---|
static class |
ShingleMatrixFilter.OneDimensionalNonWeightedTokenSettingsCodec
Deprecated.
Using this codec makes a
ShingleMatrixFilter act like ShingleFilter . |
static class |
ShingleMatrixFilter.SimpleThreeDimensionalTokenSettingsCodec
Deprecated.
A full featured codec not to be used for something serious.
|
static class |
ShingleMatrixFilter.TwoDimensionalNonWeightedSynonymTokenSettingsCodec
Deprecated.
A codec that creates a two dimensional matrix
by treating tokens from the input stream with 0 position increment
as new rows to the current column.
|
Modifier and Type | Field and Description |
---|---|
static ShingleMatrixFilter.TokenSettingsCodec |
ShingleMatrixFilter.defaultSettingsCodec
Deprecated.
|
Constructor and Description |
---|
ShingleMatrixFilter(ShingleMatrixFilter.Matrix matrix,
int minimumShingleSize,
int maximumShingleSize,
Character spacerCharacter,
boolean ignoringSinglePrefixOrSuffixShingle,
ShingleMatrixFilter.TokenSettingsCodec settingsCodec)
Deprecated.
Creates a shingle filter based on a user defined matrix.
|
ShingleMatrixFilter(TokenStream input,
int minimumShingleSize,
int maximumShingleSize,
Character spacerCharacter,
boolean ignoringSinglePrefixOrSuffixShingle,
ShingleMatrixFilter.TokenSettingsCodec settingsCodec)
Deprecated.
Creates a shingle filter with ad hoc parameter settings.
|