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:
Diffstat (limited to 'tests/moses2.basic-surface-only.compact/filter-stdout.pl')
-rwxr-xr-xtests/moses2.basic-surface-only.compact/filter-stdout.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/moses2.basic-surface-only.compact/filter-stdout.pl b/tests/moses2.basic-surface-only.compact/filter-stdout.pl
new file mode 100755
index 0000000..0715c2d
--- /dev/null
+++ b/tests/moses2.basic-surface-only.compact/filter-stdout.pl
@@ -0,0 +1,7 @@
+#!/usr/bin/env perl
+$x=0;
+while (<>) {
+ chomp;
+ $x++;
+ print "TRANSLATION_$x=$_\n";
+}