Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mgiza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mgizapp/scripts/symal.sh')
-rw-r--r--mgizapp/scripts/symal.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/mgizapp/scripts/symal.sh b/mgizapp/scripts/symal.sh
new file mode 100644
index 0000000..a446beb
--- /dev/null
+++ b/mgizapp/scripts/symal.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+OUTPUT=$1
+shift
+GIZA2BAL=$1
+shift
+SYMAL=$1
+shift
+STOT=$1
+shift
+TTOS=$1
+shift
+
+perl $GIZA2BAL -d ${STOT} -i ${TTOS} | $SYMAL $* > $OUTPUT
+