org.apache.lucene.analysis.ja
Class StreamTagger2
java.lang.Object
org.apache.lucene.analysis.ja.StreamTagger2
public final class StreamTagger2
- extends Object
Breaks text into sentences according to UAX #29: Unicode Text Segmentation
(http://www.unicode.org/reports/tr29/)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamTagger2
public StreamTagger2(StringTagger tagger,
Reader input)
- Construct a new StreamTagger2 that breaks text into words from the given Reader.
next
public Token next()
throws IOException
- Throws:
IOException
reset
public void reset()
throws IOException
- Throws:
IOException
reset
public void reset(Reader input)
throws IOException
- Throws:
IOException
end
public int end()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.