C# Class Lucene.Net.Analysis.Miscellaneous.TruncateTokenFilter

A token filter for truncating the terms into a specific length. Fixed prefix truncation, as a stemming method, produces good results on Turkish language. It is reported that F5, using first 5 characters, produced best results in Information Retrieval on Turkish Texts
Inheritance: TokenFilter
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
IncrementToken ( ) : bool
TruncateTokenFilter ( TokenStream input, int length ) : Lucene.Net.Analysis.Tokenattributes

Method Details

IncrementToken() public method

public IncrementToken ( ) : bool
return bool

TruncateTokenFilter() public method

public TruncateTokenFilter ( TokenStream input, int length ) : Lucene.Net.Analysis.Tokenattributes
input TokenStream
length int
return Lucene.Net.Analysis.Tokenattributes