From 1554b4c0829063b8984e3a9e267b531c8fb56b50 Mon Sep 17 00:00:00 2001 From: redpony Date: Mon, 22 Nov 2010 23:06:23 +0000 Subject: fix bug git-svn-id: https://ws10smt.googlecode.com/svn/trunk@732 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/lextrans.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder') 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()); -- cgit v1.2.3