Changeset ac7d970 for app/dist


Ignore:
Timestamp:
04/08/08 13:53:51 (17 years ago)
Author:
pawelk <pawelk@…>
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)
Message:

Uaktualnilismy kora.

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@23 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

Location:
app/dist
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • app/dist/common/utt_make_config.pl

    ra4d0da5 rac7d970  
    1515 
    1616conf_cor(catfile($usr_home, 'cor.conf'), $sys_home); 
     17conf_kor(catfile($usr_home, 'kor.conf'), $sys_home); 
    1718conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home); 
    1819conf_grp(catfile($usr_home, 'grp.conf'), $sys_home); 
     
    99100} 
    100101 
     102sub 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 
    101115sub conf_grp() { 
    102116        my $grp_file = shift; 
  • app/dist/struktura.txt

    re1b08a2 rac7d970  
    4444/usr/local/lib/utt/ser.l.template 
    4545/usr/local/lib/utt/terms.m4 
     46/usr/local/lib/utt/weights.cor 
    4647 
    4748/usr/local/share/doc/utt/FAQ 
Note: See TracChangeset for help on using the changeset viewer.