Package org.apache.lucene.analysis.hu
Class HungarianLightStemmer
- java.lang.Object
-
- org.apache.lucene.analysis.hu.HungarianLightStemmer
-
public class HungarianLightStemmer extends java.lang.Object
Light 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 boolean
isVowel(char ch)
private int
normalize(char[] s, int len)
private int
removeCase(char[] s, int len)
private int
removePlural(char[] s, int len)
private int
removePossessive(char[] s, int len)
int
stem(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)
-
-