public class SnowballFilter extends TokenFilter
net.sf.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".input| Constructor and Description |
|---|
SnowballFilter(TokenStream in,
String name)
Construct the named stemming filter.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
next()
Returns the next input Token, after being stemmed
|
closepublic SnowballFilter(TokenStream in, String name)
in - the input tokens to stemname - the name of a stemmerpublic final Token next() throws IOException
next in class TokenStreamIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.