diff options
author | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-01 15:09:19 +0400 |
---|---|---|
committer | hieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-10-01 15:09:19 +0400 |
commit | 6faf20707c505cf879734e94d32036676d34b74f (patch) | |
tree | 7580a0b3578c9c301b5e47c244c90d3b57a40cd7 /regression-testing | |
parent | f51239cf68950f05eda8841432fceac3d0a82cf3 (diff) |
roll back kenlm tests. Binarizy files are OS-dependent
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4285 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'regression-testing')
-rwxr-xr-x | regression-testing/run-test-suite.perl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/regression-testing/run-test-suite.perl b/regression-testing/run-test-suite.perl index 8a05e15bb..b36eb42f4 100755 --- a/regression-testing/run-test-suite.perl +++ b/regression-testing/run-test-suite.perl @@ -23,15 +23,15 @@ my @tests = qw ( chart.target-syntax.ondisk chart.hierarchical chart.hierarchical-withsrilm - chart.hierarchical-withkenlm + #chart.hierarchical-withkenlm chart.hierarchical.ondisk phrase.basic-surface-only phrase.basic-surface-only-withirstlm phrase.basic-surface-only-withirstlm-binlm - phrase.basic-surface-only-withkenlm - phrase.basic-surface-only-withkenlm.bin + #phrase.basic-surface-only-withkenlm + #phrase.basic-surface-only-withkenlm.bin phrase.basic-lm-oov - phrase.basic-lm-oov-withkenlm + #phrase.basic-lm-oov-withkenlm phrase.ptable-filtering phrase.multi-factor phrase.multi-factor-drop @@ -59,6 +59,7 @@ use POSIX qw ( strftime ); my $decoderPhrase = "$Bin/../moses-cmd/src/moses"; my $decoderChart = "$Bin/../moses-chart-cmd/src/moses_chart"; my $scoreExe = "$Bin/../scripts/training/phrase-extract/score"; +my $kenlmBinarizer = "$Bin/../kenlm/build_binary"; my $test_dir; my $BIN_TEST = $script_dir; my $data_dir; @@ -110,6 +111,10 @@ foreach my $test (@tests) { $cmd .= "$BIN_TEST/run-test-mert.perl $test_run"; } + elsif ($test = /^kenlmbin/) + { + $cmd .= "$BIN_TEST/run-kenlm-binarizer.perl --binarizer=$kenlmBinarizer"; + } else { print "FAIL"; |