From 89a846f43f4b9dfccf04ecc6a68064c2ffdefe4b Mon Sep 17 00:00:00 2001 From: Jonathan Clark Date: Mon, 14 Mar 2011 17:05:14 -0400 Subject: Fix wordset to override features() so that we can safely use multiple instances of it --- decoder/ff_wordset.h | 1 + 1 file changed, 1 insertion(+) (limited to 'decoder/ff_wordset.h') diff --git a/decoder/ff_wordset.h b/decoder/ff_wordset.h index 00e1145b..643097ef 100644 --- a/decoder/ff_wordset.h +++ b/decoder/ff_wordset.h @@ -32,6 +32,7 @@ class WordSet : public FeatureFunction { ~WordSet() { } + Features features() const { return single_feature(fid_); } protected: virtual void TraversalFeaturesImpl(const SentenceMetadata& smeta, -- cgit v1.2.3