public class SnowballFilter extends TokenFilter
org.tartarus.snowball.ext.input| Constructor and Description |
|---|
SnowballFilter(TokenStream input,
SnowballProgram stemmer) |
SnowballFilter(TokenStream in,
String name)
Construct the named stemming filter.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
next(Token reusableToken)
Returns the next input Token, after being stemmed
|
close, resetnextpublic SnowballFilter(TokenStream input, SnowballProgram stemmer)
public SnowballFilter(TokenStream in, String name)
org.tartarus.snowball.ext.
The name of a stemmer is the part of the class name before "Stemmer",
e.g., the stemmer in EnglishStemmer is named "English".in - the input tokens to stemname - the name of a stemmerpublic final Token next(Token reusableToken) throws IOException
next in class TokenStreamIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.