diff options
author | Kenneth Heafield <github@kheafield.com> | 2013-08-02 20:56:11 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2013-08-02 20:56:41 +0400 |
commit | 78cdf82de832413b3e6a52a212bdf104f190ae18 (patch) | |
tree | c2db3216027989c84ee29fbe06449821794325e9 /moses/Incremental.cpp | |
parent | f234aa203f13eca064d7a42ca55d673ac5924c94 (diff) |
Log10/loge weight change for incremental. TODO: debug n-best list generation
Diffstat (limited to 'moses/Incremental.cpp')
-rw-r--r-- | moses/Incremental.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Incremental.cpp b/moses/Incremental.cpp index e4159063c..dffcd3e3e 100644 --- a/moses/Incremental.cpp +++ b/moses/Incremental.cpp @@ -199,7 +199,7 @@ template <class Model, class Best> search::History Manager::PopulateBest(const M const LanguageModel &abstract = LanguageModel::GetFirstLM(); const float oov_weight = abstract.OOVFeatureEnabled() ? abstract.GetOOVWeight() : 0.0; const StaticData &data = StaticData::Instance(); - search::Config config(abstract.GetWeight(), data.GetCubePruningPopLimit(), search::NBestConfig(data.GetNBestSize())); + search::Config config(abstract.GetWeight() * M_LN10, data.GetCubePruningPopLimit(), search::NBestConfig(data.GetNBestSize())); search::Context<Model> context(config, model); size_t size = source_.GetSize(); |