diff options
author | Evgeny Matusov <ematusov@ebay.com> | 2015-11-19 17:27:29 +0300 |
---|---|---|
committer | Evgeny Matusov <ematusov@ebay.com> | 2015-11-19 17:27:29 +0300 |
commit | 398e21c53bd84a0a034d01f3b82b76fff9bc53ef (patch) | |
tree | 9eb2b0914f75e05bbd2c8c937138401aac96c856 | |
parent | e07a00c9733e0fecb8433f1c9d5805d3f0b35c6f (diff) |
updated filters in regtest to work with moses server tests
-rwxr-xr-x | tests/phrase.basic-surface-only/filter-stderr.pl | 2 | ||||
-rwxr-xr-x | tests/phrase.lexicalized-reordering/filter-stderr.pl | 2 | ||||
-rwxr-xr-x | tests/phrase.multi-factor/filter-stderr.pl | 2 | ||||
-rwxr-xr-x | tests/phrase.placeholder/filter-stderr.pl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/phrase.basic-surface-only/filter-stderr.pl b/tests/phrase.basic-surface-only/filter-stderr.pl index 4c279a1..fb31704 100755 --- a/tests/phrase.basic-surface-only/filter-stderr.pl +++ b/tests/phrase.basic-surface-only/filter-stderr.pl @@ -15,7 +15,7 @@ while (<>) { my $time = RegTestUtils::readTime($_); print "PTLOAD_TIME ~ $time\n"; } - next unless /^BEST TRANSLATION:/; + next unless /BEST TRANSLATION:/; my $pscore = RegTestUtils::readHypoScore($_); $x++; print "SCORE_$x = $pscore\n"; diff --git a/tests/phrase.lexicalized-reordering/filter-stderr.pl b/tests/phrase.lexicalized-reordering/filter-stderr.pl index 4c279a1..fb31704 100755 --- a/tests/phrase.lexicalized-reordering/filter-stderr.pl +++ b/tests/phrase.lexicalized-reordering/filter-stderr.pl @@ -15,7 +15,7 @@ while (<>) { my $time = RegTestUtils::readTime($_); print "PTLOAD_TIME ~ $time\n"; } - next unless /^BEST TRANSLATION:/; + next unless /BEST TRANSLATION:/; my $pscore = RegTestUtils::readHypoScore($_); $x++; print "SCORE_$x = $pscore\n"; diff --git a/tests/phrase.multi-factor/filter-stderr.pl b/tests/phrase.multi-factor/filter-stderr.pl index 4c279a1..fb31704 100755 --- a/tests/phrase.multi-factor/filter-stderr.pl +++ b/tests/phrase.multi-factor/filter-stderr.pl @@ -15,7 +15,7 @@ while (<>) { my $time = RegTestUtils::readTime($_); print "PTLOAD_TIME ~ $time\n"; } - next unless /^BEST TRANSLATION:/; + next unless /BEST TRANSLATION:/; my $pscore = RegTestUtils::readHypoScore($_); $x++; print "SCORE_$x = $pscore\n"; diff --git a/tests/phrase.placeholder/filter-stderr.pl b/tests/phrase.placeholder/filter-stderr.pl index 4c279a1..fb31704 100755 --- a/tests/phrase.placeholder/filter-stderr.pl +++ b/tests/phrase.placeholder/filter-stderr.pl @@ -15,7 +15,7 @@ while (<>) { my $time = RegTestUtils::readTime($_); print "PTLOAD_TIME ~ $time\n"; } - next unless /^BEST TRANSLATION:/; + next unless /BEST TRANSLATION:/; my $pscore = RegTestUtils::readHypoScore($_); $x++; print "SCORE_$x = $pscore\n"; |