zhangzx-uiuc / AMR-IE

The code repository for AMR guided joint information extraction model (NAACL-2021).
35 stars 8 forks source link

dataprocess is confusing #10

Open xiehou-design opened 1 year ago

xiehou-design commented 1 year ago

I fellow your dataprocess, but I meet some confusing questions. 1../process_amr.py file to generate .pkl files, I want to know get_amr_data("./data/ace05/train.oneie.json", "./data/ace05/train_graphs.pkl", "./data/ace05/train_amrs.pkl"), Is ./data/ace05/train.oneie.json the data of OneIE or the data processed by the transform_for_amrie.py? I find they can all be handled by ./process_amr.py. 2../config/ace05.json file exist the same questions, "train_file": "./data/ace05/train.oneie.json", "train_amr": "./data/ace05/train_graphs.pkl",, how can I set them up?