summaryrefslogtreecommitdiff
path: root/decoder/ff_spans.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-02-22 14:43:16 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-02-22 14:43:16 -0500
commitad4ed0105624590daf540d8f0c77d1c0cf28e9fd (patch)
tree7573e453f151dccd60e5387b4a92cce8db3fde1e /decoder/ff_spans.h
parent4324cdb03ec1f8332ad053e9f4f85170027b3938 (diff)
split features more
Diffstat (limited to 'decoder/ff_spans.h')
-rw-r--r--decoder/ff_spans.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_spans.h b/decoder/ff_spans.h
index 5e90b7e0..4bf5d7e7 100644
--- a/decoder/ff_spans.h
+++ b/decoder/ff_spans.h
@@ -22,7 +22,7 @@ class SpanFeatures : public FeatureFunction {
WordID MapIfNecessary(const WordID& w) const;
const int kS;
const int kX;
- Array2D<int> span_feats_;
+ Array2D<std::pair<int,int> > span_feats_; // first for X, second for S
std::vector<int> end_span_ids_;
std::vector<int> beg_span_ids_;
std::map<WordID, WordID> word2class_; // optional projection to coarser class