![]() |
Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
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. More...
Inherits Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.
Public Member Functions | |
override TokenPositioner | GetTokenPositioner (Token token) |
Retrieves information on how a Token is to be inserted to a ShingleMatrixFilter.Matrix. | |
override void | SetTokenPositioner (Token token, TokenPositioner tokenPositioner) |
Sets information on how a Token is to be inserted to a ShingleMatrixFilter.Matrix. | |
override float | GetWeight (Token token) |
Have this method return 1f in order to 'disable' weights. | |
override void | SetWeight (Token token, float weight) |
Have this method do nothing in order to 'disable' weights. | |
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.
Definition at line 27 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.
|
virtual |
Retrieves information on how a Token is to be inserted to a ShingleMatrixFilter.Matrix.
token |
Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.
Definition at line 29 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.
|
virtual |
Have this method return 1f in order to 'disable' weights.
token |
Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.
Definition at line 40 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.
|
virtual |
Sets information on how a Token is to be inserted to a ShingleMatrixFilter.Matrix.
token | |
tokenPositioner |
Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.
Definition at line 35 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.
|
virtual |
Have this method do nothing in order to 'disable' weights.
token | |
weight |
Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.
Definition at line 45 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.