diff options
author | David Madl <git@abanbytes.eu> | 2015-11-16 15:49:20 +0300 |
---|---|---|
committer | David Madl <git@abanbytes.eu> | 2015-11-17 19:15:13 +0300 |
commit | 8729a2d47de40e169dc8ba464c586dc979b172fe (patch) | |
tree | f70766ec345acd8d7d4a12054c3f2ef1d5e27a0f /moses/Hypothesis.cpp | |
parent | 5fea16a9a6c60fae91b6f920320fb8ad936069ac (diff) |
Measure TimeOtherScore in Search instead of in Hypothesis
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r-- | moses/Hypothesis.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp index 72d9e7d4b..16b56296a 100644 --- a/moses/Hypothesis.cpp +++ b/moses/Hypothesis.cpp @@ -148,9 +148,6 @@ EvaluateWhenApplied(float estimatedScore) { const StaticData &staticData = StaticData::Instance(); - IFVERBOSE(2) { - m_manager.GetSentenceStats().StartTimeOtherScore(); - } // some stateless score producers cache their values in the translation // option: add these here // language model scores for n-grams completely contained within a target @@ -177,21 +174,12 @@ EvaluateWhenApplied(float estimatedScore) } } - IFVERBOSE(2) { - m_manager.GetSentenceStats().StopTimeOtherScore(); - m_manager.GetSentenceStats().StartTimeEstimateScore(); - } - // FUTURE COST m_estimatedScore = estimatedScore; // TOTAL m_futureScore = m_currScoreBreakdown.GetWeightedScore() + m_estimatedScore; if (m_prevHypo) m_futureScore += m_prevHypo->GetScore(); - - IFVERBOSE(2) { - m_manager.GetSentenceStats().StopTimeEstimateScore(); - } } const Hypothesis* Hypothesis::GetPrevHypo()const |