aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-09-26 23:22:47 +0300
committerYigit Sever2019-09-26 23:22:47 +0300
commiteb8c0e749b9739baea924245802797e64eece799 (patch)
tree3e4d56161d81094bfb7a0a4b5552dbfae8b85504
parent6cd52b0ae6c6786e99fbe764f87cf5e7ac3d9369 (diff)
downloadEvaluating-Dictionary-Alignment-eb8c0e749b9739baea924245802797e64eece799.tar.gz
Evaluating-Dictionary-Alignment-eb8c0e749b9739baea924245802797e64eece799.tar.bz2
Evaluating-Dictionary-Alignment-eb8c0e749b9739baea924245802797e64eece799.zip
Create .tsv files in get_data
-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"