Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class PersianStemmer

    Stemmer for Persian.

    Stemming is done in-place for efficiency, operating on a termbuffer.

    Stemming is defined as:
    • Removal of attached definite article, conjunction, and prepositions.
    • Stemming of common suffixes.
    Inheritance
    object
    PersianStemmer
    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.Fa
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class PersianStemmer

    Methods

    Stem(char[], int)

    Stem an input buffer of Persian text.

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

    input buffer

    int len

    length of input buffer

    Returns
    Type Description
    int

    length of input buffer after normalization

    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.