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 | 23812a1f0e53ff4593a195206d652afcda85f605 (patch) | |
tree | f6213d635593d8ba8164bc5a272b5f38d9a1d7ae /decoder | |
parent | ad4ed0105624590daf540d8f0c77d1c0cf28e9fd (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) { |