- Timestamp:
- 05/07/08 20:30:20 (17 years ago)
- Branches:
- master, help
- Children:
- 10c74af
- Parents:
- a7b254c
- git-author:
- pawelk <pawelk@…> (05/07/08 20:30:20)
- git-committer:
- pawelk <pawelk@…> (05/07/08 20:30:20)
- Location:
- app
- Files:
-
- 9 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
app/TODO
rdf77b87 r6b3be72 1 1 BARDZO WAZNE: 2 2 3 * w dystrybucji tarball umieszczac pliki w okrelonych miejscach 3 4 * gue SIE NIE KOMPILUJE !!! 4 5 … … 6 7 * zamienic kota na lepszego (Kubis) [TO] 7 8 * sen - unikaÄ dwukrotnego wstawiania BOSów i EOSów 8 * uniezaleznic mar od attr.pm (ew. wcielic attr.pm) [TO]9 * mar nie obsluguje plikow konfiguracyjnych [JW]10 * ser i grp - parametr tags (zeby bral wskazany program tag2re) [TO]11 9 * polaczyc sen'y [TO] 12 10 * programy z atrybutyem input-field: funkcja process_seg zwraca false, gdy nie ma pola podanego po -I … … 15 13 * (zrobione dla ser?) Nazwy pmdb2re -> pmdb.tag2re (grp, ser). 16 14 * Zadania zwiazane z rozbudowa ser (src/ser/TODO). 17 * Nowa funkcjonalnoÅÄ dla kot? con? - kaÅŒde zdanie w nowym wierszu 15 * Nowa funkcjonalnoÅÄ dla kot? con? - kaÅŒde zdanie w nowym wierszu 18 16 * opcja info w dgp powinna miec domyslna wartosc d lub h 17 18 -
app/dist/common/utt_make_config.pl
r19dfa5c r6b3be72 20 20 conf_gue(catfile($usr_home, 'gue.conf'), $sys_home); 21 21 conf_lem(catfile($usr_home, 'lem.conf'), $sys_home); 22 conf_mar(catfile($usr_home, 'mar.conf'), $sys_home); 22 23 conf_ser(catfile($usr_home, 'ser.conf'), $sys_home); 23 24 conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home); … … 86 87 print FILE makeConfigHeader(); 87 88 print FILE "macros=", abs_path("$utthome/lib/utt/terms.m4"), "\n"; 89 print FILE "tags=uam\n"; 88 90 89 91 close FILE; … … 146 148 } 147 149 150 sub conf_mar() { 151 my $mar_file = shift; 152 my $utthome = shift; 153 open(FILE, ">$mar_file"); 154 155 print FILE makeConfigHeader(); 156 print FILE "tags=uam\n"; 157 158 close FILE; 159 } 160 148 161 sub conf_ser() { 149 162 my $ser_file = shift; … … 154 167 print FILE "macros=", abs_path("$utthome/lib/utt/terms.m4"), "\n"; 155 168 print FILE "flex-template=", abs_path("$utthome/lib/utt/ser.l.template"), "\n"; 169 print FILE "tags=uam\n"; 156 170 157 171 close FILE; -
app/dist/struktura.txt
rdf77b87 r6b3be72 10 10 /usr/local/bin/go ? 11 11 /usr/local/bin/Makefile.go ? 12 /usr/local/bin/attr.pm13 12 /usr/local/bin/gph 14 13 /usr/local/bin/grp … … 29 28 30 29 # R.D. sugeruje /etc/utt 31 # lokalnie: ~/.utt lub (trendy) ~/.config/utt 30 # lokalnie: ~/.utt lub (trendy) ~/.config/utt 32 31 /usr/local/etc/utt/con.conf 33 32 /usr/local/etc/utt/cor.conf … … 46 45 /usr/local/etc/utt/utt.conf 47 46 47 /usr/local/share/utt/weights.kor 48 # lokalnie: ~/.local/share/utt/weights.kor 49 /usr/local/share/utt/cats.dgc 50 # lokalnie: ~/.local/share/utt/cats.dgc 51 /usr/local/share/utt/gram.dgc 52 # lokalnie: ~/.local/share/utt/gram.dgc 53 48 54 /usr/local/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym 49 55 /usr/local/share/utt/pl_PL.ISO-8859-2/cor.bin … … 57 63 /usr/local/lib/utt/ser.l.template 58 64 /usr/local/lib/utt/terms.m4 59 /usr/local/lib/utt/ weights.kor # -> share60 /usr/local/lib/utt/seg.rb # lok. ~/.local/lib/utt/seg.rb 61 /usr/local/lib/ utt/cats.dgc # -> share62 /usr/local/lib/utt/gram.dgc # -> share 65 /usr/local/lib/utt/seg.rb 66 # lokalnie: ~/.local/lib/utt/seg.rb <-- tego nie trzeba tak 67 /usr/local/lib/attr.pm 68 # lokalnie: ~/.local/lib/utt/attr.pm 63 69 64 70 /usr/local/share/doc/utt/FAQ -
app/src/dgp/canonize
r0214596 r6b3be72 6 6 #author: Tomasz Obrebski 7 7 8 use lib "/usr/local/lib/utt"; 9 use lib "ENV{HOME}/.local/lib/utt"; 10 8 11 use strict; 9 12 use Getopt::Long; 10 13 use attr; 11 #use File::HomeDir; 12 #use lib "$ENV{HOME}/.utt/lib/perl"; 14 13 15 14 16 my $help; -
app/src/dgp/dgc
r12d8443 r6b3be72 7 7 8 8 # wymaga niejawnie programu canonize!!!! 9 #use lib "ENV{HOME}/.utt/lib/perl"; 9 use lib "/usr/local/lib/utt"; 10 use lib "ENV{HOME}/.local/lib/utt"; 10 11 11 12 use strict; 12 13 use Getopt::Long; 13 14 use Data::Dumper; 14 15 15 use attr; 16 16 use File::HomeDir; -
app/src/dgp/tre.rb
rcfed5c1 r6b3be72 1 #!/usr/bin/ruby 1 #!/usr/bin/ruby -I /usr/local/lib/utt -I ~/.local/lib/utt 2 2 3 3 require 'getoptlong' … … 61 61 end 62 62 63 load 'seg.rb' 63 require File.expand_path(File.dirname(__FILE__) + "../lib/utt/seg.rb") 64 #require 'seg.rb' 64 65 65 66 $dgpsep=';' -
app/src/grp/grp
rf5d3b20 r6b3be72 14 14 15 15 my $systemconfigfile="/usr/local/etc/utt/grp.conf"; 16 #my $userconfigfile="$ENV{'HOME'}/.utt/grp.conf";17 16 my $userconfigfile=home()."/.utt/grp.conf"; 18 17 -
app/src/mar/mar
r7562131 r6b3be72 6 6 #author: Marcin Walas 7 7 8 #this program tags the tokenized file with given tags 8 #this program tags the tokenized file with given tags 9 9 #tags can be given in any order and configuration through the expression 10 10 #which is one of the parametres of the script 11 11 #contact: d287572@atos.wmid.amu.edu.pl, walasiek@gmail.com 12 13 use lib "/usr/local/lib/utt"; 14 use lib "ENV{HOME}/.local/lib/utt"; 12 15 13 16 use strict; -
app/src/ser/ser
rf5d3b20 r6b3be72 13 13 my $LIB_DIR="/usr/local/lib/utt"; 14 14 my $systemconfigfile='/usr/local/etc/utt/ser.conf'; 15 #my $userconfigfile="$ENV{'HOME'}/.utt/ser.conf";16 15 my $userconfigfile=home()."/.utt/ser.conf"; 17 16
Note: See TracChangeset
for help on using the changeset viewer.