public class SentenceSampleStream extends FilterObjectStream<String,SentenceSample>
Reader and converts them into SentenceSample objects.
 An empty line indicates the begin of a new document.| Constructor and Description | 
|---|
| SentenceSampleStream(ObjectStream<String> sentences) | 
| Modifier and Type | Method and Description | 
|---|---|
| SentenceSample | read()Returns the next object. | 
| static String | replaceNewLineEscapeTags(String s) | 
close, resetpublic SentenceSampleStream(ObjectStream<String> sentences)
public SentenceSample read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2018 The Apache Software Foundation. All rights reserved.