Package org.carrot2.language
Class SnowballStemmerAdapter
java.lang.Object
org.carrot2.language.SnowballStemmerAdapter
- All Implemented Interfaces:
Stemmer
public final class SnowballStemmerAdapter extends Object implements Stemmer
An adapter converting Snowball programs into
Stemmer interface.-
Constructor Summary
Constructors Constructor Description SnowballStemmerAdapter(org.carrot2.language.snowball.SnowballProgram s) -
Method Summary
Modifier and Type Method Description CharSequencestem(CharSequence word)Returns the base form of the provided word ornullif the base form cannot be determined.
-
Constructor Details
-
SnowballStemmerAdapter
public SnowballStemmerAdapter(org.carrot2.language.snowball.SnowballProgram s)
-
-
Method Details