-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL.sh
58 lines (40 loc) · 1.49 KB
/
INSTALL.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
===========================================
Note: This script downloads large files from Google drive.
We used windows version of gdrive and 7z.
However, we also provide equivalent bash commands for Linux machines.
Dependencies:
- https://github.com/prasmussen/gdrive
- https://www.7-zip.org/
===========================================
# clone repository from GitHub
# git clone https://github.com/masud-technope/NLP2API-Replication-Package.git NLP2API
# clone NLP2API source code from GitHub
# cd NLP2API
# git clone https://github.com/masud-technope/NLP2API-Tool NLP2API-Tool
# GitHub skips large files which are stored on Google Drive
# Now downloading the rest files
# cd NLP2API
cd dataset
#answer-ext
#gdrive-linux-x64 download 1x2Btg4z9-0Jk6V20nU8KXT-_ICXYPptq
gdrive-windows-x64 download 1x2Btg4z9-0Jk6V20nU8KXT-_ICXYPptq
#question-ext
gdrive-windows-x64 download 1K7ofG_FVFe1vLKadU52A1p_ghmiGmXrT
# fastText-windows version
cd ..
gdrive-windows-x64 download 1OjBNiaRadLq0-qenp9Ltn_E9c_Hhnv0q
#fastText cross-platform / python based models
gdrive-windows-x64 download 18GSvXYNmSIzP1VnWktWRrUWLe3O-4AXN
#unzip the compressed files
cd dataset
mkdir answer-ext
7z e answer-ext.7z -o\answer-ext
mkdir question-ext
7z e question-ext.7z -o\question-ext
cd ..
mkdir fastText-windows
7z e fastText-windows.7z -o\fastText-windows
mkdir fastText
7z e fastText.7z -o\fastText
echo "Downloaded and unzipped the large files successfully!"
# Please contact Masud Rahman (masud.rahman@usask) for further assistance.