summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 06:09:25 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 06:09:25 +0000
commita4ed52197aa329a0d21b2ca2c258196418c5bcc8 (patch)
tree36994b49e3ebc7257a0133e6d0cb028499d68ad9 /decoder
parent9ba05d189390e6a8ae1a1de67de9eee84babbaca (diff)
test
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@489 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-rwxr-xr-xdecoder/fsa-decode.sh2
-rwxr-xr-xdecoder/weights.hiero10
2 files changed, 12 insertions, 0 deletions
diff --git a/decoder/fsa-decode.sh b/decoder/fsa-decode.sh
new file mode 100755
index 00000000..c53867e3
--- /dev/null
+++ b/decoder/fsa-decode.sh
@@ -0,0 +1,2 @@
+d=$(dirname `readlink -f $0`)/
+$gdb $d/cdec -c $d/cdec-fsa.ini -i $d/1dev.ur "$@"
diff --git a/decoder/weights.hiero b/decoder/weights.hiero
new file mode 100755
index 00000000..6747f059
--- /dev/null
+++ b/decoder/weights.hiero
@@ -0,0 +1,10 @@
+SameFirstLetter 1
+LongerThanPrev 1
+ShorterThanPrev 1
+GlueTop 0.0
+Glue -1.0
+EgivenF -0.5
+FgivenE -0.5
+LexEgivenF -0.5
+LexFgivenE -0.5
+LM 1