Changeset a5fdde9 for app/dist/common/utt_make_config.pl
- Timestamp:
- 04/23/08 16:48:12 (17 years ago)
- Branches:
- master, help
- Children:
- 19dfa5c
- Parents:
- cfed5c1
- git-author:
- pawelk <pawelk@…> (04/23/08 16:48:12)
- git-committer:
- pawelk <pawelk@…> (04/23/08 16:48:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/dist/common/utt_make_config.pl
rff0fc99 ra5fdde9 14 14 conf_utt(catfile($usr_home, 'utt.conf'), $sys_home); 15 15 16 conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home); 16 17 conf_cor(catfile($usr_home, 'cor.conf'), $sys_home); 17 conf_kor(catfile($usr_home, 'kor.conf'), $sys_home); 18 conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home); 18 conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home); 19 19 conf_grp(catfile($usr_home, 'grp.conf'), $sys_home); 20 20 conf_gue(catfile($usr_home, 'gue.conf'), $sys_home); 21 conf_kor(catfile($usr_home, 'kor.conf'), $sys_home); 21 22 conf_lem(catfile($usr_home, 'lem.conf'), $sys_home); 22 23 conf_ser(catfile($usr_home, 'ser.conf'), $sys_home); 23 conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home);24 24 25 25 print "UTT user configuration created in $usr_home\n"; … … 34 34 35 35 if(-d $dir) { 36 print "Old configuration detected. ";37 my $cnt = unlink <$dir/*>;38 print "($cnt files deleted)\n";36 print "Old configuration detected. "; 37 my $cnt = unlink <$dir/*>; 38 print "($cnt files deleted)\n"; 39 39 } 40 40 else { 41 print "Creating directory $dir\n";42 if(1 != mkdir $dir) {43 die "Unable to create UTT user configuration!\n";44 }41 print "Creating directory $dir\n"; 42 if(1 != mkdir $dir) { 43 die "Unable to create UTT user configuration!\n"; 44 } 45 45 } 46 46 } … … 108 108 print FILE makeConfigHeader(); 109 109 print FILE "dictionary-home=", abs_path("$utthome/share/utt"), "\n"; 110 print FILE "weights=", abs_path("$utthome/lib/utt/weights. cor"), "\n";110 print FILE "weights=", abs_path("$utthome/lib/utt/weights.kor"), "\n"; 111 111 print FILE "threshold=1.0\n"; 112 112
Note: See TracChangeset
for help on using the changeset viewer.