mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
add score logging
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@367 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
fb827cb544
commit
ecabcbf0e0
@ -108,6 +108,11 @@ int main(int argc, char* argv[])
|
||||
InputOutput *inputOutput = GetInputOutput(staticData);
|
||||
|
||||
std::cerr << "The score component vector looks like this:\n" << staticData.GetScoreIndexManager();
|
||||
std::cerr << "The global weight vector looks like this:\n";
|
||||
vector<float> weights = staticData.GetAllWeights();
|
||||
std::cerr << weights[0];
|
||||
for (size_t j=1; j<weights.size(); j++) { std::cerr << ", " << weights[j]; }
|
||||
std::cerr << "\n";
|
||||
|
||||
if (inputOutput == NULL)
|
||||
return EXIT_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user