public class SentenceSampleStream extends FilterObjectStream<String,SentenceSample>
Reader
and converts them into SentenceSample
objects.samples
Constructor and Description |
---|
SentenceSampleStream(ObjectStream<String> sentences) |
Modifier and Type | Method and Description |
---|---|
SentenceSample |
read()
Returns the next object.
|
close, reset
public SentenceSampleStream(ObjectStream<String> sentences)
public SentenceSample read() throws IOException
ObjectStream
IOException
Copyright © 2019 The Apache Software Foundation. All rights reserved.