-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_entity_link_script.sh
More file actions
18 lines (18 loc) · 1.02 KB
/
Copy pathrun_entity_link_script.sh
File metadata and controls
18 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
echo "Downloading and Installing Packages ..."
pip3 install --upgrade pip3
pip3 install -r requirements.txt
echo "Downloading and Installing English Spacy Model 'en-core-web-md' ..."
python3 -m spacy download en_core_web_md
echo "Downloading NLTK datasets ..."
python3 ./import_nltk_sets.py
echo "------------"
echo "Running script on default values"
echo "Therefore, all the warc files will be read and saved and all ElasticSearch results will be generated and saved within the 'outputs' folder"
echo "Please adjust the warc_archives argument in the config.ini file to the filepath or glob pattern you are trying to process though"
echo "If this script is ran once without error, you can keep on adjusting the config.ini file"
echo "If the WARC archives are already processed, set process_warc to False"
echo "If the candidate results are already saved, set save_es_results to False"
echo "If you want to test another model besides the prominence-based one, put in lesk, glove or bert"
echo "------------"
python3 ./starter_code.py