Class 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
Implements
System.IDisposable
  Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Analysis.Miscellaneous
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class TruncateTokenFilter : TokenFilter, IDisposable
  Constructors
| Improve this Doc View SourceTruncateTokenFilter(TokenStream, Int32)
Declaration
public TruncateTokenFilter(TokenStream input, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TokenStream | input | |
| System.Int32 | length | 
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override sealed bool IncrementToken()
  Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Implements
      System.IDisposable