Changeset ac7d970 for app/dist/common/utt_make_config.pl
- Timestamp:
- 04/08/08 13:53:51 (17 years ago)
- Branches:
- master, help
- Children:
- 0214596
- Parents:
- 317d53b
- git-author:
- pawelk <pawelk@…> (04/08/08 13:53:51)
- git-committer:
- pawelk <pawelk@…> (04/08/08 13:53:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/dist/common/utt_make_config.pl
ra4d0da5 rac7d970 15 15 16 16 conf_cor(catfile($usr_home, 'cor.conf'), $sys_home); 17 conf_kor(catfile($usr_home, 'kor.conf'), $sys_home); 17 18 conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home); 18 19 conf_grp(catfile($usr_home, 'grp.conf'), $sys_home); … … 99 100 } 100 101 102 sub conf_kor() { 103 my $kor_file = shift; 104 my $utthome = shift; 105 open(FILE, ">$kor_file"); 106 107 print FILE makeConfigHeader(); 108 print FILE "dictionary-home=", abs_path("$utthome/share/utt"), "\n"; 109 print FILE "weights=", abs_path("$utthome/lib/utt/weights.cor"), "\n"; 110 print FILE "threshold=1.0\n"; 111 112 close FILE; 113 } 114 101 115 sub conf_grp() { 102 116 my $grp_file = shift;
Note: See TracChangeset
for help on using the changeset viewer.