Class RSLPStemmerBase.RuleWithSuffixExceptions

    • Constructor Summary

      Constructors 
      Constructor Description
      RuleWithSuffixExceptions​(java.lang.String suffix, int min, java.lang.String replacement, java.lang.String[] exceptions)  
    • Method Summary

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

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

      • exceptions

        protected final char[][] exceptions
    • Constructor Detail

      • RuleWithSuffixExceptions

        public RuleWithSuffixExceptions​(java.lang.String suffix,
                                        int min,
                                        java.lang.String replacement,
                                        java.lang.String[] exceptions)
    • Method Detail

      • matches

        public boolean matches​(char[] s,
                               int len)
        Overrides:
        matches in class RSLPStemmerBase.Rule
        Returns:
        true if the word matches this rule.