Class BengaliNormalizer


  • public class BengaliNormalizer
    extends java.lang.Object
    Normalizer for Bengali.

    Implements the Bengali-language specific algorithm specified in: A Double Metaphone encoding for Bangla and its application in spelling checker Naushad UzZaman and Mumit Khan. http://www.panl10n.net/english/final%20reports/pdf%20files/Bangladesh/BAN16.pdf

    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BengaliNormalizer

        public BengaliNormalizer()
    • Method Detail

      • normalize

        public int normalize​(char[] s,
                             int len)
        Normalize an input buffer of Bengali text
        Parameters:
        s - input buffer
        len - length of input buffer
        Returns:
        length of input buffer after normalization