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

create_localized_moses_ini.pl « regression-testing « scripts - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78a033b3295bfc21070548144536ba433fb2cb5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env perl 

use strict;
my $script_dir; BEGIN { use Cwd qw/ abs_path /; use File::Basename; $script_dir = dirname(abs_path($0)); push @INC, $script_dir; }
use MosesScriptsRegressionTesting;

my $data_dir=$ARGV[0]; shift(@ARGV);
my $conf=$ARGV[0]; shift(@ARGV);

print STDERR "configuration file: |$conf|\n";
print STDERR "data_dir: |$data_dir|\n";

my $local_moses_ini = MosesScriptsRegressionTesting::get_localized_moses_ini($conf, $data_dir);

print STDERR "local_moses_ini: |$local_moses_ini|\n";
print STDOUT "$local_moses_ini\n";