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, resetpublic ConllXPOSSampleStream(ObjectStream<String> lineStream)
public ConllXPOSSampleStream(InputStreamFactory in, Charset charset) throws IOException
IOExceptionpublic POSSample read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.