public class PersianNormalizer 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 |
FARSI_YEH |
static char |
HAMZA_ABOVE |
static char |
HEH |
static char |
HEH_GOAL |
static char |
HEH_YEH |
static char |
KAF |
static char |
KEHEH |
static char |
YEH |
static char |
YEH_BARREE |
Constructor and Description |
---|
PersianNormalizer() |
Modifier and Type | Method and Description |
---|---|
int |
normalize(char[] s,
int len)
Normalize an input buffer of Persian text
|
public static final char YEH
public static final char FARSI_YEH
public static final char YEH_BARREE
public static final char KEHEH
public static final char KAF
public static final char HAMZA_ABOVE
public static final char HEH_YEH
public static final char HEH_GOAL
public static final char HEH
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.