C# Class Lucene.Net.Analysis.Fa.PersianNormalizer

Normalizer for Persian.

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

Normalization is defined as:

  • Normalization of various heh + hamza forms and heh goal to heh.
  • Normalization of farsi yeh and yeh barree to arabic yeh
  • Normalization of persian keheh to arabic kaf

Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Normalize ( char s, int len ) : int

Normalize an input buffer of Persian text

Method Details

Normalize() public method

Normalize an input buffer of Persian text
public Normalize ( char s, int len ) : int
s char input buffer
len int length of input buffer
return int