public class BulgarianStemmer
extends java.lang.Object
Implements the algorithm described in: Searching Strategies for the Bulgarian Language http://members.unine.ch/jacques.savoy/Papers/BUIR.pdf
| Constructor and Description |
|---|
BulgarianStemmer() |
| Modifier and Type | Method and Description |
|---|---|
private int |
removeArticle(char[] s,
int len)
Mainly remove the definite article
|
private int |
removePlural(char[] s,
int len) |
int |
stem(char[] s,
int len)
Stem an input buffer of Bulgarian text.
|
public int stem(char[] s,
int len)
s - input bufferlen - length of input bufferprivate int removeArticle(char[] s,
int len)
s - input bufferlen - length of input bufferprivate int removePlural(char[] s,
int len)