public class ChunkSampleStream extends FilterObjectStream<java.lang.String,ChunkSample>
Data format is specified on the conll page:
http://www.cnts.ua.ac.be/conll2000/chunking/
| Constructor and Description |
|---|
ChunkSampleStream(ObjectStream<java.lang.String> samples)
Initializes the current instance.
|
| Modifier and Type | Method and Description |
|---|---|
ChunkSample |
read()
Returns the next object.
|
close, resetpublic ChunkSampleStream(ObjectStream<java.lang.String> samples)
samples - a plain text line streampublic ChunkSample read() throws java.io.IOException
ObjectStreamjava.io.IOException - if there is an error during readingCopyright © 2010 - 2023 Adobe. All Rights Reserved