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