|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.analysis.ar.ArabicStemmer
public class ArabicStemmer
Stemmer for Arabic.
Stemming is done in-place for efficiency, operating on a termbuffer.
Stemming is defined as:
Field Summary | |
---|---|
static char |
ALEF
|
static char |
BEH
|
static char |
FEH
|
static char |
HEH
|
static char |
KAF
|
static char |
LAM
|
static char |
NOON
|
static char[][] |
prefixes
|
static char[][] |
suffixes
|
static char |
TEH
|
static char |
TEH_MARBUTA
|
static char |
WAW
|
static char |
YEH
|
Constructor Summary | |
---|---|
ArabicStemmer()
|
Method Summary | |
---|---|
int |
stem(char[] s,
int len)
Stem an input buffer of Arabic text. |
int |
stemPrefix(char[] s,
int len)
Stem a prefix off an Arabic word. |
int |
stemSuffix(char[] s,
int len)
Stem suffix(es) off an Arabic word. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char ALEF
public static final char BEH
public static final char TEH_MARBUTA
public static final char TEH
public static final char FEH
public static final char KAF
public static final char LAM
public static final char NOON
public static final char HEH
public static final char WAW
public static final char YEH
public static final char[][] prefixes
public static final char[][] suffixes
Constructor Detail |
---|
public ArabicStemmer()
Method Detail |
---|
public int stem(char[] s, int len)
s
- input bufferlen
- length of input buffer
public int stemPrefix(char[] s, int len)
s
- input bufferlen
- length of input buffer
public int stemSuffix(char[] s, int len)
s
- input bufferlen
- length of input buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |