Changeset ff0fc99


Ignore:
Timestamp:
04/22/08 21:11:12 (17 years ago)
Author:
pawelk <pawelk@…>
Branches:
master, help
Children:
cfed5c1
Parents:
b6109b9
git-author:
pawelk <pawelk@…> (04/22/08 21:11:12)
git-committer:
pawelk <pawelk@…> (04/22/08 21:11:12)
Message:

Poprawilem dystrybucje z dgp. Pewne pliki sa jeszcze niedokonczone.

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

Location:
app
Files:
1 deleted
3 edited
1 moved

Legend:

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

    rac7d970 rff0fc99  
    2121conf_lem(catfile($usr_home, 'lem.conf'), $sys_home); 
    2222conf_ser(catfile($usr_home, 'ser.conf'), $sys_home); 
     23conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home); 
    2324 
    2425print "UTT user configuration created in $usr_home\n"; 
     
    214215        return $best_locale; 
    215216} 
     217 
     218sub conf_dgc() { 
     219        my $dgc_file = shift; 
     220        my $utthome = shift; 
     221  open(FILE, ">$dgc_file"); 
     222 
     223  print FILE makeConfigHeader(); 
     224  print FILE "categories=", abs_path("$utthome/lib/utt/cats.dgc"), "\n"; 
     225  print FILE "grammar=", abs_path("$utthome/lib/utt/gram.dgc"), "\n"; 
     226 
     227  close FILE; 
     228   
     229   
     230  open(FILE, ">$utthome/bin/Makefile.go"); 
     231  print FILE "\ngram.dgp: ", abs_path("$utthome/lib/utt/gram.dgc"), "\n"; 
     232  print FILE "\tdgc -c ", abs_path("$utthome/lib/utt/cats.dgc"), " < ", abs_path("$utthome/lib/utt/gram.dgc"), " > gram.dgp\n"; 
     233  close FILE; 
     234   
     235} 
     236 
  • app/dist/struktura.txt

    rac7d970 rff0fc99  
    11/usr/local/bin/aut2fsa 
     2/usr/local/bin/canonize 
    23/usr/local/bin/compiledic 
    34/usr/local/bin/con 
    45/usr/local/bin/cor 
     6/usr/local/bin/dgc 
     7/usr/local/bin/dgp 
    58/usr/local/bin/fla 
    69/usr/local/bin/fsm2aut 
     10/usr/local/bin/go               ? 
     11/usr/local/bin/Makefile.go      ? 
     12/usr/local/bin/attr.pm 
     13/usr/local/bin/gph 
    714/usr/local/bin/grp 
    815/usr/local/bin/gue 
     
    1421/usr/local/bin/ser 
    1522/usr/local/bin/tok 
     23/usr/local/bin/tre.rb 
    1624/usr/local/bin/unfla 
    1725/usr/local/bin/utt-make-config.pl 
     
    2129/usr/local/etc/utt/con.conf 
    2230/usr/local/etc/utt/cor.conf 
     31/usr/local/etc/utt/dgc.conf 
    2332/usr/local/etc/utt/fla.conf 
    2433/usr/local/etc/utt/grp.conf 
     
    4554/usr/local/lib/utt/terms.m4 
    4655/usr/local/lib/utt/weights.cor 
     56/usr/local/lib/utt/seg.rb 
     57/usr/local/lib/utt/cats.dgc 
     58/usr/local/lib/utt/gram.dgc 
    4759 
    4860/usr/local/share/doc/utt/FAQ 
  • app/src/dgp/Makefile

    rb6109b9 rff0fc99  
    22 
    33SHELL = /bin/sh 
     4LIB_PATH=../../lib 
    45 
    56#vpath %.o  . 
     
    4041copy: 
    4142ifdef UTT_BIN_DIR 
    42         cp dgp dgc canonize $(UTT_BIN_DIR) 
     43        cp dgp dgc canonize tre.rb $(UTT_BIN_DIR)/ 
     44        cp go attr.pm $(UTT_BIN_DIR)/ 
     45        cp $(LIB_PATH)/*.dgc $(UTT_BIN_DIR)/../lib/utt/ 
    4346endif 
Note: See TracChangeset for help on using the changeset viewer.