Class PersianNormalizer

java.lang.Object
org.apache.lucene.analysis.fa.PersianNormalizer

class PersianNormalizer extends Object
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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
    (package private) static final char
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) int
    normalize(char[] s, int len)
    Normalize an input buffer of Persian text

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait