Changeset 6b3be72 for app


Ignore:
Timestamp:
05/07/08 20:30:20 (16 years ago)
Author:
pawelk <pawelk@…>
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)
Message:

Pierwsza przymiarka do umieszczenia plikow w ~/.local/utt. Obsługa nowych opcji domyslnych. Nieskonczona dystrybucja tarball.

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

Location:
app
Files:
9 edited
5 moved

Legend:

Unmodified
Added
Removed
  • app/TODO

    rdf77b87 r6b3be72  
    11BARDZO WAZNE: 
    22 
     3* w dystrybucji tarball umieszczac pliki w okreœlonych miejscach 
    34* gue SIE NIE KOMPILUJE !!! 
    45 
     
    67* zamienic kota na lepszego (Kubis) [TO] 
    78* 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] 
    119* polaczyc sen'y [TO] 
    1210* programy z atrybutyem input-field: funkcja process_seg zwraca false, gdy nie ma pola podanego po -I 
     
    1513* (zrobione dla ser?) Nazwy pmdb2re -> pmdb.tag2re (grp, ser). 
    1614* 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 
    1816* opcja info w dgp powinna miec domyslna wartosc d lub h 
     17 
     18 
  • app/dist/common/utt_make_config.pl

    r19dfa5c r6b3be72  
    2020conf_gue(catfile($usr_home, 'gue.conf'), $sys_home); 
    2121conf_lem(catfile($usr_home, 'lem.conf'), $sys_home); 
     22conf_mar(catfile($usr_home, 'mar.conf'), $sys_home); 
    2223conf_ser(catfile($usr_home, 'ser.conf'), $sys_home); 
    2324conf_dgc(catfile($usr_home, 'dgc.conf'), $sys_home); 
     
    8687  print FILE makeConfigHeader(); 
    8788  print FILE "macros=", abs_path("$utthome/lib/utt/terms.m4"), "\n"; 
     89  print FILE "tags=uam\n"; 
    8890 
    8991  close FILE; 
     
    146148} 
    147149 
     150sub 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 
    148161sub conf_ser() { 
    149162        my $ser_file = shift; 
     
    154167  print FILE "macros=", abs_path("$utthome/lib/utt/terms.m4"), "\n"; 
    155168  print FILE "flex-template=", abs_path("$utthome/lib/utt/ser.l.template"), "\n"; 
     169  print FILE "tags=uam\n"; 
    156170 
    157171  close FILE; 
  • app/dist/struktura.txt

    rdf77b87 r6b3be72  
    1010/usr/local/bin/go               ? 
    1111/usr/local/bin/Makefile.go      ? 
    12 /usr/local/bin/attr.pm 
    1312/usr/local/bin/gph 
    1413/usr/local/bin/grp 
     
    2928 
    3029# R.D. sugeruje /etc/utt 
    31 # lokalnie: ~/.utt lub (trendy) ~/.config/utt  
     30# lokalnie: ~/.utt lub (trendy) ~/.config/utt 
    3231/usr/local/etc/utt/con.conf 
    3332/usr/local/etc/utt/cor.conf 
     
    4645/usr/local/etc/utt/utt.conf 
    4746 
     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 
    4854/usr/local/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8859-2.sym 
    4955/usr/local/share/utt/pl_PL.ISO-8859-2/cor.bin 
     
    5763/usr/local/lib/utt/ser.l.template 
    5864/usr/local/lib/utt/terms.m4 
    59 /usr/local/lib/utt/weights.kor # -> share 
    60 /usr/local/lib/utt/seg.rb # lok. ~/.local/lib/utt/seg.rb 
    61 /usr/local/lib/utt/cats.dgc # -> share 
    62 /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 
    6369 
    6470/usr/local/share/doc/utt/FAQ 
  • app/src/dgp/canonize

    r0214596 r6b3be72  
    66#author:        Tomasz Obrebski 
    77 
     8use lib "/usr/local/lib/utt"; 
     9use lib "ENV{HOME}/.local/lib/utt"; 
     10 
    811use strict; 
    912use Getopt::Long; 
    1013use attr; 
    11 #use File::HomeDir; 
    12 #use lib "$ENV{HOME}/.utt/lib/perl"; 
     14 
    1315 
    1416my $help; 
  • app/src/dgp/dgc

    r12d8443 r6b3be72  
    77 
    88# wymaga niejawnie programu canonize!!!! 
    9 #use lib "ENV{HOME}/.utt/lib/perl"; 
     9use lib "/usr/local/lib/utt"; 
     10use lib "ENV{HOME}/.local/lib/utt"; 
    1011 
    1112use strict; 
    1213use Getopt::Long; 
    1314use Data::Dumper; 
    14  
    1515use attr; 
    1616use 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 
    22 
    33require 'getoptlong' 
     
    6161end 
    6262 
    63 load 'seg.rb' 
     63require File.expand_path(File.dirname(__FILE__) + "../lib/utt/seg.rb") 
     64#require 'seg.rb' 
    6465 
    6566$dgpsep=';' 
  • app/src/grp/grp

    rf5d3b20 r6b3be72  
    1414 
    1515my $systemconfigfile="/usr/local/etc/utt/grp.conf"; 
    16 #my $userconfigfile="$ENV{'HOME'}/.utt/grp.conf"; 
    1716my $userconfigfile=home()."/.utt/grp.conf"; 
    1817 
  • app/src/mar/mar

    r7562131 r6b3be72  
    66#author:        Marcin Walas 
    77 
    8 #this program tags the tokenized file with given tags  
     8#this program tags the tokenized file with given tags 
    99#tags can be given in any order and configuration through the expression 
    1010#which is one of the parametres of the script 
    1111#contact: d287572@atos.wmid.amu.edu.pl, walasiek@gmail.com 
     12 
     13use lib "/usr/local/lib/utt"; 
     14use lib "ENV{HOME}/.local/lib/utt"; 
    1215 
    1316use strict; 
  • app/src/ser/ser

    rf5d3b20 r6b3be72  
    1313my $LIB_DIR="/usr/local/lib/utt"; 
    1414my $systemconfigfile='/usr/local/etc/utt/ser.conf'; 
    15 #my $userconfigfile="$ENV{'HOME'}/.utt/ser.conf"; 
    1615my $userconfigfile=home()."/.utt/ser.conf"; 
    1716 
Note: See TracChangeset for help on using the changeset viewer.