summaryrefslogtreecommitdiff
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
commitf06e7fa27c4e485dccaee356b3b5f46238f561a2 (patch)
tree7ed25a8cfff960166c57af1cd625956fc47cbde6
parentc23a059654229dd85dd64b0e4c8a7f8fba456734 (diff)
fix bug
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@732 ec762483-ff6d-05da-a07a-a48fb63a330f
-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());