mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
21 lines
477 B
C++
21 lines
477 B
C++
#include "util/usage.hh"
|
|
#include "moses/TranslationModel/ProbingPT/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;
|
|
}
|
|
|