Class LatvianStemmer
Light stemmer for Latvian.
This is a light version of the algorithm in Karlis Kreslin's PhD thesis
A stemming algorithm for Latvian with the following modifications:
- Only explicitly stems noun and adjective morphology
- Stricter length/vowel checks for the resulting stems (verb etc suffix stripping is removed)
- Removes only the primary inflectional suffixes: case and number for nouns ; case, number, gender, and definitiveness for adjectives.
- Palatalization is only handled when a declension II,V,VI noun suffix is removed.
Inheritance
System.Object
    LatvianStemmer
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Analysis.Lv
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class LatvianStemmerMethods
| Improve this Doc View SourceStem(Char[], Int32)
Stem a latvian word. returns the new adjusted length.
Declaration
public virtual int Stem(char[] s, int len)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | s | |
| System.Int32 | len | 
Returns
| Type | Description | 
|---|---|
| System.Int32 |