Jonas: **configuration b)**

This commit is contained in:
Jonas Weinz 2018-05-13 10:12:19 +02:00
parent 2144b93e56
commit 887b5bb6c0
2 changed files with 743 additions and 351 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,6 +45,9 @@ D1_ZIP=${D1_URL##*/}
D2_URL=https://raw.githubusercontent.com/GeorgeMcIntire/fake_real_news_dataset/master/fake_or_real_news.csv.zip D2_URL=https://raw.githubusercontent.com/GeorgeMcIntire/fake_real_news_dataset/master/fake_or_real_news.csv.zip
D2_ZIP=${D2_URL##*/} D2_ZIP=${D2_URL##*/}
P3_URL=https://raw.githubusercontent.com/SmartDataAnalytics/MA-INF-4222-NLP-Lab/master/2018_SoSe/exercises/script_dataset3.py
P3_SCRIPT=${P3_URL##*/}
set_action "checking whether unzip is installed" set_action "checking whether unzip is installed"
# testing for unzip: # testing for unzip:
perform_and_exit unzip -v perform_and_exit unzip -v
@ -72,3 +75,12 @@ then
fi fi
confirm_action confirm_action
set_action "downloading Helper script: $P3_SCRIPT"
if [ ! -e $P3_SCRIPT ];
then
perform_and_exit curl $P3_URL --output ./$P3_SCRIPT
fi
confirm_action