Class HungarianLightStemmer


  • public class HungarianLightStemmer
    extends java.lang.Object
    Light Stemmer for Hungarian.

    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 boolean isVowel​(char ch)  
      private int normalize​(char[] s, int len)  
      private int removeCase​(char[] s, int len)  
      private int removePlural​(char[] s, int len)  
      private int removePossessive​(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

      • HungarianLightStemmer

        public HungarianLightStemmer()
    • Method Detail

      • stem

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

        private int removeCase​(char[] s,
                               int len)
      • removePossessive

        private int removePossessive​(char[] s,
                                     int len)
      • removePlural

        private int removePlural​(char[] s,
                                 int len)
      • normalize

        private int normalize​(char[] s,
                              int len)
      • isVowel

        private boolean isVowel​(char ch)