summaryrefslogtreecommitdiff
path: root/example/run.sh
diff options
context:
space:
mode:
authorcarhaas <carhaas1@gmail.com>2014-09-09 09:31:07 +0200
committercarhaas <carhaas1@gmail.com>2014-09-09 09:31:07 +0200
commit4dd862953695849412cef0d8d840266a0a8c86cf (patch)
treec28951147b1386c7725e3afc31020a527f647eec /example/run.sh
parent25fa34e5c4275cdd4a4ca735c12b4b22f7ed7c0e (diff)
add free917
Diffstat (limited to 'example/run.sh')
-rwxr-xr-xexample/run.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/example/run.sh b/example/run.sh
deleted file mode 100755
index fba3931..0000000
--- a/example/run.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-# memcached has to be running!
-#memcached -p 31337
-
-CDEC=/toolbox/cdec
-
-../rebol.rb \
- -k 100 \
- -i $(pwd)/data.in \
- -r $(pwd)/data.en \
- -g $(pwd)/data.gold \
- -h $(pwd)/data.funql \
- -w $(pwd)/../data/weights.init \
- -t $(pwd)/../data/stopwords.en \
- -c $(pwd)/cdec.ini \
- -b $(pwd)/cfg.rb \
- -o output-weights \
- -l \
- -e 0.01 \
- -j 1 \
- -v rebol 2>output.stderr > output.stdout
-
-# translate test
-$CDEC/decoder/cdec \
- -c cdec.ini \
- -w output-weights 2>/dev/null \
- < data.in \
- | ../scripts/geoquery/semparse.rb $(pwd)/cfg.rb \
- | ../scripts/geoquery/query.rb $(pwd)/cfg.rb > output-answers
-
-# evaluate result
-../scripts/geoquery/eval.rb \
- data.gold < output-answers > output-eval
-