Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CreateProbingPT.cpp « misc - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 96ae797f8443605795fa0619b49f15a1e304597c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
}