Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class RSLPStemmerBase.Step

    A step containing a list of rules.

    Inheritance
    object
    RSLPStemmerBase.Step
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.Pt
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    protected class RSLPStemmerBase.Step

    Constructors

    Step(string, Rule[], int, string[])

    Create a new step

    Declaration
    public Step(string name, RSLPStemmerBase.Rule[] rules, int min, string[] suffixes)
    Parameters
    Type Name Description
    string name

    Step's name.

    Rule[] rules

    an ordered list of rules.

    int min

    minimum word size. if this is 0 it is automatically calculated.

    string[] suffixes

    optional list of conditional suffixes. may be null.

    Fields

    m_min

    A step containing a list of rules.

    Declaration
    protected readonly int m_min
    Field Value
    Type Description
    int

    m_name

    A step containing a list of rules.

    Declaration
    protected readonly string m_name
    Field Value
    Type Description
    string

    m_rules

    A step containing a list of rules.

    Declaration
    protected readonly RSLPStemmerBase.Rule[] m_rules
    Field Value
    Type Description
    Rule[]

    m_suffixes

    A step containing a list of rules.

    Declaration
    protected readonly char[][] m_suffixes
    Field Value
    Type Description
    char[][]

    Methods

    Apply(char[], int)

    A step containing a list of rules.

    Declaration
    public virtual int Apply(char[] s, int len)
    Parameters
    Type Name Description
    char[] s
    int len
    Returns
    Type Description
    int

    new valid length of the string after applying the entire step.

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.