Package org.apache.lucene.analysis.id
Class IndonesianStemmer
java.lang.Object
org.apache.lucene.analysis.id.IndonesianStemmer
Stemmer for Indonesian.
Stems Indonesian words with the algorithm presented in: A Study of Stemming Effects on Information Retrieval in Bahasa Indonesia, Fadillah Z Tala. http://www.illc.uva.nl/Publications/ResearchReports/MoL-2003-02.text.pdf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
stem
(char[] text, int length, boolean stemDerivational) Stem a term (returning its new length).
-
Constructor Details
-
IndonesianStemmer
public IndonesianStemmer()
-
-
Method Details
-
stem
public int stem(char[] text, int length, boolean stemDerivational) Stem a term (returning its new length).Use
stemDerivational
to control whether full stemming or only light inflectional stemming is done.
-