summaryrefslogtreecommitdiff
path: root/cdec/pro.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cdec/pro.sh')
-rwxr-xr-xcdec/pro.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/cdec/pro.sh b/cdec/pro.sh
new file mode 100755
index 0000000..48b0078
--- /dev/null
+++ b/cdec/pro.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+CDEC=/path/to/cdec
+DEVSET=/path/to/pasted/file
+
+$CDEC/training/pro/pro.pl \
+ --config $(pwd)/cdec.ini \
+ --devset $DEVSET \
+ --weights $(pwd)/weights.init \
+ --metric IBM_BLEU \
+ --output-dir $(pwd)/work \
+ --reg 500 \
+ --reg-previous 5000 \
+ --jobs 2 \
+ &>pro.out
+
+gzip pro.out
+