diff options
author | Yigit Sever | 2019-09-26 23:46:56 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-26 23:46:56 +0300 |
commit | d73c248c5078be6661e87fe6bb95ba670844d258 (patch) | |
tree | 517a12dc2de447a1730249c9957b7dd23b779346 | |
parent | eb8c0e749b9739baea924245802797e64eece799 (diff) | |
download | Evaluating-Dictionary-Alignment-d73c248c5078be6661e87fe6bb95ba670844d258.tar.gz Evaluating-Dictionary-Alignment-d73c248c5078be6661e87fe6bb95ba670844d258.tar.bz2 Evaluating-Dictionary-Alignment-d73c248c5078be6661e87fe6bb95ba670844d258.zip |
Call tsv creator properly
-rwxr-xr-x | demo.sh | 3 | ||||
-rwxr-xr-x | get_data.sh | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -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 | |
24 | set -o errexit -o pipefail -o noclobber -o nounset | ||
24 | 25 | ||
25 | ROOT="$(pwd)" | 26 | ROOT="$(pwd)" |
26 | SCRIPTS="${ROOT}/scripts" | 27 | SCRIPTS="${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 | |
24 | set -o errexit -o pipefail -o noclobber -o nounset | ||
24 | 25 | ||
25 | ROOT="$(pwd)" | 26 | ROOT="$(pwd)" |
26 | SCRIPTS="${ROOT}/scripts" | 27 | SCRIPTS="${ROOT}/scripts" |
@@ -58,7 +59,7 @@ 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 | 59 | 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}" | 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" |
62 | done | 63 | done |
63 | 64 | ||
64 | READY="${WNET}/ready" | 65 | READY="${WNET}/ready" |