diff options
Diffstat (limited to 'example/run.sh')
-rwxr-xr-x | example/run.sh | 35 |
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 - |