aboutsummaryrefslogtreecommitdiffstats
path: root/get_data.sh
diff options
context:
space:
mode:
authorYigit Sever2019-09-17 17:42:21 +0300
committerYigit Sever2019-09-17 17:42:21 +0300
commit4add85258bacedab23db82631c887d3b07c40f80 (patch)
treec8ed59495a418b252a3cd166f8da54b8f89017ef /get_data.sh
parentbd128d67325385e6fda637368e1711aadd1b317f (diff)
downloadEvaluating-Dictionary-Alignment-4add85258bacedab23db82631c887d3b07c40f80.tar.gz
Evaluating-Dictionary-Alignment-4add85258bacedab23db82631c887d3b07c40f80.tar.bz2
Evaluating-Dictionary-Alignment-4add85258bacedab23db82631c887d3b07c40f80.zip
Include .tab file creator
Diffstat (limited to 'get_data.sh')
-rwxr-xr-xget_data.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/get_data.sh b/get_data.sh
index d6487bf..934c5db 100755
--- a/get_data.sh
+++ b/get_data.sh
@@ -38,11 +38,20 @@ wget -nc -q http://compling.hss.ntu.edu.sg/omw/wns/slv.zip -P "${WNET}"
38echo "Unzipping wordnet data" 38echo "Unzipping wordnet data"
39 39
40for lang in als bul ell ita ron slv; do 40for lang in als bul ell ita ron slv; do
41 unzip -o -f -q "${WNET}/${lang}.zip" -d "${WNET}" 41 unzip -o -q "${WNET}/${lang}.zip" -d "${WNET}"
42# rm -f "${WNET}/${lang}.zip" 42 rm -f "${WNET}/${lang}.zip"
43done 43done
44 44
45rm -rf "${WNET}/ita/" # comes alongside iwn, not useful for us 45rm -rf "${WNET}/ita/" # comes alongside iwn, not useful for us
46mv "${WNET}/iwn" "${WNET}/ita"
47
48TAB_DIR="${WNET}/tab_files"
49mkdir -p "${TAB_DIR}"
50
51for filename in ${WNET}/*/wn-data*.tab; do
52 echo ">>>$filename"
53 ${ROOT}/tab_creator.pl $filename
54done
46 55
47echo "Downloading dictionaries" 56echo "Downloading dictionaries"
48 57