public class DetokenizeSentenceSampleStream extends FilterObjectStream<SentenceSample,SentenceSample>
| Constructor and Description |
|---|
DetokenizeSentenceSampleStream(Detokenizer detokenizer,
ObjectStream<SentenceSample> samples) |
| Modifier and Type | Method and Description |
|---|---|
SentenceSample |
read()
Returns the next object.
|
close, resetpublic DetokenizeSentenceSampleStream(Detokenizer detokenizer, ObjectStream<SentenceSample> samples)
public SentenceSample read() throws IOException
ObjectStreamIOException - if there is an error during readingCopyright © 2017 The Apache Software Foundation. All rights reserved.