public class QALDWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
dataset |
private Document |
doc |
private List<Element> |
questions |
| Constructor and Description |
|---|
QALDWriter(String dataset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private static void |
main(String[] args) |
void |
write(Answer a) |
public QALDWriter(String dataset) throws IOException, ParserConfigurationException
private static void main(String[] args) throws IOException, ParserConfigurationException, TransformerFactoryConfigurationError, TransformerException
public void close()
throws IOException,
TransformerFactoryConfigurationError,
TransformerException
public void write(Answer a) throws ParserConfigurationException, IOException
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.