public class ConlluTokenSampleStream extends FilterObjectStream<ConlluSentence,TokenSample>
| Constructor and Description |
|---|
ConlluTokenSampleStream(ObjectStream<ConlluSentence> samples) |
| Modifier and Type | Method and Description |
|---|---|
TokenSample |
read()
Returns the next object.
|
close, resetpublic ConlluTokenSampleStream(ObjectStream<ConlluSentence> samples)
public TokenSample read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2020 The Apache Software Foundation. All rights reserved.