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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | List of all members
Lucene.Net.Analysis.Shingle.Codec.TwoDimensionalNonWeightedSynonymTokenSettingsCodec Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

override TokenPositioner Lucene.Net.Analysis.Shingle.Codec.TwoDimensionalNonWeightedSynonymTokenSettingsCodec.GetTokenPositioner ( Token  token)
virtual

Retrieves information on how a Token is to be inserted to a ShingleMatrixFilter.Matrix.

Parameters
token
Returns

Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.

Definition at line 29 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.

override float Lucene.Net.Analysis.Shingle.Codec.TwoDimensionalNonWeightedSynonymTokenSettingsCodec.GetWeight ( Token  token)
virtual

Have this method return 1f in order to 'disable' weights.

Parameters
token
Returns

Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.

Definition at line 40 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.

override void Lucene.Net.Analysis.Shingle.Codec.TwoDimensionalNonWeightedSynonymTokenSettingsCodec.SetTokenPositioner ( Token  token,
TokenPositioner  tokenPositioner 
)
virtual

Sets information on how a Token is to be inserted to a ShingleMatrixFilter.Matrix.

Parameters
token
tokenPositioner

Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.

Definition at line 35 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.

override void Lucene.Net.Analysis.Shingle.Codec.TwoDimensionalNonWeightedSynonymTokenSettingsCodec.SetWeight ( Token  token,
float  weight 
)
virtual

Have this method do nothing in order to 'disable' weights.

Parameters
token
weight

Implements Lucene.Net.Analysis.Shingle.Codec.TokenSettingsCodec.

Definition at line 45 of file TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs.


The documentation for this class was generated from the following file: