summaryrefslogtreecommitdiff
path: root/decoder/ff_wordset.h
diff options
context:
space:
mode:
authorJonathan Clark <jon.h.clark@gmail.com>2011-03-24 09:48:04 -0400
committerJonathan Clark <jon.h.clark@gmail.com>2011-03-24 09:48:04 -0400
commitba4f147f84aa0d4623da640a2d0de7e6242a53af (patch)
treeded3a9ed85ef128a5cf239126da28ee3b1a5a3fc /decoder/ff_wordset.h
parent70d909f695fdb8207ce251bae9e860c3787d7711 (diff)
parentcb8e10b896d4d19a3d7c9b997a74f9bd39a5c714 (diff)
Undo some silly local changes so we can pull
Diffstat (limited to 'decoder/ff_wordset.h')
-rw-r--r--decoder/ff_wordset.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/decoder/ff_wordset.h b/decoder/ff_wordset.h
index 256d54bb..00e1145b 100644
--- a/decoder/ff_wordset.h
+++ b/decoder/ff_wordset.h
@@ -13,13 +13,12 @@
class WordSet : public FeatureFunction {
public:
-
// we depend on the order of the initializer list
// to call member constructurs in the proper order
// modify this carefully!
//
// Usage: "WordSet -v vocab.txt [--oov]"
- WordSet(const std::string& param) {
+ WordSet(const std::string& param) {
std::string vocabFile;
std::string featName;
parseArgs(param, &featName, &vocabFile, &oovMode_);
@@ -30,6 +29,9 @@ class WordSet : public FeatureFunction {
loadVocab(vocabFile, &vocab_);
}
+ ~WordSet() {
+ }
+
protected:
virtual void TraversalFeaturesImpl(const SentenceMetadata& smeta,