Changeset a5fdde9 for app/dist


Ignore:
Timestamp:
04/23/08 16:48:12 (17 years ago)
Author:
pawelk <pawelk@…>
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)
Message:

Wprowadzilem globalne pliki konfiguracyjne. Dokonalem drobnych poprawek w strukturze.

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

Location:
app/dist
Files:
2 edited

Legend:

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

    rff0fc99 ra5fdde9  
    1414conf_utt(catfile($usr_home, 'utt.conf'), $sys_home); 
    1515 
     16conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home); 
    1617conf_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); 
     18conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home); 
    1919conf_grp(catfile($usr_home, 'grp.conf'), $sys_home); 
    2020conf_gue(catfile($usr_home, 'gue.conf'), $sys_home); 
     21conf_kor(catfile($usr_home, 'kor.conf'), $sys_home); 
    2122conf_lem(catfile($usr_home, 'lem.conf'), $sys_home); 
    2223conf_ser(catfile($usr_home, 'ser.conf'), $sys_home); 
    23 conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home); 
    2424 
    2525print "UTT user configuration created in $usr_home\n"; 
     
    3434 
    3535    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"; 
    3939    } 
    4040    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                } 
    4545    } 
    4646} 
     
    108108  print FILE makeConfigHeader(); 
    109109  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"; 
    111111  print FILE "threshold=1.0\n"; 
    112112 
  • app/dist/struktura.txt

    rff0fc99 ra5fdde9  
    3333/usr/local/etc/utt/grp.conf 
    3434/usr/local/etc/utt/gue.conf 
     35/usr/local/etc/utt/kor.conf 
    3536/usr/local/etc/utt/kot.conf 
    3637/usr/local/etc/utt/lem.conf 
     
    5354/usr/local/lib/utt/ser.l.template 
    5455/usr/local/lib/utt/terms.m4 
    55 /usr/local/lib/utt/weights.cor 
     56/usr/local/lib/utt/weights.kor 
    5657/usr/local/lib/utt/seg.rb 
    5758/usr/local/lib/utt/cats.dgc 
Note: See TracChangeset for help on using the changeset viewer.