From 98a119ae926927cc023baf21ce1559eb59ce7007 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Sat, 4 Feb 2017 20:40:37 +0000 Subject: delete moses2 compact test --- .../filter-stderr.pl | 22 --------------- .../filter-stdout.pl | 7 ----- tests/moses2.basic-surface-only.compact/moses.ini | 32 ---------------------- .../to-translate.txt | 6 ---- .../truth/results.txt | 7 ----- 5 files changed, 74 deletions(-) delete mode 100755 tests/moses2.basic-surface-only.compact/filter-stderr.pl delete mode 100755 tests/moses2.basic-surface-only.compact/filter-stdout.pl delete mode 100644 tests/moses2.basic-surface-only.compact/moses.ini delete mode 100644 tests/moses2.basic-surface-only.compact/to-translate.txt delete mode 100644 tests/moses2.basic-surface-only.compact/truth/results.txt diff --git a/tests/moses2.basic-surface-only.compact/filter-stderr.pl b/tests/moses2.basic-surface-only.compact/filter-stderr.pl deleted file mode 100755 index fb31704..0000000 --- a/tests/moses2.basic-surface-only.compact/filter-stderr.pl +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env perl - -BEGIN { use Cwd qw/ abs_path /; use File::Basename; $script_dir = dirname(abs_path($0)); push @INC, "$script_dir/../perllib"; } -use RegTestUtils; - -$x=0; -while (<>) { - chomp; - - if (/^Finished loading LanguageModels/) { - my $time = RegTestUtils::readTime($_); - print "LMLOAD_TIME ~ $time\n"; - } - if (/^Finished loading phrase tables/) { - my $time = RegTestUtils::readTime($_); - print "PTLOAD_TIME ~ $time\n"; - } - next unless /BEST TRANSLATION:/; - my $pscore = RegTestUtils::readHypoScore($_); - $x++; - print "SCORE_$x = $pscore\n"; -} diff --git a/tests/moses2.basic-surface-only.compact/filter-stdout.pl b/tests/moses2.basic-surface-only.compact/filter-stdout.pl deleted file mode 100755 index 0715c2d..0000000 --- a/tests/moses2.basic-surface-only.compact/filter-stdout.pl +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env perl -$x=0; -while (<>) { - chomp; - $x++; - print "TRANSLATION_$x=$_\n"; -} diff --git a/tests/moses2.basic-surface-only.compact/moses.ini b/tests/moses2.basic-surface-only.compact/moses.ini deleted file mode 100644 index 82b43f7..0000000 --- a/tests/moses2.basic-surface-only.compact/moses.ini +++ /dev/null @@ -1,32 +0,0 @@ -# moses.ini for regression test - -[distortion-limit] -4 - -#[beam-threshold] -#0.03 - -[input-factors] -0 - -[mapping] -T 0 - - -[verbose] -2 - -[feature] -KENLM factor=0 order=3 num-features=1 lazyken=0 path=${LM_PATH}/europarl.en.srilm.gz -Distortion -WordPenalty -UnknownWordPenalty -PhraseDictionaryCompact name=pt input-factor=0 output-factor=0 path=${MODEL_PATH}/basic-surface-compact/phrase-table num-features=5 table-limit=20 - -[weight] -WordPenalty0= -0.273416 -KENLM0= 0.142659 -Distortion0= 0.141807 -pt= 0.00402447 0.0685648 0.294089 0.032832 -0.0426082 - - diff --git a/tests/moses2.basic-surface-only.compact/to-translate.txt b/tests/moses2.basic-surface-only.compact/to-translate.txt deleted file mode 100644 index 079abe9..0000000 --- a/tests/moses2.basic-surface-only.compact/to-translate.txt +++ /dev/null @@ -1,6 +0,0 @@ -ich frage sie also , herr präsident : stellen die unterschiedlichen arbeitskosten somit nicht auch eine beschränkung des freien wettbewerbs in der europäischen union dar ? - -schaut man sich die fälligkeitspläne der ausführung des haushalts für die rubriken 2 , 3 , 4 und 7 an , stellt man fest , dass nur durchschnittlich 8 % aller verpflichtungen durch zahlungen gedeckt sind . -vor drei jahren haben wir mit unserer beschäftigungsinitiative begonnen , indem wir kleinen und mittleren unternehmen halfen , chancenkapital zu bekommen . -das parlament will das auf zweierlei weise tun . -nur dann werden die europäischen institutionen auch ihrem auftrag gerecht . diff --git a/tests/moses2.basic-surface-only.compact/truth/results.txt b/tests/moses2.basic-surface-only.compact/truth/results.txt deleted file mode 100644 index 5934dbb..0000000 --- a/tests/moses2.basic-surface-only.compact/truth/results.txt +++ /dev/null @@ -1,7 +0,0 @@ -TRANSLATION_1=i ask you , therefore , mr president , the different labour costs are therefore not a restriction of free competition in the european union ? -TRANSLATION_2= -TRANSLATION_3=if we look at the fälligkeitspläne the implementation of the budget for the categories 2 , 3 , 4 and 7 to , we see that only an average of 8 % of commitments by payments are met . -TRANSLATION_4=three years ago our employment strategy , we started by small and medium-sized enterprises , halfen chancenkapital to obtain . -TRANSLATION_5=parliament wants the in two ways . -TRANSLATION_6=only then will the european institutions to its mandate . -TOTAL_WALLTIME ~ 5 -- cgit v1.2.3