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

github.com/moses-smt/moses-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/phrase.basic-surface-only/filter-stderr.pl2
-rwxr-xr-xtests/phrase.lexicalized-reordering/filter-stderr.pl2
-rwxr-xr-xtests/phrase.multi-factor/filter-stderr.pl2
-rwxr-xr-xtests/phrase.placeholder/filter-stderr.pl2
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";