Class RSLPStemmerBase.RuleWithSetExceptions

    • Field Detail

      • exceptions

        protected final org.apache.lucene.analysis.CharArraySet exceptions
    • 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.