diff options
author | bhaddow <bhaddow@staffmail.ed.ac.uk> | 2011-08-22 19:16:32 +0400 |
---|---|---|
committer | bhaddow <bhaddow@staffmail.ed.ac.uk> | 2011-08-22 19:16:32 +0400 |
commit | 7b132651e8f7e9a71fc2e35d2f77b17fa0ac6e62 (patch) | |
tree | 234a8acb1820717a2446be45ebdff724909d7e01 /regression-testing | |
parent | c07932cc9c188b3ceac549d97f1f49bad635ad1f (diff) | |
parent | 3763b2466b11830259477f05fcdfed994c270747 (diff) |
Merge branch 'master' into miramerge
Diffstat (limited to 'regression-testing')
4 files changed, 12 insertions, 0 deletions
diff --git a/regression-testing/run-test-scorer.perl b/regression-testing/run-test-scorer.perl index e3395cfa8..22a7b9370 100755 --- a/regression-testing/run-test-scorer.perl +++ b/regression-testing/run-test-scorer.perl @@ -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; diff --git a/regression-testing/tests/score.hierarchical-inv/args.txt b/regression-testing/tests/score.hierarchical-inv/args.txt new file mode 100644 index 000000000..083cb2e96 --- /dev/null +++ b/regression-testing/tests/score.hierarchical-inv/args.txt @@ -0,0 +1 @@ +$data_dir/models/score.hierarchical/extract.inv.sorted $data_dir/models/score.hierarchical/lex.e2f $outPath --Hierarchical --GoodTuring --Inverse diff --git a/regression-testing/tests/score.hierarchical/args.txt b/regression-testing/tests/score.hierarchical/args.txt new file mode 100644 index 000000000..c30bacced --- /dev/null +++ b/regression-testing/tests/score.hierarchical/args.txt @@ -0,0 +1 @@ +$data_dir/models/score.hierarchical/extract $data_dir/models/score.hierarchical/lex.f2e $outPath --Hierarchical --GoodTuring diff --git a/regression-testing/tests/score.phrase-based-with-alignment/args.txt b/regression-testing/tests/score.phrase-based-with-alignment/args.txt new file mode 100644 index 000000000..94d61cfe2 --- /dev/null +++ b/regression-testing/tests/score.phrase-based-with-alignment/args.txt @@ -0,0 +1 @@ +$data_dir/models/score.phrase-based/extract.sorted $data_dir/models/score.phrase-based/lex.f2e $outPath --GoodTuring --WordAlignment |