C# Class Lucene.Net.Analysis.AR.ArabicStemmer

Show file Open project: synhershko/lucene.net Class Usage Examples

Public Properties

Property Type Description
prefixes char[][]
suffixes char[][]

Public Methods

Method Description
Stem ( char s, int len ) : int
StemPrefix ( char s, int len ) : int
StemSuffix ( char s, int len ) : int

Protected Methods

Method Description
Delete ( char s, int pos, int len ) : int
DeleteN ( char s, int pos, int len, int nChars ) : int

Private Methods

Method Description
EndsWith ( char s, int len, char suffix ) : bool
StartsWith ( char s, int len, char prefix ) : bool

Method Details

Delete() protected method

protected Delete ( char s, int pos, int len ) : int
s char Input Buffer
pos int Position of character to delete
len int length of input buffer
return int

DeleteN() protected method

protected DeleteN ( char s, int pos, int len, int nChars ) : int
s char Input Buffer
pos int Position of character to delete
len int Length of input buffer
nChars int number of characters to delete
return int

Stem() public method

public Stem ( char s, int len ) : int
s char input buffer
len int length of input buffer
return int

StemPrefix() public method

public StemPrefix ( char s, int len ) : int
s char input buffer
len int length of input buffer
return int

StemSuffix() public method

public StemSuffix ( char s, int len ) : int
s char input buffer
len int length of input buffer
return int

Property Details

prefixes public static property

public static char[][] prefixes
return char[][]

suffixes public static property

public static char[][] suffixes
return char[][]