diff options
-rwxr-xr-x | get_data.sh | 5 |
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 | |||
58 | for 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 | 58 | for 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}" | ||
61 | done | 62 | done |
62 | 63 | ||
63 | READY="${WNET}/ready" | 64 | READY="${WNET}/ready" |
64 | mkdir -p "${READY}" | 65 | mkdir -p "${READY}" |
65 | mv "${ROOT}"/*.def "${READY}" | 66 | mv "${ROOT}"/*.def "${READY}" |
66 | 67 | ||
68 | TSV_DIR="${WNET}/tsv_files" | ||
69 | mkdir -p "${TSV_DIR}" | ||
70 | mv "${ROOT}"/*.tsv "${TSV_DIR}" | ||
71 | |||
67 | echo "Downloading dictionaries" | 72 | echo "Downloading dictionaries" |
68 | 73 | ||
69 | DICT="${ROOT}/dictionaries" | 74 | DICT="${ROOT}/dictionaries" |