From eb8c0e749b9739baea924245802797e64eece799 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 26 Sep 2019 23:22:47 +0300 Subject: Create .tsv files in get_data --- get_data.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 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 IFS=',' read -r source_lang target_lang <<< "${PAIR}" python "${SCRIPTS}/prep_lookup.py" -s "${source_lang}" -t "${target_lang}" + python "${SCRIPTS}/tsv_creator.py" "${source_lang}" "${target_lang}" done READY="${WNET}/ready" mkdir -p "${READY}" mv "${ROOT}"/*.def "${READY}" +TSV_DIR="${WNET}/tsv_files" +mkdir -p "${TSV_DIR}" +mv "${ROOT}"/*.tsv "${TSV_DIR}" + echo "Downloading dictionaries" DICT="${ROOT}/dictionaries" -- cgit v1.2.3-70-g09d2