public final class GosenPartOfSpeechKeepFilter
extends org.apache.lucene.analysis.util.FilteringTokenFilter
This is the inverse of GosenPartOfSpeechStopFilter.
| Constructor and Description |
|---|
GosenPartOfSpeechKeepFilter(org.apache.lucene.analysis.TokenStream input,
Set<String> keepTags) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept() |
end, incrementToken, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringprotected boolean accept()
throws IOException
accept in class org.apache.lucene.analysis.util.FilteringTokenFilterIOException