Changeset 2155
- Timestamp:
- 04/30/07 21:45:45 (2 years ago)
- Files:
-
- Trunk/Scripts/Mirroring_scripts/VoxForge_config.pm (modified) (2 diffs)
- Trunk/Scripts/Testing_scripts/NightlyTest.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Trunk/Scripts/Mirroring_scripts/VoxForge_config.pm
r2140 r2155 42 42 #################################################################### 43 43 # Speech Corpus Releases directory - none yet ... 44 #$parms{"Tags"} = "/data/svn-mirror/SpeechCorpus/Tags"; 45 # $parms{"Releases"} = $parms{"Tags"}."/Releases"; 46 # $parms{"CurrentBuild_dir"} = $parms{"Releases"}."/0_1_1-build726"; 47 # $parms{"CurrentAM_16kHz_16bit"} = $parms{"CurrentBuild_dir"}."/AcousticModels/HTK/16kHz-16bit/MFCC_O_D"; 48 # $parms{"CurrentAM_8kHz_16bit"} = $parms{"CurrentBuild_dir"}."/AcousticModels/HTK/8kHz-16bit/MFCC_O_D"; 44 49 45 #################################################################### 50 46 # Nightly build location … … 81 77 #################################################################### 82 78 # Speech Corpus Releases directory - none yet ... 83 # $parms{"Tags"} = "/data/svn-mirror/SpeechCorpus/Tags"; 84 # $parms{"Releases"} = $parms{"Tags"}."/Releases"; 85 # $parms{"CurrentBuild_dir"} = $parms{"Releases"}."/0_1_1-build726"; 86 # $parms{"CurrentAM_16kHz_16bit"} = $parms{"CurrentBuild_dir"}."/AcousticModels/HTK/16kHz-16bit/MFCC_O_D"; 87 # $parms{"CurrentAM_8kHz_16bit"} = $parms{"CurrentBuild_dir"}."/AcousticModels/HTK/8kHz-16bit/MFCC_O_D"; 88 79 $parms{"Tags"} = "/data/svn-mirror/Main/Tags/Releases/"; 80 $parms{"CurrentBuild_dir"} = $parms{"Tags"}."/0_1_1-build726"; 81 $parms{"CurrentAM_16kHz_16bit"} = $parms{"CurrentBuild_dir"}."/AcousticModels/HTK/16kHz-16bit/MFCC_O_D"; 82 $parms{"CurrentAM_8kHz_16bit"} = $parms{"CurrentBuild_dir"}."/AcousticModels/HTK/8kHz-16bit/MFCC_O_D"; 89 83 #################################################################### 90 84 # UserSubmission Location Trunk/Scripts/Testing_scripts/NightlyTest.pm
r2142 r2155 33 33 my $HTKbin = $$parms{"HTKBin"}; 34 34 my $Nightly_test_dir = $$parms{"Nightly_test_dir"}; 35 # print ("Process-CurrentAM_16kHz_16bit:" . $$parms{"CurrentAM_16kHz_16bit"} . ":\n") if $debug;35 print ("Process CurrentAM_16kHz_16bit:" . $$parms{"CurrentAM_16kHz_16bit"} . ":\n") if $debug; 36 36 $command = ("cd $Nightly_test_dir && perl $HTKbin/prompts2mlf testref.mlf testprompts"); print "$command\n" if $debug; system($command); 37 37 my $disclaimer = "DISCLAIMER: this is a *sanity test* only, and is *not* to be regarded as a valid test of the VoxForge Acoustic Models! … … 60 60 my $CurrentBuild_dir = $$parms{"CurrentBuild_dir"}; 61 61 my $CurrentAM_16kHz_16bit = $$parms{"CurrentAM_16kHz_16bit"}; 62 # print ("process CurrentAM_16kHz_16bit:" . $$parms{"CurrentAM_16kHz_16bit"} . ":\n") if $debug;62 print ("Process CurrentAM_16kHz_16bit:" . $$parms{"CurrentAM_16kHz_16bit"} . ":\n") if $debug; 63 63 open(OUTPUT, ">$NightlyAM_16kHz_16bit/TestResults") or die ("cannot write to TestResults file"); # open for output 64 64 print OUTPUT "$disclaimer\n"; … … 67 67 Julian_16kHz_16bit($parms, $NightlyAM_16kHz_16bit) || die "NightlyTest error: $?"; 68 68 PrintNotes(); 69 # !!!!!! 70 # print OUTPUT "\n\n\n================================================================================================================\n"; 71 # print OUTPUT "For comparison purposes, see below for the same Tests on the most current release of the VoxForge Acoustic Models: 72 #($CurrentBuild_dir)\n"; 73 # print OUTPUT "================================================================================================================\n"; 74 # HTK_16kHz_16bit(\%parms, $CurrentAM_16kHz_16bit) || die "NightlyTest error: $?"; 75 # Julian_16kHz_16bit(\%parms, $CurrentAM_16kHz_16bit) || die "NightlyTest error: $?"; 76 # PrintNotes(); 77 # !!!!!! 69 print OUTPUT "\n\n\n================================================================================================================\n"; 70 print OUTPUT "For comparison purposes, see below for the same Tests on the most current release of the VoxForge Acoustic Models: 71 ($CurrentBuild_dir)\n"; 72 print OUTPUT "================================================================================================================\n"; 73 HTK_16kHz_16bit($parms, $CurrentAM_16kHz_16bit) || die "NightlyTest error: $?"; 74 Julian_16kHz_16bit($parms, $CurrentAM_16kHz_16bit) || die "NightlyTest error: $?"; 75 PrintNotes(); 78 76 close(OUTPUT); 79 77 return 1; … … 92 90 Julian_8kHz_16bit($parms, $NightlyAM_8kHz_16bit) || die "NightlyTest error: $?"; 93 91 PrintNotes(); 94 # !!!!!! 95 # print OUTPUT "\n\n\n================================================================================================================\n"; 96 # print OUTPUT "For comparison purposes, see below for the same Tests on the most current release of the VoxForge Acoustic Models: 97 #($CurrentBuild_dir)\n"; 98 # print OUTPUT "================================================================================================================\n"; 99 # print OUTPUT "$disclaimer\n"; 100 # HTK_8kHz_16bit(\%parms, $CurrentAM_8kHz_16bit) || die "NightlyTest error: $?"; 101 # Julian_8kHz_16bit(\%parms, $CurrentAM_8kHz_16bit) || die "NightlyTest error: $?"; 102 # PrintNotes(); 103 # !!!!!! 92 print OUTPUT "\n\n\n================================================================================================================\n"; 93 print OUTPUT "For comparison purposes, see below for the same Tests on the most current release of the VoxForge Acoustic Models: 94 ($CurrentBuild_dir)\n"; 95 print OUTPUT "================================================================================================================\n"; 96 print OUTPUT "$disclaimer\n"; 97 HTK_8kHz_16bit($parms, $CurrentAM_8kHz_16bit) || die "NightlyTest error: $?"; 98 Julian_8kHz_16bit($parms, $CurrentAM_8kHz_16bit) || die "NightlyTest error: $?"; 99 PrintNotes(); 104 100 close(OUTPUT); 105 101 return 1;