public class ArabicNormalizer extends Object
Normalization is done in-place for efficiency, operating on a termbuffer.
Normalization is defined as:
Modifier and Type | Field and Description |
---|---|
static char |
ALEF |
static char |
ALEF_HAMZA_ABOVE |
static char |
ALEF_HAMZA_BELOW |
static char |
ALEF_MADDA |
static char |
DAMMA |
static char |
DAMMATAN |
static char |
DOTLESS_YEH |
static char |
FATHA |
static char |
FATHATAN |
static char |
HEH |
static char |
KASRA |
static char |
KASRATAN |
static char |
SHADDA |
static char |
SUKUN |
static char |
TATWEEL |
static char |
TEH_MARBUTA |
static char |
YEH |
Constructor and Description |
---|
ArabicNormalizer() |
Modifier and Type | Method and Description |
---|---|
int |
normalize(char[] s,
int len)
Normalize an input buffer of Arabic text
|
public static final char ALEF
public static final char ALEF_MADDA
public static final char ALEF_HAMZA_ABOVE
public static final char ALEF_HAMZA_BELOW
public static final char YEH
public static final char DOTLESS_YEH
public static final char TEH_MARBUTA
public static final char HEH
public static final char TATWEEL
public static final char FATHATAN
public static final char DAMMATAN
public static final char KASRATAN
public static final char FATHA
public static final char DAMMA
public static final char KASRA
public static final char SHADDA
public static final char SUKUN
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.