Package org.apache.lucene.analysis.pt
Class PortugueseStemmer
java.lang.Object
org.apache.lucene.analysis.pt.RSLPStemmerBase
org.apache.lucene.analysis.pt.PortugueseStemmer
Portuguese stemmer implementing the RSLP (Removedor de Sufixos da Lingua Portuguesa) algorithm.
This is sometimes also referred to as the Orengo stemmer.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.analysis.pt.RSLPStemmerBase
RSLPStemmerBase.Rule, RSLPStemmerBase.RuleWithSetExceptions, RSLPStemmerBase.RuleWithSuffixExceptions, RSLPStemmerBase.Step
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final RSLPStemmerBase.Step
private static final RSLPStemmerBase.Step
private static final RSLPStemmerBase.Step
private static final RSLPStemmerBase.Step
private static final RSLPStemmerBase.Step
private static final RSLPStemmerBase.Step
private static final RSLPStemmerBase.Step
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.analysis.pt.RSLPStemmerBase
parse
-
Field Details
-
plural
-
feminine
-
adverb
-
augmentative
-
noun
-
verb
-
vowel
-
-
Constructor Details
-
PortugueseStemmer
public PortugueseStemmer()
-
-
Method Details
-
stem
public int stem(char[] s, int len) - Parameters:
s
- buffer, oversized to at leastlen+1
len
- initial valid length of buffer- Returns:
- new valid length, stemmed
-