Package org.apache.lucene.analysis.hu
Class HungarianLightStemmer
- java.lang.Object
-
- org.apache.lucene.analysis.hu.HungarianLightStemmer
-
public class HungarianLightStemmer extends java.lang.ObjectLight Stemmer for Hungarian.This stemmer implements the "UniNE" algorithm in: Light Stemming Approaches for the French, Portuguese, German and Hungarian Languages Jacques Savoy
-
-
Constructor Summary
Constructors Constructor Description HungarianLightStemmer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleanisVowel(char ch)private intnormalize(char[] s, int len)private intremoveCase(char[] s, int len)private intremovePlural(char[] s, int len)private intremovePossessive(char[] s, int len)intstem(char[] s, int len)
-
-
-
Method Detail
-
stem
public int stem(char[] s, int len)
-
removeCase
private int removeCase(char[] s, int len)
-
removePossessive
private int removePossessive(char[] s, int len)
-
removePlural
private int removePlural(char[] s, int len)
-
normalize
private int normalize(char[] s, int len)
-
isVowel
private boolean isVowel(char ch)
-
-