diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-18 21:26:55 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-18 21:26:55 +0000 |
commit | 8ec14f00d1078f0fa7ab3ba2a01954b1f6ca5260 (patch) | |
tree | 2c065af3a449a50eccb1c30d140bf21a324c850d /decoder/decode.sh | |
parent | 0017c952afb4076025098165414d8ca745107f2b (diff) |
ValueArray instead of string for state - same LM decode scores
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@593 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/decode.sh')
-rwxr-xr-x | decoder/decode.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/decoder/decode.sh b/decoder/decode.sh new file mode 100755 index 00000000..13cc6620 --- /dev/null +++ b/decoder/decode.sh @@ -0,0 +1,10 @@ +d=$(dirname `readlink -f $0`)/ +decode() { +if [ "$lm" ] ; then + lmargs0=-F + lmargs1="LanguageModel lm.gz -n LM" +fi +set -x +$gdb $d/cdec -c $d/${cfg:=cdec-fsa}.ini -i $d/${in:=1dev.ur} $lmargs0 "$lmargs1" --show_features --show_config --show_weights "$@" +set +x +} |