public class QALDWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
QALDWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeQALDJsonFile(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.
|
public void writeQALDJsonFile(List<IQuestion> questions, String fileName)
questions - List of IQuestions that should be written to the file.fileName - The name of the file. (without the file name extension)Copyright © 2016–2019. All rights reserved.