Causal precedence relations in the biomedical domain
The annotated corpus can be found here. The word embeddings can be found here.
Three sets of Odin
-style rules were used for the deterministic models:
- Inter-sentential patterns
- Intra-sentential patterns
- Precedence markers
- Reichenbach rules for tense and aspect
-
Fork and clone this repository
-
Create a new
conda
environment using theenvironment.yml
config:
conda env create -f environment.yml
The environment can be updated using the following command:
conda env update -f environment.yml
- Activate the environment:
source activate bionlp
- Test the installation:
python -c "import keras; print('Keras version: ', keras.__version__)"
If you're training on an Ubuntu system with a CUDA card, you can run gpu_dependencies.sh
to set things up.
jupyter notebook