Class RSLPStemmerBase.RuleWithSetExceptions

    • Constructor Detail

      • RuleWithSetExceptions

        public RuleWithSetExceptions​(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.