org.apache.lucene.analysis.pt
Class PortugueseStemmer
java.lang.Object
org.apache.lucene.analysis.pt.RSLPStemmerBase
org.apache.lucene.analysis.pt.PortugueseStemmer
public class PortugueseStemmer
- extends RSLPStemmerBase
Portuguese stemmer implementing the RSLP (Removedor de Sufixos da Lingua Portuguesa)
algorithm. This is sometimes also referred to as the Orengo stemmer.
- See Also:
RSLPStemmerBase
Method Summary |
int |
stem(char[] s,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortugueseStemmer
public PortugueseStemmer()
stem
public int stem(char[] s,
int len)
- Parameters:
s
- buffer, oversized to at least len+1
len
- initial valid length of buffer
- Returns:
- new valid length, stemmed