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, reset
public ConlluTokenSampleStream(ObjectStream<ConlluSentence> samples)
public TokenSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.