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 CharSequence
stem(CharSequence word)
Returns the base form of the provided word ornull
if the base form cannot be determined.
-
Constructor Details
-
SnowballStemmerAdapter
public SnowballStemmerAdapter(org.carrot2.language.snowball.SnowballProgram s)
-
-
Method Details