mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
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:
parent
904a982e05
commit
b4b7a71c46
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user