org.cogroo.formats.ad
Class ADChunkBasedHeadFinderSampleStream

java.lang.Object
  extended by org.cogroo.formats.ad.ADChunk2SampleStream
      extended by org.cogroo.formats.ad.ADChunkBasedHeadFinderSampleStream
All Implemented Interfaces:
opennlp.tools.util.ObjectStream<opennlp.tools.chunker.ChunkSample>

public class ADChunkBasedHeadFinderSampleStream
extends ADChunk2SampleStream


Field Summary
 
Fields inherited from class org.cogroo.formats.ad.ADChunk2SampleStream
OTHER
 
Constructor Summary
ADChunkBasedHeadFinderSampleStream(InputStream in, String charsetName)
           
ADChunkBasedHeadFinderSampleStream(opennlp.tools.util.ObjectStream<String> lineStream)
           
 
Method Summary
 opennlp.tools.chunker.ChunkSample read()
           
 
Methods inherited from class org.cogroo.formats.ad.ADChunk2SampleStream
close, convertFuncTag, reset, setEnd, setStart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADChunkBasedHeadFinderSampleStream

public ADChunkBasedHeadFinderSampleStream(InputStream in,
                                          String charsetName)

ADChunkBasedHeadFinderSampleStream

public ADChunkBasedHeadFinderSampleStream(opennlp.tools.util.ObjectStream<String> lineStream)
Method Detail

read

public opennlp.tools.chunker.ChunkSample read()
                                       throws IOException
Specified by:
read in interface opennlp.tools.util.ObjectStream<opennlp.tools.chunker.ChunkSample>
Overrides:
read in class ADChunk2SampleStream
Throws:
IOException


Copyright © 2012-2013 CoGrOO. All Rights Reserved.