From 4add85258bacedab23db82631c887d3b07c40f80 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 17 Sep 2019 17:42:21 +0300 Subject: Include .tab file creator --- get_data.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'get_data.sh') 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}" echo "Unzipping wordnet data" for lang in als bul ell ita ron slv; do - unzip -o -f -q "${WNET}/${lang}.zip" -d "${WNET}" -# rm -f "${WNET}/${lang}.zip" + unzip -o -q "${WNET}/${lang}.zip" -d "${WNET}" + rm -f "${WNET}/${lang}.zip" done rm -rf "${WNET}/ita/" # comes alongside iwn, not useful for us +mv "${WNET}/iwn" "${WNET}/ita" + +TAB_DIR="${WNET}/tab_files" +mkdir -p "${TAB_DIR}" + +for filename in ${WNET}/*/wn-data*.tab; do + echo ">>>$filename" + ${ROOT}/tab_creator.pl $filename +done echo "Downloading dictionaries" -- cgit v1.2.3-70-g09d2