diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-14 17:05:14 -0400 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-14 17:05:14 -0400 |
commit | 5d0f3c6aa4e78aea09952a7a65f61d3c4dce0a0e (patch) | |
tree | b13d383127a76fa01099c7d9acf5b8d79147b91a /decoder | |
parent | dccf47501f078a354375b9f3edd481d8c8d30268 (diff) |
Fix wordset to override features() so that we can safely use multiple instances of it
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/ff_wordset.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |