public class SequenceDatasetWriter extends Object
SequenceExamples
into a file| Constructor 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 fileFileNotFoundExceptionIOExceptionpublic void close()
throws IOException
IOExceptionpublic void writeNextExample(Example e) throws IOException
e - the example to be writtenIOExceptionCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.