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
commit7da354b48459db5ad22120b4fcb38f5c7db468ed (patch)
tree05e56a7bfcc501fe9a36fbe1d0dbe801e0ef96b3 /decoder
parent8135f61264c849a194166456a09829173f1a5016 (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