mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 15:04:05 +03:00
a25193cc5d
This is lint reported by the new lint-checking functionality in beautify.py. (We can change to a different lint checker if we have a better one, but it would probably still flag these same problems.) Lint checking can help a lot, but only if we get the lint under control.
19 lines
559 B
Perl
Executable File
19 lines
559 B
Perl
Executable File
#!/usr/bin/env perl
|
|
|
|
use warnings;
|
|
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";
|
|
|