mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 05:14:36 +03:00
21 lines
444 B
C++
21 lines
444 B
C++
#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;
|
|
}
|
|
|