diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-02-22 14:46:46 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-02-22 14:46:46 -0500 |
commit | 37ed2c59d9f5504476592cd4bd89725a1ddcadba (patch) | |
tree | 498819caa64af58c436895c180f6fe660db36c4d /decoder | |
parent | ed3e4fcfc849784b521fa9f021a26e368caff21a (diff) |
fix typo
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/ff_spans.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_spans.cc b/decoder/ff_spans.cc index 6e92535a..989eed56 100644 --- a/decoder/ff_spans.cc +++ b/decoder/ff_spans.cc @@ -57,7 +57,7 @@ void SpanFeatures::TraversalFeaturesImpl(const SentenceMetadata& smeta, if (edge.rule_->lhs_ == kS) features->set_value(span_feats_(edge.i_,edge.j_).second, 1); else - features->set_value(span_feats_(edge.i_,edge.j_).second, 1); + features->set_value(span_feats_(edge.i_,edge.j_).first, 1); if (edge.Arity() == 2) { const TRule& rule = *edge.rule_; if (rule.f_[0] == kS && rule.f_[1] == kX) { |