| 46 | |
| 47 | template <typename feature_extractor, typename sequence_type, typename EXP2> |
| 48 | void get_feature_vector( |
| 49 | std::vector<std::pair<unsigned long, double> >& feats, |
| 50 | const feature_extractor& fe, |
| 51 | const sequence_type& sequence, |
| 52 | const matrix_exp<EXP2>& candidate_labeling, |
| 53 | unsigned long position |
| 54 | ) |
| 55 | { |
| 56 | get_feats_functor funct(feats); |
| 57 | fe.get_features(funct, sequence,candidate_labeling, position); |
| 58 | } |
| 59 | |
| 60 | } |
| 61 |
no test coverage detected