PlusLabNLP / DEGREE

Code for our NAACL-2022 paper DEGREE: A Data-Efficient Generation-Based Event Extraction Model.
Apache License 2.0
74 stars 12 forks source link

ACE-process #17

Closed joe-xj closed 1 year ago

joe-xj commented 1 year ago

Dear author: when I run 'bash script/process_ace05e.sh' it reports an error "File "preprocessing/process_ace05e.py", line 41, in convert coref_entities = doc['clusters'] KeyError: 'clusters'.“ But my data is indeed the final data that was processed by dygiepp and saved in "collated-data/default-settings/json/". Why is there a keyerror?

joe-xj commented 1 year ago

The above problem is because dygiepp has optional flags when processing data, but I didn't notice it.