- Timestamp:
- 05/08/08 16:38:00 (17 years ago)
- Branches:
- master, help
- Children:
- 9b57c4d
- Parents:
- 0e3df7e
- git-author:
- obrebski <obrebski@…> (05/08/08 16:38:00)
- git-committer:
- obrebski <obrebski@…> (05/08/08 16:38:00)
- Location:
- app
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
app/TODO
r0e3df7e r40358d2 1 1 BARDZO WAZNE: 2 2 3 * zawieszanie sie lema dla wyrazow z pola -I (np. kor) 4 * komunikaty o nieznalezieniu slownika (lem) [ TO]3 * zawieszanie sie lema dla wyrazow z pola -I (np. kor) [ZROBIONE,TO] 4 * komunikaty o nieznalezieniu slownika (lem) [ZROBIONE, TO] 5 5 6 6 WAZNE: … … 8 8 * sen - unikaÄ dwukrotnego wstawiania BOSów i EOSów 9 9 * polaczyc sen'y [TO] 10 * programy z atrybutyem input-field: funkcja process_seg zwraca false, gdy nie ma pola podanego po -I 10 * programy z atrybutyem input-field: funkcja process_seg zwraca false, gdy nie ma pola podanego po -I [ZROBIONE,TO] 11 11 * generowanie i sprawdzanie zaleznosci dla tarballa [PK] 12 12 * przygotowanie dystrybujcji slownikow [PK] 13 * (zrobione dla ser?) Nazwy pmdb2re -> pmdb.tag2re (grp, ser). 13 * (zrobione dla ser?) Nazwy pmdb2re -> pmdb.tag2re (grp, ser). [ZROBIONE,TO] 14 14 * Zadania zwiazane z rozbudowa ser (src/ser/TODO). 15 15 * Nowa funkcjonalnoÅÄ dla kot? con? - kaÅŒde zdanie w nowym wierszu … … 19 19 find: /home/to/work/utt/lang/dist/tarball/utt-0.9.2/share/utt/pl_PL.ISO-8859-2/.svn: Nie ma takiego pliku ani katalogu 20 20 * przyspieszyÄ process_seg() -> obliczanie prefiksów pól z opcji -s i -S raz na poczatku programu, a nie w kolko 21 * kor: nie dziala opcja distance 22 * zunifikowac opcje cor i kor 21 23 -
app/src/common/common.cc
r0e3df7e r40358d2 195 195 // sprawdza istnienie pliku 196 196 int file_accessible(const char* path) { 197 197 return access(path, R_OK); 198 198 } 199 199 -
app/src/cor/common_cor.cc
r25ae32e r40358d2 10 10 { 11 11 expand_path(args->dictionary_arg,dictionary); 12 if(file_accessible(dictionary)!=0) 13 { 14 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 15 exit(1); 16 } 12 17 } 13 18 else if (args->dictionary_home_given && args->language_given) … … 16 21 expand_path(args->dictionary_home_arg, buf); 17 22 sprintf(dictionary,"%s/%s/cor.bin",buf,args->language_arg); 23 if(file_accessible(dictionary)!=0) 24 { 25 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 26 exit(1); 27 } 18 28 } 19 29 } -
app/src/gue/common_guess.cc
r25ae32e r40358d2 16 16 { 17 17 expand_path(args->dictionary_arg,dictionary); 18 if(file_accessible(dictionary)!=0) 19 { 20 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 21 exit(1); 22 } 18 23 } 19 24 else if (args->dictionary_home_given && args->language_given) … … 22 27 expand_path(args->dictionary_home_arg, buf); 23 28 sprintf(dictionary,"%s/%s/lem.bin",buf,args->language_arg); 29 if(file_accessible(dictionary)!=0) 30 { 31 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 32 exit(1); 33 } 24 34 } 25 35 -
app/src/kor/common_cor.cc
rb3179eb r40358d2 16 16 { 17 17 expand_path(args->dictionary_arg,dictionary); 18 if(file_accessible(dictionary)!=0) 19 { 20 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 21 exit(1); 22 } 18 23 } 19 24 else if (args->dictionary_home_given && args->language_given) … … 22 27 expand_path(args->dictionary_home_arg, buf); 23 28 sprintf(dictionary,"%s/%s/cor.bin",buf,args->language_arg); 29 if(file_accessible(dictionary)!=0) 30 { 31 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 32 exit(1); 33 } 24 34 } 25 35 -
app/src/lem/common_lem.cc
r25ae32e r40358d2 11 11 { 12 12 expand_path(args->dictionary_arg,dictionary); 13 if(file_accessible(dictionary)!=0) 14 { 15 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 16 exit(1); 17 } 13 18 } 14 19 else if (args->dictionary_home_given && args->language_given) … … 17 22 expand_path(args->dictionary_home_arg, buf); 18 23 sprintf(dictionary,"%s/%s/lem.bin",buf,args->language_arg); 24 if(file_accessible(dictionary)!=0) 25 { 26 fprintf(stderr,"Cannot open the dictionary file: %s\nAborting.\n",dictionary); 27 exit(1); 28 } 19 29 } 20 30 }
Note: See TracChangeset
for help on using the changeset viewer.