summaryrefslogtreecommitdiffstats
path: root/scripts/pinyin_parser_table.h.in
blob: ef183f83cf92298ee1ccc8f1d700415852076614 (plain)
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
#ifndef PINYIN_PARSER_TABLE_H
#define PINYIN_PARSER_TABLE_H

namespace zhuyin{

const pinyin_index_item_t hanyu_pinyin_index[] = {
@HANYU_PINYIN_INDEX@
};

const pinyin_index_item_t luoma_pinyin_index[] = {
@LUOMA_PINYIN_INDEX@
};

const chewing_index_item_t bopomofo_index[] = {
@BOPOMOFO_INDEX@
};

const pinyin_index_item_t secondary_bopomofo_index[] = {
@SECONDARY_BOPOMOFO_INDEX@
};

const chewing_index_item_t hsu_bopomofo_index[] = {
@HSU_BOPOMOFO_INDEX@
};

const chewing_index_item_t eten26_bopomofo_index[] = {
@ETEN26_BOPOMOFO_INDEX@
};

const content_table_item_t content_table[] = {
@CONTENT_TABLE@
};

#if 0
const divided_table_item_t divided_table[] = {
@DIVIDED_TABLE@
};

const resplit_table_item_t resplit_table[] = {
@RESPLIT_TABLE@
};
#endif

const gint chewing_key_table[CHEWING_NUMBER_OF_INITIALS *
                             CHEWING_NUMBER_OF_MIDDLES *
                             CHEWING_NUMBER_OF_FINALS] = {
@TABLE_INDEX@
};

};

#endif