diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-11 02:05:13 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-11 02:05:13 +0300 |
commit | d7278293877afe443a8668d5abea25bb37542c6e (patch) | |
tree | f3e380c11d4b5f6f117ea69922b457de4a7ef50c /moses/SearchNormal.cpp | |
parent | 806f888c10ac02eba67454d55aa0880464e4f284 (diff) | |
parent | b733804fdcf20a5a9e822861471248c8fdbc0e2d (diff) |
Merge branch 'master' of https://github.com/modernmt/mosesdecoder
Conflicts:
moses/parameters/InputOptions.cpp
moses/parameters/InputOptions.h
Diffstat (limited to 'moses/SearchNormal.cpp')
-rw-r--r-- | moses/SearchNormal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/SearchNormal.cpp b/moses/SearchNormal.cpp index 025e61479..6886c984f 100644 --- a/moses/SearchNormal.cpp +++ b/moses/SearchNormal.cpp @@ -319,7 +319,7 @@ void SearchNormal::ExpandHypothesis(const Hypothesis &hypothesis, float allowedScoreForBitmap = m_hypoStackColl[wordsTranslated]->GetWorstScoreForBitmap( id ); allowedScore = std::min( allowedScore, allowedScoreForBitmap ); } - allowedScore += staticData.GetEarlyDiscardingThreshold(); + allowedScore += m_options.search.early_discarding_threshold; // add expected score of translation option expectedScore += transOpt.GetFutureScore(); |