public abstract class AbstractToSentenceSampleStream<T> extends FilterObjectStream<T,SentenceSample>
samples| Modifier and Type | Method and Description |
|---|---|
SentenceSample |
read()
Returns the next object.
|
protected abstract String[] |
toSentence(T sample) |
close, resetpublic SentenceSample read() throws IOException
ObjectStreamIOExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.