Set appropriate verbose level for Lattice MBR

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@2854 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
abarun 2010-02-03 17:30:07 +00:00
parent 904a982e05
commit b4b7a71c46
3 changed files with 8 additions and 4 deletions

View File

@ -258,6 +258,7 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
LM_IRST,
LM_SRI,

View File

@ -437,10 +437,12 @@ vector<Word> calcMBRSol(const TrellisPathList& nBestList, map<Phrase, float>& f
if (mbrScore > argmaxScore){
argmaxScore = mbrScore;
cout << "NEW BEST: ";
for (int i = 0; i < translation.size(); ++i)
cout << translation[i] << " " ;
cout << "[" << argmaxScore << "]" << endl;
IFVERBOSE(3) {
cout << "NEW BEST: ";
for (int i = 0; i < translation.size(); ++i)
cout << translation[i] << " " ;
cout << "[" << argmaxScore << "]" << endl;
}
argmaxTranslation = translation;
}
}

View File

@ -813,6 +813,7 @@
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 3;
GCC_PREPROCESSOR_DEFINITIONS = (
LM_IRST,
LM_SRI,