public class SequenceDatasetReader extends Object
SequenceExamples from a
file| Constructor and Description |
|---|
SequenceDatasetReader(String filename) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reading buffer
|
SequenceExample |
readNextExample()
Returns the next example
|
void |
restartReading()
Resets the reading such that the next example will be the first one
|
public SequenceDatasetReader(String filename) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic SequenceExample readNextExample() throws IOException, InstantiationException, ParsingExampleException
IOExceptionInstantiationExceptionParsingExampleExceptionpublic void restartReading()
throws IOException
IOExceptionCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.