summaryrefslogtreecommitdiff
path: root/dtrain/scripts/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/scripts/test.sh')
-rwxr-xr-xdtrain/scripts/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/dtrain/scripts/test.sh b/dtrain/scripts/test.sh
new file mode 100755
index 00000000..3639dfe7
--- /dev/null
+++ b/dtrain/scripts/test.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+EXP=$1
+#head -5000
+cat ./data/in.blunsom08 | ./dtest -q false -c ./data/cdec.ini -w ./data/weights-$EXP 2> ./output/err.$EXP > ./output/out.$EXP
+