/// <exception cref="System.Exception"/>
        public static void ExportData(string outputPath, CorefProperties.Dataset dataset, Properties props, Dictionaries dictionaries)
        {
            CorefProperties.SetInput(props, dataset);
            string dataPath        = outputPath + "/data_raw/";
            string goldClusterPath = outputPath + "/gold/";

            IOUtils.EnsureDir(new File(outputPath));
            IOUtils.EnsureDir(new File(dataPath));
            IOUtils.EnsureDir(new File(goldClusterPath));
            new Edu.Stanford.Nlp.Coref.Neural.NeuralCorefDataExporter(props, dictionaries, dataPath + dataset.ToString().ToLower(), goldClusterPath + dataset.ToString().ToLower()).Run(props, dictionaries);
        }
 public static void SetInput(Properties props, CorefProperties.Dataset d)
 {
     props.SetProperty("coref.inputPath", d == CorefProperties.Dataset.Train ? GetTrainDataPath(props) : (d == CorefProperties.Dataset.Dev ? GetDevDataPath(props) : GetTestDataPath(props)));
 }