public class ChunkSampleStream extends FilterObjectStream<String,ChunkSample>
Data format is specified on the conll page:
http://www.cnts.ua.ac.be/conll2000/chunking/
| Constructor and Description |
|---|
ChunkSampleStream(ObjectStream<String> samples)
Initializes the current instance.
|
| Modifier and Type | Method and Description |
|---|---|
ChunkSample |
read()
Returns the next object.
|
close, resetpublic ChunkSampleStream(ObjectStream<String> samples)
samples - a plain text line streampublic ChunkSample read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.