summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-01-14 19:10:17 +0100
committerPatrick Simianer <p@simianer.de>2015-01-14 19:10:17 +0100
commit16c0aaafae5847b0fc712fbd25a25b8f7ad61bad (patch)
treec89d19bd0696ccb98374502c6a1efe5c97b8d295
parent9c76a4524cf847eb643b5734e8368a4746b9683b (diff)
example/run
-rwxr-xr-xexample/run84
1 files changed, 38 insertions, 46 deletions
diff --git a/example/run b/example/run
index f0aec3c..4440634 100755
--- a/example/run
+++ b/example/run
@@ -7,38 +7,30 @@ FAST_WEAVER_BIN=../fast_weaver
for example in \
3 \
- 429 \
- 748 \
- 1020 \
- 1391 \
- 1495 \
- 1570 \
- 1889 \
- 2002 \
- glue; do
+; do
mkdir -p $example/output
-#$CDEC_BIN -c cdec/default.ini -w weights/weights -n \
- #-g $example/grammar < $example/in \
- #> $example/output/cdec.nothing.out \
- #2>$example/output/cdec.nothing.err
-#$CDEC_BIN -c cdec/default.ini -w weights/weights \
- #-g $example/grammar < $example/in \
- #> $example/output/cdec.glue.out \
- #2>$example/output/cdec.glue.err
-#$CDEC_BIN -c cdec/passthrough.ini -w weights/weights -n \
- #-g $example/grammar < $example/in \
- #> $example/output/cdec.passthrough.out \
- #2>$example/output/cdec.passthrough.err
-#$CDEC_BIN -c cdec/default.ini -w weights/weights \
- #-g $example/grammar < $example/in \
- #> $example/output/cdec.default.out \
- #2>$example/output/cdec.default.err
-#$CDEC_BIN -c cdec/default.ini -w weights/weights.0 \
- #-g $example/grammar < $example/in \
- #> $example/output/cdec.default-0.out \
- #2>$example/output/cdec.default-0.err
+$CDEC_BIN -c cdec/default.ini -w weights/weights -n \
+ -g $example/grammar < $example/in \
+ > $example/output/cdec.nothing.out \
+ 2>$example/output/cdec.nothing.err
+$CDEC_BIN -c cdec/default.ini -w weights/weights \
+ -g $example/grammar < $example/in \
+ > $example/output/cdec.glue.out \
+ 2>$example/output/cdec.glue.err
+$CDEC_BIN -c cdec/passthrough.ini -w weights/weights -n \
+ -g $example/grammar < $example/in \
+ > $example/output/cdec.passthrough.out \
+ 2>$example/output/cdec.passthrough.err
+$CDEC_BIN -c cdec/default.ini -w weights/weights \
+ -g $example/grammar < $example/in \
+ > $example/output/cdec.default.out \
+ 2>$example/output/cdec.default.err
+$CDEC_BIN -c cdec/default.ini -w weights/weights.0 \
+ -g $example/grammar < $example/in \
+ > $example/output/cdec.default-0.out \
+ 2>$example/output/cdec.default-0.err
$CDEC_MINIMAL_BIN $example/cdec.json.gz weights/weights \
> $example/output/cdec-minimal.out \
@@ -51,23 +43,23 @@ $FAST_WEAVER_BIN $example/weaver.pak \
> $example/output/fast_weaver.out \
2>$example/output/fast_weaver.err
-#$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in \
- #> $example/output/weaver-prototype.nothing.out \
- #2>$example/output/weaver-prototype.nothing.err
-#$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in -l \
- #> $example/output/weaver-prototype.glue.out \
- #2>$example/output/weaver-prototype.glue.err
-#$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in -p \
- #> $example/output/weaver-prototype.passthrough.out \
- #2>$example/output/weaver-prototype.passthrough.err
-#$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in \
- #-l -p \
- #> $example/output/weaver-prototype.default.out \
- #2>$example/output/weaver-prototype.default.err
-#$WEAVER_PROTOTYPE_BIN -w weights/weights.0 -g $example/grammar -i $example/in \
- #-l -p \
- #> $example/output/weaver-prototype.default-0.out \
- #2>$example/output/weaver-prototype.default-0.err
+$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in \
+ > $example/output/weaver-prototype.nothing.out \
+ 2>$example/output/weaver-prototype.nothing.err
+$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in -l \
+ > $example/output/weaver-prototype.glue.out \
+ 2>$example/output/weaver-prototype.glue.err
+$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in -p \
+ > $example/output/weaver-prototype.passthrough.out \
+ 2>$example/output/weaver-prototype.passthrough.err
+$WEAVER_PROTOTYPE_BIN -w weights/weights -g $example/grammar -i $example/in \
+ -l -p \
+ > $example/output/weaver-prototype.default.out \
+ 2>$example/output/weaver-prototype.default.err
+$WEAVER_PROTOTYPE_BIN -w weights/weights.0 -g $example/grammar -i $example/in \
+ -l -p \
+ > $example/output/weaver-prototype.default-0.out \
+ 2>$example/output/weaver-prototype.default-0.err
done