public final class WordTokenFilter
extends org.apache.lucene.analysis.TokenFilter
TokenFilter
that breaks sentences into words.Constructor and Description |
---|
WordTokenFilter(org.apache.lucene.analysis.TokenStream in)
Construct a new WordTokenizer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public WordTokenFilter(org.apache.lucene.analysis.TokenStream in)
in
- TokenStream
of sentencespublic boolean incrementToken() throws java.io.IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
java.io.IOException
public void reset() throws java.io.IOException
reset
in class org.apache.lucene.analysis.TokenFilter
java.io.IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.