public class SequenceDatasetWriter extends Object
SequenceExample
s
into a fileConstructor and Description |
---|
SequenceDatasetWriter(String outputFilePath) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the output file
|
void |
writeNextExample(Example e)
Write the next example into the file
|
public SequenceDatasetWriter(String outputFilePath) throws FileNotFoundException, IOException
outputFilePath
- The path of the output fileFileNotFoundException
IOException
public void close() throws IOException
IOException
public void writeNextExample(Example e) throws IOException
e
- the example to be writtenIOException
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.