public class ConllXPOSSampleStream extends FilterObjectStream<String,POSSample>
More information about the data format can be found here:
http://www.cnts.ua.ac.be/conll2006/
Note: Do not use this class, internal use only!
Constructor and Description |
---|
ConllXPOSSampleStream(InputStreamFactory in,
Charset charset) |
ConllXPOSSampleStream(ObjectStream<String> lineStream) |
Modifier and Type | Method and Description |
---|---|
POSSample |
read()
Returns the next object.
|
close, reset
public ConllXPOSSampleStream(ObjectStream<String> lineStream)
public ConllXPOSSampleStream(InputStreamFactory in, Charset charset) throws IOException
IOException
public POSSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2018 The Apache Software Foundation. All rights reserved.