public class ConllXPOSSampleStream extends FilterObjectStream<java.lang.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,
java.nio.charset.Charset charset) |
ConllXPOSSampleStream(ObjectStream<java.lang.String> lineStream) |
| Modifier and Type | Method and Description |
|---|---|
POSSample |
read()
Returns the next object.
|
close, resetpublic ConllXPOSSampleStream(ObjectStream<java.lang.String> lineStream)
public ConllXPOSSampleStream(InputStreamFactory in, java.nio.charset.Charset charset) throws java.io.IOException
java.io.IOExceptionpublic POSSample read() throws java.io.IOException
ObjectStreamjava.io.IOException - if there is an error during readingCopyright © 2010 - 2020 Adobe. All Rights Reserved