Changeset a5fdde9


Ignore:
Timestamp:
04/23/08 16:48:12 (16 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
Files:
6 added
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • app/conf/cor.conf

    rf1563c0 ra5fdde9  
    1 # Plik konfiguracyjny dla komponentu cor. 
    2  
    3 # kazda linia ma postac: 
    4 # nazwa_parametru [=] wartosc 
    5  
    6 # PRZYKLAD: analizuj tylko slowa 
    7 # p = W 
     1# ************************************************************ 
     2# * This file was created automatically during installation. * 
     3# * If you don't need do not change it.                      * 
     4# *                                                          * 
     5# * UAM Text Tools                                           * 
     6# * Adam Mickiewicz University, Poland                       * 
     7# * http://utt.amu.edu.pl                                    * 
     8# ************************************************************ 
     9# 
     10# All lines must looks like: 
     11# parameter_name [=] value 
     12# 
     13dictionary-home = /usr/local/share/utt 
     14process = W 
  • app/conf/gue.conf

    rf1563c0 ra5fdde9  
    1 # Plik konfiguracyjny dla komponentu gue. 
    2  
    3 # kazda linia ma postac: 
    4 # nazwa_parametru [=] wartosc 
    5  
    6 # PRZYKLAD: analizuj tylko slowa 
    7 # p = W 
    8  
     1# ************************************************************ 
     2# * This file was created automatically during installation. * 
     3# * If you don't need do not change it.                      * 
     4# *                                                          * 
     5# * UAM Text Tools                                           * 
     6# * Adam Mickiewicz University, Poland                       * 
     7# * http://utt.amu.edu.pl                                    * 
     8# ************************************************************ 
     9# 
     10# All lines must looks like: 
     11# parameter_name [=] value 
     12# 
  • app/conf/lem.conf

    rf1563c0 ra5fdde9  
    1 # Plik konfiguracyjny dla komponentu lem. 
    2  
    3 # kazda linia ma postac: 
    4 # nazwa_parametru [=] wartosc 
    5  
    6 # PRZYKLAD: analizuj tylko slowa 
    7 # p = W 
     1# ************************************************************ 
     2# * This file was created automatically during installation. * 
     3# * If you don't need do not change it.                      * 
     4# *                                                          * 
     5# * UAM Text Tools                                           * 
     6# * Adam Mickiewicz University, Poland                       * 
     7# * http://utt.amu.edu.pl                                    * 
     8# ************************************************************ 
     9# 
     10# All lines must looks like: 
     11# parameter_name [=] value 
     12# 
     13dictionary-home = /usr/local/share/utt 
     14process = W 
  • 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 
  • app/src/dgp/Makefile

    rcfed5c1 ra5fdde9  
    4444        # ponizsza linijka jest do usuniecia 
    4545        cp go attr.pm seg.rb $(UTT_BIN_DIR)/ 
    46         cp $(LIB_PATH)/*.dgc $(UTT_BIN_DIR)/../lib/utt/ 
    4746endif 
Note: See TracChangeset for help on using the changeset viewer.