Class PortugueseLightStemmer


  • public class PortugueseLightStemmer
    extends java.lang.Object
    Light Stemmer for Portuguese

    This stemmer implements the "UniNE" algorithm in: Light Stemming Approaches for the French, Portuguese, German and Hungarian Languages Jacques Savoy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int normFeminine​(char[] s, int len)  
      private int removeSuffix​(char[] s, int len)  
      int stem​(char[] s, int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortugueseLightStemmer

        public PortugueseLightStemmer()
    • Method Detail

      • stem

        public int stem​(char[] s,
                        int len)
      • removeSuffix

        private int removeSuffix​(char[] s,
                                 int len)
      • normFeminine

        private int normFeminine​(char[] s,
                                 int len)