Package org.aksw.qa.commons.qald
Class QALDWriter
java.lang.Object
org.aksw.qa.commons.qald.QALDWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteQALDJsonFile(List<IQuestion> questions, String fileName)Can be used to write QALD JSON files like https://github.com/ag-sc/QALD/blob/master/9/data/qald-9-train-multilingual.json.
-
Field Details
-
LOGGER
private static org.slf4j.Logger LOGGER
-
-
Constructor Details
-
QALDWriter
public QALDWriter()
-
-
Method Details
-
writeQALDJsonFile
Can be used to write QALD JSON files like https://github.com/ag-sc/QALD/blob/master/9/data/qald-9-train-multilingual.json.- Parameters:
questions- List of IQuestions that should be written to the file.fileName- The name of the file.
-