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