Formatting.

This commit is contained in:
Ulrich Germann 2015-11-11 14:00:02 +00:00
parent 2ab6b8f16d
commit fbfe5890d1

View File

@ -6,6 +6,7 @@
#include "moses/Timer.h"
#include "moses/InputFileStream.h"
#include "moses/FF/LexicalReordering/LexicalReorderingTable.h"
#include "moses/parameters/OOVHandlingOptions.h"
using namespace Moses;
@ -109,7 +110,12 @@ int main(int argc, char** argv)
std::cerr << "Caching for f\n";
table->InitializeForInputPhrase(f);
}
std::cerr << "Querying: f='" << f.GetStringRep(f_mask) << "' e='" << e.GetStringRep(e_mask) << "' c='" << c.GetStringRep(c_mask) << "'\n";
OOVHandlingOptions unk;
std::cerr << "Querying: "
<< "f='" << f.GetStringRep(f_mask, unk) <<"' "
<< "e='" << e.GetStringRep(e_mask, unk) << "' "
<< "c='" << c.GetStringRep(c_mask, unk) << "'\n";
std::cerr << table->GetScore(f,e,c) << "\n";
//table->DbgDump(&std::cerr);
delete table;