public abstract class SnowballStemmer extends StemmerTermPipeline
Modifier and Type | Field and Description |
---|---|
protected static Object[] |
emptyArgs |
protected String |
language
The language that we're currently stemming in
|
protected org.tartarus.snowball.SnowballProgram |
stemmer
The actual Snowball object that does the stemming
|
protected Method |
stemMethod
The appropriate method.
|
next
Modifier | Constructor and Description |
---|---|
protected |
SnowballStemmer(String StemLanguage,
TermPipeline next)
Creates a new stemmer object for the language StemLanguage.
|
Modifier and Type | Method and Description |
---|---|
String |
stem(String term)
Stems the given term and returns the stem
|
processTerm, reset
protected org.tartarus.snowball.SnowballProgram stemmer
protected Method stemMethod
protected String language
protected static final Object[] emptyArgs
protected SnowballStemmer(String StemLanguage, TermPipeline next)
StemLanguage
- Name of the language to generate the stemmer for. Must be a valid Snowball stemmer language.next
- The next object in the term pipelineTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow