summaryrefslogtreecommitdiff
path: root/dtrain/scripts
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-08-03 01:29:52 +0200
committerPatrick Simianer <p@simianer.de>2011-09-23 19:13:57 +0200
commitd0c482c1d69a5c26f7d1bc27cf5b3a252716cb2e (patch)
tree5af960943f0b4f83b10cdf149146aa78deda5c43 /dtrain/scripts
parent06829982fb0c03a5b0bbd95ee04de5a0019c5263 (diff)
refactoring, cleaning up
Diffstat (limited to 'dtrain/scripts')
-rwxr-xr-xdtrain/scripts/run.sh4
-rwxr-xr-xdtrain/scripts/test.sh6
2 files changed, 10 insertions, 0 deletions
diff --git a/dtrain/scripts/run.sh b/dtrain/scripts/run.sh
new file mode 100755
index 00000000..f2b6d600
--- /dev/null
+++ b/dtrain/scripts/run.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./dtrain -c ./data/cdec.ini -k 200 -n 3 -t 10 < ./data/in.blunsom08 #< data/in.toy
+
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
+