[go: up one dir, main page]

Menu

[r9]: / src / giati.h  Maximize  Restore  History

Download this file

46 lines (37 with data), 612 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#define MAXCONF 1000
#define MAXLINE 4000
#define MAXWORDS 101
#define MAXWORDLENGTH 100
#define ERROR_TAG -1
#define CLASS_TAG 0
#define MaxProb 10
struct options {
char *work_dir;
char *srilm_dir;
char *corpus_dir;
char *tmp_dir;
char *corpus;
char *lemmas;
char *eagles;
char *align;
char *separator;
char *prefix;
int simbextmax;
int algorithm;
int ngram;
int hts;
char *transducer;
char *automata;
char *table;
char *test;
int reord;
int type;
int beam;
float norm;
float l[MaxProb];
int wordgraphs;
};
typedef struct {
double p[MaxProb];
int n;
} lexicon;