begin to write import iterator
[platform/upstream/libpinyin.git] / src / storage / chewing_enum.h
1 /* This file is generated by python scripts. Don't edit this file directly.
2  */
3
4 #ifndef CHEWING_ENUM_H
5 #define CHEWING_ENUM_H
6
7 namespace pinyin{
8
9 /**
10  * @brief enums of chewing initial element.
11  */
12
13 enum ChewingInitial
14 {
15 CHEWING_ZERO_INITIAL = 0,
16 CHEWING_B = 1,
17 CHEWING_C = 2,
18 CHEWING_CH = 3,
19 CHEWING_D = 4,
20 CHEWING_F = 5,
21 CHEWING_H = 6,
22 CHEWING_G = 7,
23 CHEWING_K = 8,
24 CHEWING_J = 9,
25 CHEWING_M = 10,
26 CHEWING_N = 11,
27 CHEWING_L = 12,
28 CHEWING_R = 13,
29 CHEWING_P = 14,
30 CHEWING_Q = 15,
31 CHEWING_S = 16,
32 CHEWING_SH = 17,
33 CHEWING_T = 18,
34 PINYIN_W = 19,
35 CHEWING_X = 20,
36 PINYIN_Y = 21,
37 CHEWING_Z = 22,
38 CHEWING_ZH = 23,
39 CHEWING_LAST_INITIAL = CHEWING_ZH,
40 CHEWING_NUMBER_OF_INITIALS = CHEWING_LAST_INITIAL + 1
41 };
42
43
44 /**
45  * @brief enums of chewing middle element.
46  */
47
48 enum ChewingMiddle
49 {
50 CHEWING_ZERO_MIDDLE = 0,
51 CHEWING_I = 1,
52 CHEWING_U = 2,
53 CHEWING_V = 3,
54 CHEWING_LAST_MIDDLE = CHEWING_V,
55 CHEWING_NUMBER_OF_MIDDLES = CHEWING_LAST_MIDDLE + 1
56 };
57
58
59 /**
60  * @brief enums of chewing final element.
61  */
62 enum ChewingFinal
63 {
64 CHEWING_ZERO_FINAL = 0,
65 CHEWING_A = 1,
66 CHEWING_AI = 2,
67 CHEWING_AN = 3,
68 CHEWING_ANG = 4,
69 CHEWING_AO = 5,
70 CHEWING_E = 6,
71 INVALID_EA = 7,
72 CHEWING_EI = 8,
73 CHEWING_EN = 9,
74 CHEWING_ENG = 10,
75 CHEWING_ER = 11,
76 CHEWING_NG = 12,
77 CHEWING_O = 13,
78 PINYIN_ONG = 14,
79 CHEWING_OU = 15,
80 PINYIN_IN = 16,
81 PINYIN_ING = 17,
82 CHEWING_LAST_FINAL = PINYIN_ING,
83 CHEWING_NUMBER_OF_FINALS = CHEWING_LAST_FINAL + 1
84 };
85
86
87 /**
88  * @brief enums of chewing tone element.
89  */
90 enum ChewingTone
91 {
92 CHEWING_ZERO_TONE = 0,
93 CHEWING_1 = 1,
94 CHEWING_2 = 2,
95 CHEWING_3 = 3,
96 CHEWING_4 = 4,
97 CHEWING_5 = 5,
98 CHEWING_LAST_TONE = CHEWING_5,
99 CHEWING_NUMBER_OF_TONES = CHEWING_LAST_TONE + 1
100 };
101
102 };
103
104 #endif