MCPcopy Create free account
hub / github.com/RingBDStack/GDAP / DyIEPP_ace2005_file_tuple

Function DyIEPP_ace2005_file_tuple

data_convert/task_format/event_extraction.py:115–127  ·  view source on GitHub ↗
(output_folder)

Source from the content-addressed store, hash-verified

113
114
115def DyIEPP_ace2005_file_tuple(output_folder):
116 if not os.path.exists(output_folder):
117 os.makedirs(output_folder, exist_ok=True)
118
119 conll_2012_folder = "data/raw_data/dyiepp_ace2005"
120
121 file_tuple = [
122 (conll_2012_folder + "/train.json", output_folder + '/train'),
123 (conll_2012_folder + "/dev.json", output_folder + '/val'),
124 (conll_2012_folder + "/test.json", output_folder + '/test'),
125 ]
126
127 return file_tuple
128
129
130

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected