- Timestamp:
- 05/08/08 11:48:30 (17 years ago)
- 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)
- Location:
- app
- Files:
-
- 1 added
- 1 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Makefile
r10c74af radb4c8d 19 19 export UTT_CONF_DIR=${UTT_DIR}/etc/utt 20 20 # language/encoding specific stuff 21 # any extra files for some programs, like: weights.kor, cats.dgc, gram.dgc, etc. 21 22 export UTT_LANG_DIR=${UTT_DIR}/share/utt 22 23 # some files like ser.l.template, terms.m4 … … 29 30 # list of components to be included in the distribution 30 31 COMPONENTS = 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!32 32 33 33 ############################## … … 88 88 # ------------------------------------------------------------------ 89 89 .PHONY: build 90 build: compile build_conf build_ lib build_doc90 build: compile build_conf build_share build_lib build_doc 91 91 @echo "All files builded successfully!" 92 92 … … 103 103 cd $(CUR_DIR)/doc && make && make copy; cd $(CUR_DIR) 104 104 105 .PHONY: build_share 106 build_share: 107 cp $(CUR_DIR)/share/* $(UTT_LANG_DIR)/ 105 108 106 109 -
app/TODO
r6b3be72 radb4c8d 1 1 BARDZO WAZNE: 2 2 3 * w dystrybucji tarball umieszczac pliki w okrelonych miejscach4 * gue SIE NIE KOMPILUJE !!!3 * zawieszanie sie lema dla wyrazow z pola -I (np. kor) 4 * komunikaty o nieznalezieniu slownika (lem) [TO] 5 5 6 6 WAZNE: -
app/conf/compiledic.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 symbols = /usr/local/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym13 symbols = PATH_PREFIX/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym -
app/conf/cor.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 dictionary-home = /usr/local/share/utt13 dictionary-home = PATH_PREFIX/share/utt 14 14 process = W -
app/conf/dgc.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 categories = /usr/local/lib/utt/cats.dgc14 grammar = /usr/local/lib/utt/gram.dgc13 categories = PATH_PREFIX/share/utt/cats.dgc 14 grammar = PATH_PREFIX/share/utt/gram.dgc -
app/conf/grp.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 macros = /usr/local/lib/utt/terms.m413 macros = PATH_PREFIX/lib/utt/terms.m4 -
app/conf/kor.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 dictionary-home = /usr/local/share/utt14 weights = /usr/local/lib/utt/weights.kor13 dictionary-home = PATH_PREFIX/share/utt 14 weights = PATH_PREFIX/share/utt/weights.kor 15 15 threshold = 1.0 -
app/conf/lem.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 dictionary-home = /usr/local/share/utt13 dictionary-home = PATH_PREFIX/share/utt 14 14 process = W -
app/conf/ser.conf
ra5fdde9 radb4c8d 11 11 # parameter_name [=] value 12 12 # 13 macros = /usr/local/lib/utt/terms.m414 flex-template = /usr/local/lib/utt/ser.l.template13 macros = PATH_PREFIX/lib/utt/terms.m4 14 flex-template = PATH_PREFIX/lib/utt/ser.l.template -
app/dist/struktura.txt
r6b3be72 radb4c8d 22 22 /usr/local/bin/tre.rb 23 23 /usr/local/bin/unfla 24 /usr/local/bin/utt-make-config.pl25 24 /usr/local/bin/ipi.tag2re 26 25 /usr/local/bin/uam.tag2re … … 46 45 47 46 /usr/local/share/utt/weights.kor 48 # lokalnie: ~/.local/share/utt/weights.kor49 47 /usr/local/share/utt/cats.dgc 50 # lokalnie: ~/.local/share/utt/cats.dgc51 48 /usr/local/share/utt/gram.dgc 52 # lokalnie: ~/.local/share/utt/gram.dgc49 # lokalnie: wszystkie pliki beda umieszczone w ~/.local/share/utt/ 53 50 54 51 /usr/local/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym … … 60 57 /usr/local/share/utt/pl_PL.UTF-8/gue.bin 61 58 /usr/local/share/utt/pl_PL.UTF-8/lem.bin 59 # lokalnie: wszystkie slowniki beda umieszczone w ~/.local/share/utt/ 62 60 63 61 /usr/local/lib/utt/ser.l.template 64 62 /usr/local/lib/utt/terms.m4 65 63 /usr/local/lib/utt/seg.rb 66 # lokalnie: ~/.local/lib/utt/seg.rb <-- tego nie trzeba tak67 64 /usr/local/lib/attr.pm 68 # lokalnie: ~/.local/lib/utt/attr.pm65 # lokalnie: wszystkie pliki beda umieszczone w ~/.local/lib/utt/ 69 66 70 67 /usr/local/share/doc/utt/FAQ -
app/dist/tarball/Makefile
rb2647de radb4c8d 33 33 cp -fr ${UTT_DIST_DIR}/* ${_TARBALL_ROOT} 34 34 @# 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 37 40 cp ./INSTALL ${_TARBALL_ROOT}/ 41 cp ./Makefile.tarball ${_TARBALL_ROOT}/Makefile 38 42 cp ../files/* ${_TARBALL_ROOT}/ 43 39 44 40 45 tar -czf ${UTT_DIST_OUTPUT}/${_TAR_FILE_NAME} utt* -
app/src/dgp/canonize
r6b3be72 radb4c8d 7 7 8 8 use lib "/usr/local/lib/utt"; 9 use lib " ENV{HOME}/.local/lib/utt";9 use lib "$ENV{'HOME'}/.local/lib/utt"; 10 10 11 11 use strict; -
app/src/dgp/dgc
r6b3be72 radb4c8d 8 8 # wymaga niejawnie programu canonize!!!! 9 9 use lib "/usr/local/lib/utt"; 10 use lib " ENV{HOME}/.local/lib/utt";10 use lib "$ENV{'HOME'}/.local/lib/utt"; 11 11 12 12 use strict; -
app/src/dgp/tre.rb
r6b3be72 radb4c8d 1 #!/usr/bin/ruby -I /usr/local/lib/utt -I ~/.local/lib/utt1 #!/usr/bin/ruby -I /usr/local/lib/utt -I $HOME/.local/lib/utt 2 2 3 3 require 'getoptlong' … … 61 61 end 62 62 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") 64 require 'seg.rb' 65 65 66 66 $dgpsep=';' -
app/src/mar/mar
r6b3be72 radb4c8d 12 12 13 13 use lib "/usr/local/lib/utt"; 14 use lib " ENV{HOME}/.local/lib/utt";14 use lib "$ENV{'HOME'}/.local/lib/utt"; 15 15 16 16 use strict;
Note: See TracChangeset
for help on using the changeset viewer.