Class PersianNormalizer


  • public class PersianNormalizer
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int normalize​(char[] s, int len)
      Normalize an input buffer of Persian text
      • Methods inherited from class java.lang.Object

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