diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-03 22:36:43 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-03 22:36:43 +0300 |
commit | d773ad428ec65a8496dee51a3f398843fa90cf39 (patch) | |
tree | e683cf12e6a5c60fe311e936772d217aeac87caa /moses/SearchNormal.cpp | |
parent | 9dc31e197be697582cfe724c8292c0e631841570 (diff) |
More options cleanup.
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 62bf420fc..07862df43 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(); |