Date: April 15nd, 2022
Title: Code for Paper: [A KNOWLEDGE/DATA ENHANCED METHOD FOR JOINT EVENT AND TEMPORAL RELATION EXTRACTION]
The TB-Dense and MATRES raw data files are saved in data fold. Download any other necessary files into other/ folder.
Before the experiment, modify the configuration file to your own path
Data processinng. run python addcommonsense_featurized_dataall*.py first,the folder all_joint/ are created
Featurize data. run python contextaggregator*.py. The folder all_context/ are created: .
the step 2 all_context contains the final files used in the model.
For convenience and ease of understanding,You can run it separately on both datasets.