org.apache.lucene.analysis.pt

Class 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 Detail

      • 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