org.cogroo.formats.ad
Class ADChunkBasedHeadFinderSampleStream
java.lang.Object
org.cogroo.formats.ad.ADChunk2SampleStream
org.cogroo.formats.ad.ADChunkBasedHeadFinderSampleStream
- All Implemented Interfaces:
- opennlp.tools.util.ObjectStream<opennlp.tools.chunker.ChunkSample>
public class ADChunkBasedHeadFinderSampleStream
- extends ADChunk2SampleStream
Method Summary |
opennlp.tools.chunker.ChunkSample |
read()
|
ADChunkBasedHeadFinderSampleStream
public ADChunkBasedHeadFinderSampleStream(InputStream in,
String charsetName)
ADChunkBasedHeadFinderSampleStream
public ADChunkBasedHeadFinderSampleStream(opennlp.tools.util.ObjectStream<String> lineStream)
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.