From df32a9366f2aa23a0ad7e59bf529b021dce75f04 Mon Sep 17 00:00:00 2001 From: Ulrich Germann Date: Mon, 17 Aug 2015 15:20:51 +0100 Subject: Removed tests for PhraseDictionaryDynSuffixArray as that has been removed from Moses. --- tests/phrase.dyn-sa/alignment | 10 ------ tests/phrase.dyn-sa/filter-stderr.pl | 22 ------------ tests/phrase.dyn-sa/filter-stdout.pl | 7 ---- tests/phrase.dyn-sa/moses.ini | 37 --------------------- .../reordering-table.wbe-msd-bidirectional-fe.gz | Bin 958657 -> 0 bytes tests/phrase.dyn-sa/to-translate.txt | 1 - tests/phrase.dyn-sa/train.en | 10 ------ tests/phrase.dyn-sa/train.fr | 10 ------ tests/phrase.dyn-sa/truth/results.txt | 3 -- 9 files changed, 100 deletions(-) delete mode 100644 tests/phrase.dyn-sa/alignment delete mode 100755 tests/phrase.dyn-sa/filter-stderr.pl delete mode 100755 tests/phrase.dyn-sa/filter-stdout.pl delete mode 100644 tests/phrase.dyn-sa/moses.ini delete mode 100644 tests/phrase.dyn-sa/reordering-table.wbe-msd-bidirectional-fe.gz delete mode 100644 tests/phrase.dyn-sa/to-translate.txt delete mode 100644 tests/phrase.dyn-sa/train.en delete mode 100644 tests/phrase.dyn-sa/train.fr delete mode 100644 tests/phrase.dyn-sa/truth/results.txt diff --git a/tests/phrase.dyn-sa/alignment b/tests/phrase.dyn-sa/alignment deleted file mode 100644 index 551edfa..0000000 --- a/tests/phrase.dyn-sa/alignment +++ /dev/null @@ -1,10 +0,0 @@ -0-0 1-1 2-2 4-3 3-4 4-5 5-5 5-7 6-8 7-9 8-9 8-10 10-11 9-12 10-12 -0-0 1-1 3-2 4-4 6-11 7-12 10-13 12-14 13-15 14-16 15-17 16-18 17-20 18-21 19-22 20-23 21-24 22-25 23-26 24-27 25-28 26-29 27-29 33-33 34-34 -0-0 1-1 1-2 3-7 4-8 5-9 6-10 7-10 8-10 9-11 -0-0 1-1 2-4 3-5 -0-0 0-1 1-3 2-4 4-5 5-6 6-7 8-8 9-9 10-10 11-11 12-12 13-13 14-14 16-19 17-20 18-21 19-22 20-23 21-24 22-25 23-26 24-27 25-28 -0-0 1-1 2-2 3-5 4-8 5-8 8-9 -0-0 1-1 2-2 3-3 5-4 4-5 5-5 6-6 -0-0 1-1 2-2 3-3 5-4 4-6 6-7 9-8 10-9 11-10 -0-0 1-1 2-1 3-3 5-4 7-7 8-8 9-9 10-10 10-12 12-16 13-17 14-18 15-19 16-20 17-21 -0-0 3-1 4-2 6-3 7-4 8-5 9-5 10-6 11-7 12-8 12-9 13-10 14-11 diff --git a/tests/phrase.dyn-sa/filter-stderr.pl b/tests/phrase.dyn-sa/filter-stderr.pl deleted file mode 100755 index 2f6e176..0000000 --- a/tests/phrase.dyn-sa/filter-stderr.pl +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/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/phrase.dyn-sa/filter-stdout.pl b/tests/phrase.dyn-sa/filter-stdout.pl deleted file mode 100755 index 476ddf6..0000000 --- a/tests/phrase.dyn-sa/filter-stdout.pl +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/perl -$x=0; -while (<>) { - chomp; - $x++; - print "TRANSLATION_$x=$_\n"; -} diff --git a/tests/phrase.dyn-sa/moses.ini b/tests/phrase.dyn-sa/moses.ini deleted file mode 100644 index 0d60dbd..0000000 --- a/tests/phrase.dyn-sa/moses.ini +++ /dev/null @@ -1,37 +0,0 @@ -# MERT optimized configuration -# decoder /hltsrv0/nicruiz/software/moses/bin/moses -# BLEU 0.265018 on dev /hltsrv5/nicruiz/iwslt2012/data/parallel/ted/dev2010.en-fr.uc.en -# We were before running iteration 13 -# finished Sat Aug 25 22:04:41 CEST 2012 -### MOSES CONFIG FILE ### -######################### - -# input factors -[input-factors] -0 - -# mapping steps -[mapping] -0 T 0 - -[distortion-limit] -6 - -[feature] -WordPenalty -Distortion -PhraseDictionaryDynSuffixArray table-limit=20 num-features=5 input-factor=0 output-factor=0 source=${TEST_PATH}/train.en target=${TEST_PATH}/train.fr alignment=${TEST_PATH}/alignment -LexicalReordering path=${TEST_PATH}/reordering-table.wbe-msd-bidirectional-fe.gz num-features=6 type=wbe-msd-bidirectional-fe-allff input-factor=0 output-factor=0 -UnknownWordPenalty - -[weight] -WordPenalty0= -0.0999758666666667 -Distortion0= 0.0487008666666667 -PhraseDictionaryDynSuffixArray0= 0.0472502 0.0402256 0.117295233333333 1 2 -LexicalReordering0= 0.0731629 0.0540319 0.0711986 0.225381 0.00174342 0.0398109333333333 - - - - - - diff --git a/tests/phrase.dyn-sa/reordering-table.wbe-msd-bidirectional-fe.gz b/tests/phrase.dyn-sa/reordering-table.wbe-msd-bidirectional-fe.gz deleted file mode 100644 index fcd482d..0000000 Binary files a/tests/phrase.dyn-sa/reordering-table.wbe-msd-bidirectional-fe.gz and /dev/null differ diff --git a/tests/phrase.dyn-sa/to-translate.txt b/tests/phrase.dyn-sa/to-translate.txt deleted file mode 100644 index 43079aa..0000000 --- a/tests/phrase.dyn-sa/to-translate.txt +++ /dev/null @@ -1 +0,0 @@ -origami ? diff --git a/tests/phrase.dyn-sa/train.en b/tests/phrase.dyn-sa/train.en deleted file mode 100644 index 363f225..0000000 --- a/tests/phrase.dyn-sa/train.en +++ /dev/null @@ -1,10 +0,0 @@ -My talk is " Flapping Birds and Space Telescopes . " -And you would think that should have nothing to do with one another , but I hope by the end of these 18 minutes , you 'll see a little bit of a relation . -It ties to origami . So let me start . -What is origami ? -Most people think they know what origami is . It 's this : flapping birds , toys , cootie catchers , that sort of thing . -And that is what origami used to be . -But it 's become something else . -It 's become an art form , a form of sculpture . -The common theme -- what makes it origami -- is folding is how we create the form . -You know , it 's very old . This is a plate from 1797 . diff --git a/tests/phrase.dyn-sa/train.fr b/tests/phrase.dyn-sa/train.fr deleted file mode 100644 index 4e0656c..0000000 --- a/tests/phrase.dyn-sa/train.fr +++ /dev/null @@ -1,10 +0,0 @@ -Ma conférence s' intitule " Oiseaux en papier et Télescopes spatiaux " . -et vous pensez probablement que les uns et les autres n' ont rien en commun , mais j' espère qu' à l' issue de ces 18 minutes , vous comprendrez ce qui les relie . -Le point commun , c' est l' origami . Alors commençons ! -Qu' est-ce que l' origami ? -La plupart des gens pensent connaître l' origami . C' est cela : des oiseaux en papier , des jouets , des coin-coin , ce genre de chose . -Et c' est bien ainsi qu' était l' origami . -Mais c' est devenu autre chose . -C' est devenu une forme d' art , de sculpture . -Le thème central --la spécificité de l' origami -- réside dans le pliage , dans la façon de créer une forme . -Tout cela est ancien . Voici une gravure datant de 1797 . diff --git a/tests/phrase.dyn-sa/truth/results.txt b/tests/phrase.dyn-sa/truth/results.txt deleted file mode 100644 index e9570a5..0000000 --- a/tests/phrase.dyn-sa/truth/results.txt +++ /dev/null @@ -1,3 +0,0 @@ -TRANSLATION_1=origami ? -SCORE_1 = 3.711 -TOTAL_WALLTIME ~ 2 -- cgit v1.2.3