diff options
author | Yigit Sever | 2019-09-17 17:42:21 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-17 17:42:21 +0300 |
commit | 4add85258bacedab23db82631c887d3b07c40f80 (patch) | |
tree | c8ed59495a418b252a3cd166f8da54b8f89017ef /get_data.sh | |
parent | bd128d67325385e6fda637368e1711aadd1b317f (diff) | |
download | Evaluating-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-x | get_data.sh | 13 |
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}" | |||
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 -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" |
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 | mv "${WNET}/iwn" "${WNET}/ita" | ||
47 | |||
48 | TAB_DIR="${WNET}/tab_files" | ||
49 | mkdir -p "${TAB_DIR}" | ||
50 | |||
51 | for filename in ${WNET}/*/wn-data*.tab; do | ||
52 | echo ">>>$filename" | ||
53 | ${ROOT}/tab_creator.pl $filename | ||
54 | done | ||
46 | 55 | ||
47 | echo "Downloading dictionaries" | 56 | echo "Downloading dictionaries" |
48 | 57 | ||