aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdemo.sh3
-rwxr-xr-xget_data.sh5
2 files changed, 5 insertions, 3 deletions
diff --git a/demo.sh b/demo.sh
index 1eb1f64..a60f435 100755
--- a/demo.sh
+++ b/demo.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"
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"