org.apache.lucene.analysis.ja
Class StreamTagger2

java.lang.Object
  extended by 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/)


Constructor Summary
StreamTagger2(StringTagger tagger, Reader input)
          Construct a new StreamTagger2 that breaks text into words from the given Reader.
 
Method Summary
 int end()
           
 Token next()
           
 void reset()
           
 void reset(Reader input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamTagger2

public StreamTagger2(StringTagger tagger,
                     Reader input)
Construct a new StreamTagger2 that breaks text into words from the given Reader.

Method Detail

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.