diff options
Diffstat (limited to 'decoder/ff_spans.h')
-rw-r--r-- | decoder/ff_spans.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/decoder/ff_spans.h b/decoder/ff_spans.h index 4bf5d7e7..b93faec5 100644 --- a/decoder/ff_spans.h +++ b/decoder/ff_spans.h @@ -26,6 +26,18 @@ class SpanFeatures : public FeatureFunction { std::vector<int> end_span_ids_; std::vector<int> beg_span_ids_; std::map<WordID, WordID> word2class_; // optional projection to coarser class + + // collapsed feature values + bool use_collapsed_features_; + int fid_beg_; + int fid_end_; + int fid_span_s_; + int fid_span_; + std::map<std::string, double> feat2val_; + std::vector<double> end_span_vals_; + std::vector<double> beg_span_vals_; + Array2D<std::pair<double,double> > span_vals_; + WordID oov_; }; |