Author: Rujun Han*, I-Hung Hsu*, Mu Yang
Title: Codebase for CoNLL 2019 Paper: Deep Structured Neural Network for Event Temporal Relation Extraction
Data processinng. We have preprocessed MATRES(notice that the Matres dataset we use are their initial released version, hence, contains less data), TB-Dense and TCR raw data using internal NLP tools at the Information Sciences Institute. These .pickle files are saved in data fold.
- If you are curious about the data preprocessing, we recommend you to see this script : https://github.com/rujunhan/TEDataProcessing/blob/master/processMATRES.py
- However, this is not been test in this repo, thus, the best case is to download data from the link we provide
- Install Gurobi
conda config --add channels http://conda.anaconda.org/gurobi
conda install gurobi
grbgetkey $YOURGUROBIKEY$
- Return to this repository and:
pip install -r requirements.txt
Or see the yml file we append
- Download data.
cd Code
python train_all.py