Show / Hide Table of Contents

    Class ArabicStemmer

    Stemmer for Arabic.

    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
    System.Object
    ArabicStemmer
    Namespace: Lucene.Net.Analysis.Ar
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class ArabicStemmer : object

    Fields

    | Improve this Doc View Source

    ALEF

    Declaration
    public const char ALEF = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    BEH

    Declaration
    public const char BEH = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    FEH

    Declaration
    public const char FEH = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    HEH

    Declaration
    public const char HEH = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    KAF

    Declaration
    public const char KAF = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    LAM

    Declaration
    public const char LAM = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    NOON

    Declaration
    public const char NOON = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    prefixes

    Declaration
    public static readonly char[][] prefixes
    Field Value
    Type Description
    System.Char[][]
    | Improve this Doc View Source

    suffixes

    Declaration
    public static readonly char[][] suffixes
    Field Value
    Type Description
    System.Char[][]
    | Improve this Doc View Source

    TEH

    Declaration
    public const char TEH = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    TEH_MARBUTA

    Declaration
    public const char TEH_MARBUTA = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    WAW

    Declaration
    public const char WAW = null
    Field Value
    Type Description
    System.Char
    | Improve this Doc View Source

    YEH

    Declaration
    public const char YEH = null
    Field Value
    Type Description
    System.Char

    Methods

    | Improve this Doc View Source

    Stem(Char[], Int32)

    Stem an input buffer of Arabic text.

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

    input buffer

    System.Int32 len

    length of input buffer

    Returns
    Type Description
    System.Int32

    length of input buffer after normalization

    | Improve this Doc View Source

    StemPrefix(Char[], Int32)

    Stem a prefix off an Arabic word.

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

    input buffer

    System.Int32 len

    length of input buffer

    Returns
    Type Description
    System.Int32

    new length of input buffer after stemming.

    | Improve this Doc View Source

    StemSuffix(Char[], Int32)

    Stem suffix(es) off an Arabic word.

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

    input buffer

    System.Int32 len

    length of input buffer

    Returns
    Type Description
    System.Int32

    new length of input buffer after stemming

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