diff options
author | Yigit Sever | 2019-09-17 16:26:55 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-17 16:26:55 +0300 |
commit | 5f5d887a26c1293dda83090f67535aa08533a7d5 (patch) | |
tree | fa04bedf2ca19cfb7f2a68294b092e82b9150737 | |
parent | 4ce4680754128371acbfcd771d516fa6229ba440 (diff) | |
download | Evaluating-Dictionary-Alignment-5f5d887a26c1293dda83090f67535aa08533a7d5.tar.gz Evaluating-Dictionary-Alignment-5f5d887a26c1293dda83090f67535aa08533a7d5.tar.bz2 Evaluating-Dictionary-Alignment-5f5d887a26c1293dda83090f67535aa08533a7d5.zip |
Get data LANG fix
-rwxr-xr-x | get_data.sh | 14 |
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 | ||
38 | echo "Unzipping wordnet data" | 38 | echo "Unzipping wordnet data" |
39 | 39 | ||
40 | for LANG in als bul ell ita ron slv; do | 40 | for 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" |
43 | done | 43 | done |
44 | 44 | ||
45 | rm -rf "${WNET}/ita" # comes alongside iwn, not useful for us | 45 | rm -rf "${WNET}/ita/" # comes alongside iwn, not useful for us |
46 | 46 | ||
47 | echo "Downloading dictionaries" | 47 | echo "Downloading dictionaries" |
48 | 48 | ||
@@ -84,6 +84,6 @@ TEST_DIR="${DICT}/test" | |||
84 | mkdir -p "${TRAIN_DIR}" | 84 | mkdir -p "${TRAIN_DIR}" |
85 | mkdir -p "${TEST_DIR}" | 85 | mkdir -p "${TEST_DIR}" |
86 | 86 | ||
87 | mv ${DICT}/*.train ${TRAIN_DIR} | 87 | mv "${DICT}"/*.train "${TRAIN_DIR}" |
88 | mv ${DICT}/*.test ${TEST_DIR} | 88 | mv "${DICT}"/*.test "${TEST_DIR}" |
89 | rm -f ${DICT}/*.dic | 89 | rm -f "${DICT}"/*.dic |