diff options
author | Chris Dyer <redpony@gmail.com> | 2009-12-19 15:08:02 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2009-12-19 15:08:02 -0500 |
commit | 9be811a26da86b87bac8696f155188d9a675e61b (patch) | |
tree | 5c9e327fad80d666fe019623ab3fab8e34d6db04 /decoder/ff_wordalign.h | |
parent | 27db9d8c05188f64c17d61c394d3dafe8b8e93d8 (diff) |
few fixes
Diffstat (limited to 'decoder/ff_wordalign.h')
-rw-r--r-- | decoder/ff_wordalign.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/decoder/ff_wordalign.h b/decoder/ff_wordalign.h index 554dd23e..aea4c950 100644 --- a/decoder/ff_wordalign.h +++ b/decoder/ff_wordalign.h @@ -43,6 +43,8 @@ typedef std::map<WordID, Class2FID> Class2Class2FID; class SourcePOSBigram : public FeatureFunction { public: SourcePOSBigram(const std::string& param); + virtual void FinalTraversalFeatures(const void* context, + SparseVector<double>* features) const; protected: virtual void TraversalFeaturesImpl(const SentenceMetadata& smeta, const Hypergraph::Edge& edge, |