public class OntoNotesNameSampleStream extends FilterObjectStream<String,NameSample>
Constructor and Description |
---|
OntoNotesNameSampleStream(ObjectStream<String> samples) |
Modifier and Type | Method and Description |
---|---|
NameSample |
read()
Returns the next object.
|
close, reset
public OntoNotesNameSampleStream(ObjectStream<String> samples)
public NameSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2020 The Apache Software Foundation. All rights reserved.