diff options
Diffstat (limited to 'decoder/lextrans.cc')
-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()); |