mosesdecoder/misc/CreateProbingPT.cpp

21 lines
477 B
C++
Raw Normal View History

2014-06-11 14:47:00 +04:00
#include "util/usage.hh"
2014-06-13 13:20:30 +04:00
#include "moses/TranslationModel/ProbingPT/storing.hh"
2014-06-11 14:47:00 +04:00
int main(int argc, char* argv[]){
if (argc != 3) {
// Tell the user how to run the program
std::cerr << "Provided " << argc << " arguments, needed 3." << std::endl;
std::cerr << "Usage: " << argv[0] << " path_to_phrasetable output_dir" << std::endl;
return 1;
}
createProbingPT(argv[1], argv[2]);
util::PrintUsage(std::cout);
return 0;
}