aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-09-17 16:26:55 +0300
committerYigit Sever2019-09-17 16:26:55 +0300
commit5f5d887a26c1293dda83090f67535aa08533a7d5 (patch)
treefa04bedf2ca19cfb7f2a68294b092e82b9150737
parent4ce4680754128371acbfcd771d516fa6229ba440 (diff)
downloadEvaluating-Dictionary-Alignment-5f5d887a26c1293dda83090f67535aa08533a7d5.tar.gz
Evaluating-Dictionary-Alignment-5f5d887a26c1293dda83090f67535aa08533a7d5.tar.bz2
Evaluating-Dictionary-Alignment-5f5d887a26c1293dda83090f67535aa08533a7d5.zip
Get data LANG fix
-rwxr-xr-xget_data.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/get_data.sh b/get_data.sh
index 335a1f1..d6487bf 100755
--- a/get_data.sh
+++ b/get_data.sh
@@ -37,12 +37,12 @@ wget -nc -q http://compling.hss.ntu.edu.sg/omw/wns/slv.zip -P "${WNET}"
37 37
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 -ofq "${WNET}/${LANG}.zip" -d "${WNET}" 41 unzip -o -f -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
46 46
47echo "Downloading dictionaries" 47echo "Downloading dictionaries"
48 48
@@ -84,6 +84,6 @@ TEST_DIR="${DICT}/test"
84mkdir -p "${TRAIN_DIR}" 84mkdir -p "${TRAIN_DIR}"
85mkdir -p "${TEST_DIR}" 85mkdir -p "${TEST_DIR}"
86 86
87mv ${DICT}/*.train ${TRAIN_DIR} 87mv "${DICT}"/*.train "${TRAIN_DIR}"
88mv ${DICT}/*.test ${TEST_DIR} 88mv "${DICT}"/*.test "${TEST_DIR}"
89rm -f ${DICT}/*.dic 89rm -f "${DICT}"/*.dic