summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-11-22 23:06:23 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-11-22 23:06:23 +0000
commit1554b4c0829063b8984e3a9e267b531c8fb56b50 (patch)
treeb8c3c7f2723609337c65c93f758836d3f2adf126 /decoder
parent8cd3280391e6b1ba83357d3967638873a8c0920c (diff)
fix bug
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@732 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-rw-r--r--decoder/lextrans.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/lextrans.cc b/decoder/lextrans.cc
index 874645de..4476fe63 100644
--- a/decoder/lextrans.cc
+++ b/decoder/lextrans.cc
@@ -102,7 +102,7 @@ struct LexicalTransImpl {
for (int k = 0; k < rb->GetNumRules(); ++k) {
TRulePtr rule = rb->GetIthRule(k);
if (align_only_) {
- if (target_vocab.count(rule->f_[0]) == 0)
+ if (target_vocab.count(rule->e_[0]) == 0)
continue;
}
Hypergraph::Edge* edge = forest->AddEdge(rule, Hypergraph::TailNodeVector());