summaryrefslogtreecommitdiff
path: root/decoder/ff_wordalign.h
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2009-12-19 15:08:02 -0500
committerChris Dyer <redpony@gmail.com>2009-12-19 15:08:02 -0500
commit9be811a26da86b87bac8696f155188d9a675e61b (patch)
tree5c9e327fad80d666fe019623ab3fab8e34d6db04 /decoder/ff_wordalign.h
parent27db9d8c05188f64c17d61c394d3dafe8b8e93d8 (diff)
few fixes
Diffstat (limited to 'decoder/ff_wordalign.h')
-rw-r--r--decoder/ff_wordalign.h2
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,