Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class LatvianStemmer

    Light stemmer for Latvian.

    This is a light version of the algorithm in Karlis Kreslin's PhD thesis A stemming algorithm for Latvian with the following modifications:

    • Only explicitly stems noun and adjective morphology
    • Stricter length/vowel checks for the resulting stems (verb etc suffix stripping is removed)
    • Removes only the primary inflectional suffixes: case and number for nouns ; case, number, gender, and definitiveness for adjectives.
    • Palatalization is only handled when a declension II,V,VI noun suffix is removed.
    Inheritance
    object
    LatvianStemmer
    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.Lv
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class LatvianStemmer

    Methods

    Stem(char[], int)

    Stem a latvian word. returns the new adjusted length.

    Declaration
    public virtual int Stem(char[] s, int len)
    Parameters
    Type Name Description
    char[] s
    int len
    Returns
    Type Description
    int
    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.