|
Revision 2270, 2.3 kB
(checked in by kmaclean, 1 year ago)
|
Flac audio processing updates & GPL v3 updates
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
package QuickStart; |
|---|
| 25 |
use strict; |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
my $command; |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
sub Process { |
|---|
| 33 |
my ($parms, $Nightly_subdir) = @_; |
|---|
| 34 |
my $debug = $$parms{"debug"}; |
|---|
| 35 |
my $QSdir = $$parms{"QSdir"}; |
|---|
| 36 |
my $Nightly_dirname = $$parms{"Nightly_dirname"}; |
|---|
| 37 |
my $HTKdir = $$parms{"HTK_dir"}; |
|---|
| 38 |
$command = ("cp -r $QSdir $Nightly_dirname"); print "$command\n" if $debug;system($command) == 0 or die "system $command failed: $?"; |
|---|
| 39 |
|
|---|
| 40 |
my $TargetQSlindir =("$Nightly_dirname/QuickStart/Linux/julius-3.5.2-quickstart-linux/acoustic_model_files"); |
|---|
| 41 |
$command = ("cp $HTKdir/interim_files/hmm15/hmmdefs $TargetQSlindir"); print "$command\n" if $debug;system($command) == 0 or die "system $command failed: $?"; |
|---|
| 42 |
$command = ("cp $HTKdir/interim_files/tiedlist $TargetQSlindir");print "$command\n" if $debug;system($command) == 0 or die "system $command failed: $?"; |
|---|
| 43 |
|
|---|
| 44 |
my $TargetQSwindir =("$Nightly_dirname/QuickStart/Windows/julius-3.5.2-quickstart-windows/acoustic_model_files"); |
|---|
| 45 |
$command = ("cp $HTKdir/interim_files/hmm15/hmmdefs $TargetQSwindir"); print "$command\n" if $debug;system($command) == 0 or die "system $command failed: $?"; |
|---|
| 46 |
$command = ("cp $HTKdir/interim_files/tiedlist $TargetQSwindir"); print "$command\n" if $debug;system($command) == 0 or die "system $command failed: $?"; |
|---|
| 47 |
return 1; |
|---|
| 48 |
} |
|---|
| 49 |
1; |
|---|