From 16c0aaafae5847b0fc712fbd25a25b8f7ad61bad Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Wed, 14 Jan 2015 19:10:17 +0100 Subject: example/run --- example/run | 84 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 38 insertions(+), 46 deletions(-) (limited to 'example/run') 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 -- cgit v1.2.3