source: app/src/cor/common_cor.cc @ 28e9ae0

help
Last change on this file since 28e9ae0 was 25ae32e, checked in by obrebski <obrebski@…>, 17 years ago

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

  • Property mode set to 100644
File size: 451 bytes
Line 
1#include <stdlib.h>
2#include <string.h>
3#include "common_cor.h"
4
5char dictionary[256];
6
7void process_cor_options(gengetopt_args_info* args)
8{
9  if(args->dictionary_given)
10    {
11      expand_path(args->dictionary_arg,dictionary);
12    }
13  else if (args->dictionary_home_given && args->language_given)
14    {
15      char buf[255];
16      expand_path(args->dictionary_home_arg, buf);
17      sprintf(dictionary,"%s/%s/cor.bin",buf,args->language_arg);
18    }
19}
Note: See TracBrowser for help on using the repository browser.