aboutsummaryrefslogtreecommitdiffstats
path: root/get_data.sh
diff options
context:
space:
mode:
Diffstat (limited to 'get_data.sh')
-rwxr-xr-xget_data.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/get_data.sh b/get_data.sh
index 91f790c..c8e9405 100755
--- a/get_data.sh
+++ b/get_data.sh
@@ -20,7 +20,8 @@
20# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE 20# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
21# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22# 22#
23# 23
24set -o errexit -o pipefail -o noclobber -o nounset
24 25
25ROOT="$(pwd)" 26ROOT="$(pwd)"
26SCRIPTS="${ROOT}/scripts" 27SCRIPTS="${ROOT}/scripts"
@@ -58,7 +59,7 @@ 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 59for 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}" 60 IFS=',' read -r source_lang target_lang <<< "${PAIR}"
60 python "${SCRIPTS}/prep_lookup.py" -s "${source_lang}" -t "${target_lang}" 61 python "${SCRIPTS}/prep_lookup.py" -s "${source_lang}" -t "${target_lang}"
61 python "${SCRIPTS}/tsv_creator.py" "${source_lang}" "${target_lang}" 62 python "${SCRIPTS}/tsv_creator.py" "${source_lang}" "${target_lang}" "${source_lang}_to_${target_lang}.def" "${target_lang}_to_${source_lang}.def"
62done 63done
63 64
64READY="${WNET}/ready" 65READY="${WNET}/ready"