diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 17:09:21 -0500 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 17:09:21 -0500 |
commit | 9f821dd7f08da5a146e14863b3d49ae16e6739f4 (patch) | |
tree | 0a6fff3b9b326566cafb1cd1885862e4f9f1a3ec /decoder/ff_wordset.h | |
parent | 4f9933d668d247ea5831c3f2af0b996a94da28f7 (diff) |
initial version of scons
Diffstat (limited to 'decoder/ff_wordset.h')
-rw-r--r-- | decoder/ff_wordset.h | 6 |
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, |