public class SentenceSampleStream extends FilterObjectStream<java.lang.String,SentenceSample>
Reader and converts them into SentenceSample objects.
An empty line indicates the begin of a new document.| Constructor and Description |
|---|
SentenceSampleStream(ObjectStream<java.lang.String> sentences) |
| Modifier and Type | Method and Description |
|---|---|
SentenceSample |
read()
Returns the next object.
|
static java.lang.String |
replaceNewLineEscapeTags(java.lang.String s) |
close, resetpublic SentenceSampleStream(ObjectStream<java.lang.String> sentences)
public static java.lang.String replaceNewLineEscapeTags(java.lang.String s)
public SentenceSample read() throws java.io.IOException
ObjectStreamjava.io.IOException - if there is an error during readingCopyright © 2010 - 2019 Adobe. All Rights Reserved