Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class RSLPStemmerBase.Step

    A step containing a list of rules.

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

    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 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.