Class RussianLetterTokenizer
A RussianLetterTokenizer is a Tokenizer that extends LetterTokenizer by also allowing the basic Latin digits 0-9.
You must specify the required LuceneVersion compatibility when creating RussianLetterTokenizer:
- As of 3.1, CharTokenizer uses an int based API to normalize and detect token characters. See IsTokenChar(Int32) and Normalize(Int32) for details.
 
Inheritance
System.Object
    
    
    
    
    RussianLetterTokenizer
  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.Ru
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Obsolete("(3.1) Use StandardTokenizer instead, which has the same functionality.")]
public class RussianLetterTokenizer : CharTokenizer, IDisposable
  Constructors
| Improve this Doc View SourceRussianLetterTokenizer(LuceneVersion, AttributeSource.AttributeFactory, TextReader)
Construct a new RussianLetterTokenizer using a given AttributeSource.AttributeFactory.
Declaration
public RussianLetterTokenizer(LuceneVersion matchVersion, AttributeSource.AttributeFactory factory, TextReader in)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LuceneVersion | matchVersion | lucene compatibility version  | 
      
| AttributeSource.AttributeFactory | factory | the attribute factory to use for this Tokenizer  | 
      
| System.IO.TextReader | in | the input to split up into tokens  | 
      
RussianLetterTokenizer(LuceneVersion, TextReader)
Construct a new RussianLetterTokenizer.
Declaration
public RussianLetterTokenizer(LuceneVersion matchVersion, TextReader in)
  Parameters
| Type | Name | Description | 
|---|---|---|
| LuceneVersion | matchVersion | lucene compatibility version  | 
      
| System.IO.TextReader | in | the input to split up into tokens  | 
      
Methods
| Improve this Doc View SourceIsTokenChar(Int32)
Collects only characters which satisfy IsLetter(Int32).
Declaration
protected override bool IsTokenChar(int c)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | c | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Implements
      System.IDisposable