Changeset adb4c8d for app


Ignore:
Timestamp:
05/08/08 11:48:30 (17 years ago)
Author:
pawelk <pawelk@…>
Branches:
master, help
Children:
0e3df7e
Parents:
d33e555
git-author:
pawelk <pawelk@…> (05/08/08 11:48:30)
git-committer:
pawelk <pawelk@…> (05/08/08 11:48:30)
Message:

Przygotowana dystrybujca tarball. Czesciowo przetestowane.

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

Location:
app
Files:
1 added
1 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • app/Makefile

    r10c74af radb4c8d  
    1919export UTT_CONF_DIR=${UTT_DIR}/etc/utt 
    2020# language/encoding specific stuff 
     21# any extra files for some programs, like: weights.kor, cats.dgc, gram.dgc, etc. 
    2122export UTT_LANG_DIR=${UTT_DIR}/share/utt 
    2223# some files like ser.l.template, terms.m4 
     
    2930# list of components to be included in the distribution 
    3031COMPONENTS = compiledic cor dgp fla gph grp gue kon kor kot lem mar rm12 rs12 sen-l sen-nl ser tags tok.l unfla 
    31 # gue nie dziala! 
    3232 
    3333############################## 
     
    8888# ------------------------------------------------------------------ 
    8989.PHONY: build 
    90 build: compile build_conf build_lib build_doc 
     90build: compile build_conf build_share build_lib build_doc 
    9191        @echo "All files builded successfully!" 
    9292 
     
    103103        cd $(CUR_DIR)/doc && make && make copy; cd $(CUR_DIR) 
    104104 
     105.PHONY: build_share 
     106build_share: 
     107        cp $(CUR_DIR)/share/* $(UTT_LANG_DIR)/ 
    105108 
    106109 
  • app/TODO

    r6b3be72 radb4c8d  
    11BARDZO WAZNE: 
    22 
    3 * w dystrybucji tarball umieszczac pliki w okreœlonych miejscach 
    4 * gue SIE NIE KOMPILUJE !!! 
     3* zawieszanie sie lema dla wyrazow z pola -I (np. kor) 
     4* komunikaty o nieznalezieniu slownika (lem) [TO] 
    55 
    66WAZNE: 
  • app/conf/compiledic.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 symbols = /usr/local/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym 
     13symbols = PATH_PREFIX/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym 
  • app/conf/cor.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 dictionary-home = /usr/local/share/utt 
     13dictionary-home = PATH_PREFIX/share/utt 
    1414process = W 
  • app/conf/dgc.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 categories = /usr/local/lib/utt/cats.dgc 
    14 grammar = /usr/local/lib/utt/gram.dgc 
     13categories = PATH_PREFIX/share/utt/cats.dgc 
     14grammar = PATH_PREFIX/share/utt/gram.dgc 
  • app/conf/grp.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 macros = /usr/local/lib/utt/terms.m4 
     13macros = PATH_PREFIX/lib/utt/terms.m4 
  • app/conf/kor.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 dictionary-home = /usr/local/share/utt 
    14 weights = /usr/local/lib/utt/weights.kor 
     13dictionary-home = PATH_PREFIX/share/utt 
     14weights = PATH_PREFIX/share/utt/weights.kor 
    1515threshold = 1.0 
  • app/conf/lem.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 dictionary-home = /usr/local/share/utt 
     13dictionary-home = PATH_PREFIX/share/utt 
    1414process = W 
  • app/conf/ser.conf

    ra5fdde9 radb4c8d  
    1111# parameter_name [=] value 
    1212# 
    13 macros = /usr/local/lib/utt/terms.m4 
    14 flex-template = /usr/local/lib/utt/ser.l.template 
     13macros = PATH_PREFIX/lib/utt/terms.m4 
     14flex-template = PATH_PREFIX/lib/utt/ser.l.template 
  • app/dist/struktura.txt

    r6b3be72 radb4c8d  
    2222/usr/local/bin/tre.rb 
    2323/usr/local/bin/unfla 
    24 /usr/local/bin/utt-make-config.pl 
    2524/usr/local/bin/ipi.tag2re 
    2625/usr/local/bin/uam.tag2re 
     
    4645 
    4746/usr/local/share/utt/weights.kor 
    48 # lokalnie: ~/.local/share/utt/weights.kor 
    4947/usr/local/share/utt/cats.dgc 
    50 # lokalnie: ~/.local/share/utt/cats.dgc 
    5148/usr/local/share/utt/gram.dgc 
    52 # lokalnie: ~/.local/share/utt/gram.dgc 
     49# lokalnie: wszystkie pliki beda umieszczone w ~/.local/share/utt/ 
    5350 
    5451/usr/local/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym 
     
    6057/usr/local/share/utt/pl_PL.UTF-8/gue.bin 
    6158/usr/local/share/utt/pl_PL.UTF-8/lem.bin 
     59# lokalnie: wszystkie slowniki beda umieszczone w ~/.local/share/utt/ 
    6260 
    6361/usr/local/lib/utt/ser.l.template 
    6462/usr/local/lib/utt/terms.m4 
    6563/usr/local/lib/utt/seg.rb 
    66 # lokalnie: ~/.local/lib/utt/seg.rb   <-- tego nie trzeba tak 
    6764/usr/local/lib/attr.pm 
    68 # lokalnie: ~/.local/lib/utt/attr.pm 
     65# lokalnie: wszystkie pliki beda umieszczone w ~/.local/lib/utt/ 
    6966 
    7067/usr/local/share/doc/utt/FAQ 
  • app/dist/tarball/Makefile

    rb2647de radb4c8d  
    3333        cp -fr ${UTT_DIST_DIR}/* ${_TARBALL_ROOT} 
    3434        @# we add some extra files 
    35         cp ../common/utt_make_config.pl ${_TARBALL_ROOT}/bin/ 
    36         chmod 755 ${_TARBALL_ROOT}/bin/utt_make_config.pl 
     35        @# config files 
     36        mkdir -p ${_TARBALL_ROOT}/cnf 
     37        mv ${_TARBALL_ROOT}/etc/utt/*.conf ${_TARBALL_ROOT}/cnf/ 
     38        ${DIR}/prepare_conf.sh ${_TARBALL_ROOT}/cnf ${_TARBALL_ROOT}/etc/utt 
     39        rm -rf ${_TARBALL_ROOT}/cnf 
    3740        cp ./INSTALL ${_TARBALL_ROOT}/ 
     41        cp ./Makefile.tarball ${_TARBALL_ROOT}/Makefile 
    3842        cp ../files/* ${_TARBALL_ROOT}/ 
     43 
    3944 
    4045        tar -czf ${UTT_DIST_OUTPUT}/${_TAR_FILE_NAME} utt* 
  • app/src/dgp/canonize

    r6b3be72 radb4c8d  
    77 
    88use lib "/usr/local/lib/utt"; 
    9 use lib "ENV{HOME}/.local/lib/utt"; 
     9use lib "$ENV{'HOME'}/.local/lib/utt"; 
    1010 
    1111use strict; 
  • app/src/dgp/dgc

    r6b3be72 radb4c8d  
    88# wymaga niejawnie programu canonize!!!! 
    99use lib "/usr/local/lib/utt"; 
    10 use lib "ENV{HOME}/.local/lib/utt"; 
     10use lib "$ENV{'HOME'}/.local/lib/utt"; 
    1111 
    1212use strict; 
  • app/src/dgp/tre.rb

    r6b3be72 radb4c8d  
    1 #!/usr/bin/ruby -I /usr/local/lib/utt -I ~/.local/lib/utt 
     1#!/usr/bin/ruby -I /usr/local/lib/utt -I $HOME/.local/lib/utt 
    22 
    33require 'getoptlong' 
     
    6161end 
    6262 
    63 require File.expand_path(File.dirname(__FILE__) + "../lib/utt/seg.rb") 
    64 #require 'seg.rb' 
     63#require File.expand_path(File.dirname(__FILE__) + "../lib/utt/seg.rb") 
     64require 'seg.rb' 
    6565 
    6666$dgpsep=';' 
  • app/src/mar/mar

    r6b3be72 radb4c8d  
    1212 
    1313use lib "/usr/local/lib/utt"; 
    14 use lib "ENV{HOME}/.local/lib/utt"; 
     14use lib "$ENV{'HOME'}/.local/lib/utt"; 
    1515 
    1616use strict; 
Note: See TracChangeset for help on using the changeset viewer.