mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
run scorer regression test from any directory
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4155 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
1873030d24
commit
3763b2466b
@ -1,6 +1,15 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
|
||||
BEGIN {
|
||||
use Cwd qw/ abs_path /;
|
||||
use File::Basename;
|
||||
my $script_dir = dirname(abs_path($0));
|
||||
print STDERR "script_dir=$script_dir\n";
|
||||
push @INC, $script_dir;
|
||||
}
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use MosesRegressionTesting;
|
||||
use Getopt::Long;
|
||||
|
Loading…
Reference in New Issue
Block a user