Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/moses
diff options
context:
space:
mode:
authoralex_const <alex_const@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-17 19:04:08 +0400
committeralex_const <alex_const@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-17 19:04:08 +0400
commit99c9035f347da86b61158b426c9ab0f6a31c4e96 (patch)
tree9d8df3979d36c6f3320e14d65151a07ea5168c90 /moses
parentbf423cb0d35a0d184a0f4f60e3960dfb837b9e4b (diff)
*** empty log message ***
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@150 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses')
-rwxr-xr-xmoses/src/Manager.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/moses/src/Manager.cpp b/moses/src/Manager.cpp
index 3c6470c63..a72337140 100755
--- a/moses/src/Manager.cpp
+++ b/moses/src/Manager.cpp
@@ -181,10 +181,10 @@ void Manager::ProcessOneHypothesis(const list < DecodeStep > &decodeStepList, co
, m_staticData.GetWeightDistortion()
, m_staticData.GetWeightWordPenalty()
, m_possibleTranslations.GetFutureScore(), m_source);
-// if(m_staticData.GetVerboseLevel() > 2)
-// {
-// hypo->PrintHypothesis(m_source, m_staticData.GetWeightDistortion(), m_staticData.GetWeightWordPenalty());
-// }
+ if(m_staticData.GetVerboseLevel() > 2)
+ {
+ hypo->PrintHypothesis(m_source, m_staticData.GetWeightDistortion(), m_staticData.GetWeightWordPenalty());
+ }
size_t wordsTranslated = hypo->GetWordsBitmap().GetWordsCount();
if (m_hypoStack[wordsTranslated].AddPrune(hypo))
@@ -223,7 +223,6 @@ void Manager::ProcessInitialTranslation(const Hypothesis &hypothesis, const Deco
if ( !transOpt.Overlap(hypothesis))
{
Hypothesis *newHypo = hypothesis.CreateNext(transOpt);
- //newHypo->PrintHypothesis(m_source);
outputHypoColl.AddNoPrune( newHypo );
}
}
@@ -251,7 +250,6 @@ void Manager::ProcessInitialTranslation(const Hypothesis &hypothesis, const Deco
)
{
Hypothesis *newHypo = hypothesis.CreateNext(transOpt);
- //newHypo->PrintHypothesis(m_source);
outputHypoColl.AddNoPrune( newHypo );
}
}
@@ -263,7 +261,6 @@ void Manager::ProcessInitialTranslation(const Hypothesis &hypothesis, const Deco
&& !transOpt.Overlap(hypothesis))
{
Hypothesis *newHypo = hypothesis.CreateNext(transOpt);
- //newHypo->PrintHypothesis(m_source);
outputHypoColl.AddNoPrune( newHypo );
}
}
@@ -273,7 +270,6 @@ void Manager::ProcessInitialTranslation(const Hypothesis &hypothesis, const Deco
&& !transOpt.Overlap(hypothesis))
{
Hypothesis *newHypo = hypothesis.CreateNext(transOpt);
- //newHypo->PrintHypothesis(m_source);
outputHypoColl.AddNoPrune( newHypo );
}
}