|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.TokenFilter
edu.mayo.informatics.indexer.lucene.filters.SnowballFilter
public final class SnowballFilter
Normalizes token text with Snowball Stemmer - optionally keeping the origional terms.
Field Summary |
---|
Fields inherited from class org.apache.lucene.analysis.TokenFilter |
---|
input |
Constructor Summary | |
---|---|
SnowballFilter(java.lang.String snowballName,
org.apache.lucene.analysis.TokenStream in,
boolean keepOrigionalToken)
|
Method Summary | |
---|---|
org.apache.lucene.analysis.Token |
next()
This implementation calls stem on every term, and then adds stems's results to the position of the term. |
Methods inherited from class org.apache.lucene.analysis.TokenFilter |
---|
close, reset |
Methods inherited from class org.apache.lucene.analysis.TokenStream |
---|
next |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SnowballFilter(java.lang.String snowballName, org.apache.lucene.analysis.TokenStream in, boolean keepOrigionalToken)
Method Detail |
---|
public final org.apache.lucene.analysis.Token next() throws java.io.IOException
next
in class org.apache.lucene.analysis.TokenStream
java.io.IOException
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |