diff options
Diffstat (limited to 'regression-testing/tests/phrase.nbest-multi-factor/filter-nbest.pl')
-rwxr-xr-x | regression-testing/tests/phrase.nbest-multi-factor/filter-nbest.pl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/regression-testing/tests/phrase.nbest-multi-factor/filter-nbest.pl b/regression-testing/tests/phrase.nbest-multi-factor/filter-nbest.pl deleted file mode 100755 index 705fceea1..000000000 --- a/regression-testing/tests/phrase.nbest-multi-factor/filter-nbest.pl +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/perl -$x=0; -$oldcode = ""; -while (<>) { - chomp; - ($code,$trans,$featscores,$globscores) = split(/[\s]*\|\|\|[\s]*/,$_); - $x = 0 if $oldcode ne $code; - $x++; - chomp($code); - print "TRANSLATION_${code}_NBEST_${x}=$trans ||| $featscores\n"; - $oldcode = $code; -} |