Package org.apache.lucene.analysis.pt
Class PortugueseLightStemmer
java.lang.Object
org.apache.lucene.analysis.pt.PortugueseLightStemmer
Light Stemmer for Portuguese
This stemmer implements the "UniNE" algorithm in: Light Stemming Approaches for the French, Portuguese, German and Hungarian Languages Jacques Savoy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int
normFeminine
(char[] s, int len) private int
removeSuffix
(char[] s, int len) int
stem
(char[] s, int len)
-
Constructor Details
-
PortugueseLightStemmer
public PortugueseLightStemmer()
-
-
Method Details
-
stem
public int stem(char[] s, int len) -
removeSuffix
private int removeSuffix(char[] s, int len) -
normFeminine
private int normFeminine(char[] s, int len)
-