Show / Hide Table of Contents

    Class RSLPStemmerBase.Step

    A step containing a list of rules.

    Inheritance
    System.Object
    RSLPStemmerBase.Step
    Namespace: Lucene.Net.Analysis.Pt
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    protected class Step : object

    Constructors

    | Improve this Doc View Source

    Step(String, RSLPStemmerBase.Rule[], Int32, String[])

    Create a new step

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

    Step's name.

    RSLPStemmerBase.Rule[] rules

    an ordered list of rules.

    System.Int32 min

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

    System.String[] suffixes

    optional list of conditional suffixes. may be null.

    Fields

    | Improve this Doc View Source

    m_min

    Declaration
    protected readonly int m_min
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_name

    Declaration
    protected readonly string m_name
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    m_rules

    Declaration
    protected readonly RSLPStemmerBase.Rule[] m_rules
    Field Value
    Type Description
    RSLPStemmerBase.Rule[]
    | Improve this Doc View Source

    m_suffixes

    Declaration
    protected readonly char[][] m_suffixes
    Field Value
    Type Description
    System.Char[][]

    Methods

    | Improve this Doc View Source

    Apply(Char[], Int32)

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

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

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)