diff options
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 | ||
