diff options
author | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-11-22 23:06:23 +0000 |
---|---|---|
committer | redpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-11-22 23:06:23 +0000 |
commit | f06e7fa27c4e485dccaee356b3b5f46238f561a2 (patch) | |
tree | 7ed25a8cfff960166c57af1cd625956fc47cbde6 /decoder | |
parent | c23a059654229dd85dd64b0e4c8a7f8fba456734 (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.cc | 2 |
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()); |