Class RSLPStemmerBase.Step

    • Constructor Detail

      • Step

        public Step(String name,
                    RSLPStemmerBase.Rule[] rules,
                    int min,
                    String[] suffixes)
        Create a new step
        name - Step's name.
        rules - an ordered list of rules.
        min - minimum word size. if this is 0 it is automatically calculated.
        suffixes - optional list of conditional suffixes. may be null.
    • Method Detail

      • apply

        public int apply(char[] s,
                         int len)
        new valid length of the string after applying the entire step.