Ignore:
Timestamp:
04/11/08 12:48:20 (17 years ago)
Author:
pawelk <pawelk@…>
Branches:
master, help
Children:
aa9f1bc
Parents:
635ee52
git-author:
pawelk <pawelk@…> (04/11/08 12:48:20)
git-committer:
pawelk <pawelk@…> (04/11/08 12:48:20)
Message:

Dolozylismy dwie opcje do kora: wyswietlanie lub nie wynikow oraz wyswietlanie liczby najlepszych zmian.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/src/kor/common_cor.cc

    rac7d970 rb3179eb  
    88char file_weights[MAX_PATH_LENGTH]; 
    99float threshold; 
     10bool show_scores = false; 
     11int result_count; 
    1012 
    1113void process_cor_options(gengetopt_args_info* args) 
     
    2527   
    2628  threshold = args->threshold_arg; 
     29 
     30  show_scores = args->show_scores_flag; 
     31 
     32  if(args->count_given) { 
     33    result_count = args->count_arg; 
     34  } 
     35  else { 
     36    result_count = 0; 
     37  } 
    2738} 
Note: See TracChangeset for help on using the changeset viewer.