mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
Formatting.
This commit is contained in:
parent
2ab6b8f16d
commit
fbfe5890d1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user