mosesdecoder/moses/TranslationModel/ProbingPT/CreateProbingPT.cpp

21 lines
444 B
C++
Raw Normal View History

2014-06-11 14:47:00 +04:00
#include "util/usage.hh"
#include "storing.hh"
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;
}