mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
parent
a46eae089f
commit
925000f681
@ -318,8 +318,8 @@ void Hypothesis::PrintHypothesis() const
|
||||
TRACE_ERR( "\tunweighted feature scores: " << m_scoreBreakdown << endl);
|
||||
ScoreComponentCollection parentscorebreakdown = m_prevHypo->getscorebreakdown();
|
||||
TRACE_ERR( "\tparent feature scores: " << parentscorebreakdown << endl);
|
||||
//ScoreComponentCollection scorediff = m_scoreBreakdown - parentscorebreakdown;
|
||||
//TRACE_ERR( "\tdiff feature scores: " << scorediff << endl);
|
||||
ScoreComponentCollection scorediff = m_scoreBreakdown - parentscorebreakdown;
|
||||
TRACE_ERR( "\tdiff feature scores: " << scorediff << endl);
|
||||
//PrintLMScores();
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,7 @@ protected:
|
||||
Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt);
|
||||
|
||||
public:
|
||||
ScoreComponentCollection getscorebreakdown() const { return m_scoreBreakdown; }
|
||||
ScoreComponentCollection getscorebreakdown() { return m_scoreBreakdown; }
|
||||
static ObjectPool<Hypothesis> &GetObjectPool() {
|
||||
return s_objectPool;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user