aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xget_data.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/get_data.sh b/get_data.sh
index 4f97ad5..91f790c 100755
--- a/get_data.sh
+++ b/get_data.sh
@@ -58,12 +58,17 @@ done
58for PAIR in en,bg en,el en,it, en,ro, en,sl en,sq, bg,el bg,it bg,ro el,it el,ro el,sq it,ro ro,sl ro,sq; do 58for PAIR in en,bg en,el en,it, en,ro, en,sl en,sq, bg,el bg,it bg,ro el,it el,ro el,sq it,ro ro,sl ro,sq; do
59 IFS=',' read -r source_lang target_lang <<< "${PAIR}" 59 IFS=',' read -r source_lang target_lang <<< "${PAIR}"
60 python "${SCRIPTS}/prep_lookup.py" -s "${source_lang}" -t "${target_lang}" 60 python "${SCRIPTS}/prep_lookup.py" -s "${source_lang}" -t "${target_lang}"
61 python "${SCRIPTS}/tsv_creator.py" "${source_lang}" "${target_lang}"
61done 62done
62 63
63READY="${WNET}/ready" 64READY="${WNET}/ready"
64mkdir -p "${READY}" 65mkdir -p "${READY}"
65mv "${ROOT}"/*.def "${READY}" 66mv "${ROOT}"/*.def "${READY}"
66 67
68TSV_DIR="${WNET}/tsv_files"
69mkdir -p "${TSV_DIR}"
70mv "${ROOT}"/*.tsv "${TSV_DIR}"
71
67echo "Downloading dictionaries" 72echo "Downloading dictionaries"
68 73
69DICT="${ROOT}/dictionaries" 74DICT="${ROOT}/dictionaries"