org.apache.lucene.analysis.lv
Class LatvianStemmer

java.lang.Object
  extended by org.apache.lucene.analysis.lv.LatvianStemmer

public class LatvianStemmer
extends Object

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:


Constructor Summary
LatvianStemmer()
           
 
Method Summary
 int stem(char[] s, int len)
          Stem a latvian word.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatvianStemmer

public LatvianStemmer()
Method Detail

stem

public int stem(char[] s,
                int len)
Stem a latvian word. returns the new adjusted length.



Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.