Class RSLPStemmerBase.RuleWithSuffixExceptions

    • Field Detail

      • exceptions

        protected final char[][] exceptions
    • Constructor Detail

      • RuleWithSuffixExceptions

        public RuleWithSuffixExceptions​(String suffix,
                                        int min,
                                        String replacement,
                                        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.