Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing info for ace2005-dygie preprocessing #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/data_processing/ace2005-dygie/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
spacy==2.0.18
spacy==2.0.18
dataclasses==0.6
13 changes: 8 additions & 5 deletions scripts/data_processing/ace2005-dygie/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# # Install requirements
# pip install -r requirements.txt
# # Download scpay models
# # We use en_core_web_sm==2.0.0 here: https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz
# python -m spacy download en_core_web_sm
# Create another conda environment for dygie processing (must use python 3.6)
conda create -n dygie_process python=3.6
conda activate dygie_process
# Install requirements
pip install -r requirements.txt
# Download scpay models
# We use en_core_web_sm==2.0.0 here: https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz
python -m spacy download en_core_web_sm
bash collect_ace_event.sh ../../../data/original/ace_2005_td_v7
python parse_ace_event.py default-settings
python convert_to_openee.py