diff options
author | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 06:54:59 -0500 |
---|---|---|
committer | Jonathan Clark <jon.h.clark@gmail.com> | 2011-03-10 06:54:59 -0500 |
commit | 187a7282671bdcee26ade95abcca5282e925c362 (patch) | |
tree | d62eb5b7653b7dbc949d0de3b6b15642fe8912bf /decoder/ff_bleu.cc | |
parent | ee0efe4d807aef64117776a476eeaeca98287315 (diff) | |
parent | 19e0a382269042605c347b48e5ac92c5012f1ccc (diff) |
Merge branch 'master' of git://github.com/redpony/cdec
Diffstat (limited to 'decoder/ff_bleu.cc')
-rw-r--r-- | decoder/ff_bleu.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/decoder/ff_bleu.cc b/decoder/ff_bleu.cc index aa4e6d85..a842bba8 100644 --- a/decoder/ff_bleu.cc +++ b/decoder/ff_bleu.cc @@ -13,8 +13,6 @@ char const* bleu_usage_verbose="Uses feature id 0! Make sure there are no other #include "ff_bleu.h" #include "tdict.h" -#include "Vocab.h" -#include "Ngram.h" #include "hg.h" #include "stringlib.h" #include "sentence_metadata.h" @@ -25,7 +23,7 @@ using namespace std; class BLEUModelImpl { public: explicit BLEUModelImpl(int order) : - ngram_(TD::dict_, order), buffer_(), order_(order), state_size_(OrderToStateSize(order) - 1), + buffer_(), order_(order), state_size_(OrderToStateSize(order) - 1), floor_(-100.0), kSTART(TD::Convert("<s>")), kSTOP(TD::Convert("</s>")), @@ -219,7 +217,6 @@ class BLEUModelImpl { } protected: - Ngram ngram_; vector<WordID> buffer_; const int order_; const int state_size_; |