Changeset e0cd003 for src/common


Ignore:
Timestamp:
01/18/13 22:43:56 (12 years ago)
Author:
Tomasz Obrebski <to@…>
Branches:
master
Children:
b97a556
Parents:
243d027
git-author:
Tomasz Obrebski <to@…> (01/18/13 22:43:56)
git-committer:
Tomasz Obrebski <to@…> (01/18/13 22:43:56)
Message:

wsp�lny parametr -e usuni�ty
wyg�adzone teksty help

Location:
src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/common/cmdline_common.ggo

    r5f4d9c3 re0cd003  
    44option  "input"         f       "Input file" string no 
    55 
    6 option  "output"        o       "Output file for succesfully processed segments" string no 
    7  
    8 option  "fail"          e       "Output file for unsuccesfully processed segments " string no 
     6option  "output"        o       "Output file" string no 
    97 
    108option  "only-fail"     -       "Print only segments the program failed to process" flag off hidden 
     
    1210option  "no-fail"       -       "Print only segments the program processed" flag off hidden  
    1311 
    14 option  "copy"          c       "Copy succesfully processed segments to standard output" flag off 
     12option  "copy"          c       "Copy succesfully processed segments to output" flag off 
    1513 
    16 option  "process"       p       "Process segments with this tag" string no multiple 
     14option  "process"       p       "Process segments of this type only" string no multiple 
    1715 
    18 option  "select"        s       "Select only segments with this field" string no multiple 
     16option  "select"        s       "Select only segments containing this field" string no multiple 
    1917 
    20 option  "ignore"        S       "Select only segments without this field" string no multiple 
     18option  "ignore"        S       "Select only segments, which doesn't contain this field" string no multiple 
    2119 
    22 option  "output-field"  O       "Output field name" string no 
     20option  "output-field"  O       "Output field name (default: program name)" string no 
    2321 
    24 option  "input-field"   I       "Input field name" string no multiple 
     22option  "input-field"   I       "Input field name (default: the FORM field)" string no multiple 
    2523 
    2624option  "interactive"   i       "Toggle interactive mode" flag off 
     
    2826option  "config"        -       "Configuration file" string typestr="FILENAME" no 
    2927 
    30 option  "one-field"     1       "Print all results in one segments (creates ambiguous annotation)" flag off 
     28option  "one-field"     1       "Print all alternative results in one field (creates compact ambiguous annotation)" flag off 
    3129 
    32 option  "one-line"      -       "Print annotation alternatives as additional fields" flag off 
     30option  "one-line"      -       "Print annotation alternatives as additional fields in the same segment" flag off 
    3331 
    3432option  "language"      -       "Language." string no 
  • src/common/common.cc

    rf4bf33e re0cd003  
    1010FILE* inputf=stdin; 
    1111FILE* outputf=stdout; 
    12 FILE* failedf=stdout; 
    1312bool copy_processed=0; 
    1413bool one_field=false; 
     
    172171    } 
    173172   
    174   if(args->fail_given) 
    175       if(!(failedf=fopen(args->fail_arg,"w"))) 
    176       { 
    177         fprintf(stderr,"Cannot open the output file: %s.\n", args->fail_arg); 
    178         exit(1); 
    179       } 
    180  
    181173  if(args->input_field_given) 
    182174    fieldprefix(args->input_field_arg[0],input_field_prefix); 
Note: See TracChangeset for help on using the changeset viewer.