-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpart.h
69 lines (58 loc) · 1.67 KB
/
part.h
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#ifndef _PART_H_
#define _PART_H_
typedef struct
{
int vgenus;
int actio;
int num;
int casus;
genus_type ngenus;
int gradus;
} part_det;
typedef struct
{
int genus;
int actio;
} inf_det;
typedef struct
{
int casus;
} ger_det;
typedef struct
{
int casus;
} sup_det;
#define PART_IMP1_NOM "ans"
#define PART_IMP1_ROOT "ant"
#define PART_IMP2_NOM "ens"
#define PART_IMP2_ROOT "ent"
#define PART_IMP3_NOM "ens"
#define PART_IMP3_ROOT "ent"
#define PART_IMP3I_NOM "iens"
#define PART_IMP3I_ROOT "ient"
#define PART_IMP4_NOM "iens"
#define PART_IMP4_ROOT "ient"
#define PART_INST_ACT_ROOT "ur"
#define PART_INST_PASS1_ROOT "and"
#define PART_INST_PASS2_ROOT "end"
#define PART_INST_PASS3_ROOT "end"
#define PART_INST_PASS3I_ROOT "iend"
#define PART_INST_PASS4_ROOT "iend"
#define IRI "iri"
#define ESSE "esse"
part_det **part_match(char *vword, char *imp_root, char *sup_root,
coni_type typ);
inf_det *inf_match_simple(char *vword, char *imp_root, char *perf_root,
coni_type typ);
inf_det *inf_match_compound(char *vword, char *iword2, char *imp_root,
char *sup_root, coni_type typ);
ger_det **ger_match(char *vword, char *imp_root, coni_type typ);
sup_det *sup_match(char *vword, char *sup_root, coni_type typ);
part_det **fero_part_match(char *vword, char *imp_pref, char *sup_pref);
inf_det *fero_inf_match_compound(char *vword, char *vword2, char *imp_pref,
char *sup_pref);
inf_det *fero_inf_match_simple(char *vword, char *imp_pref, char *perf_pref);
ger_det **fero_ger_match(char *vword, char *imp_pref);
sup_det *fero_sup_match(char *vword, char *sup_pref);
inf_det *sum_inf_match_simple(char *vword);
#endif