Debian Codegraph @

components/chsdet/src/mbclass/HZLangModel.inc

raw
1 const
2 HZCharLenTable: array [0..5] of uInt32 = (0, 0, 0, 0, 0, 0);
3
4 HZ_cls: array [0..255] of Byte = (
5 1,0,0,0,0,0,0,0, // 00 - 07
6 0,0,0,0,0,0,0,0, // 08 - 0f
7 0,0,0,0,0,0,0,0, // 10 - 17
8 0,0,0,1,0,0,0,0, // 18 - 1f
9 0,0,0,0,0,0,0,0, // 20 - 27
10 0,0,0,0,0,0,0,0, // 28 - 2f
11 0,0,0,0,0,0,0,0, // 30 - 37
12 0,0,0,0,0,0,0,0, // 38 - 3f
13 0,0,0,0,0,0,0,0, // 40 - 47
14 0,0,0,0,0,0,0,0, // 48 - 4f
15 0,0,0,0,0,0,0,0, // 50 - 57
16 0,0,0,0,0,0,0,0, // 58 - 5f
17 0,0,0,0,0,0,0,0, // 60 - 67
18 0,0,0,0,0,0,0,0, // 68 - 6f
19 0,0,0,0,0,0,0,0, // 70 - 77
20 0,0,0,4,0,5,2,0, // 78 - 7f
21 1,1,1,1,1,1,1,1, // 80 - 87
22 1,1,1,1,1,1,1,1, // 88 - 8f
23 1,1,1,1,1,1,1,1, // 90 - 97
24 1,1,1,1,1,1,1,1, // 98 - 9f
25 1,1,1,1,1,1,1,1, // a0 - a7
26 1,1,1,1,1,1,1,1, // a8 - af
27 1,1,1,1,1,1,1,1, // b0 - b7
28 1,1,1,1,1,1,1,1, // b8 - bf
29 1,1,1,1,1,1,1,1, // c0 - c7
30 1,1,1,1,1,1,1,1, // c8 - cf
31 1,1,1,1,1,1,1,1, // d0 - d7
32 1,1,1,1,1,1,1,1, // d8 - df
33 1,1,1,1,1,1,1,1, // e0 - e7
34 1,1,1,1,1,1,1,1, // e8 - ef
35 1,1,1,1,1,1,1,1, // f0 - f7
36 1,1,1,1,1,1,1,1 // f8 - ff
37 );
38
39 HZ_st: array [0..47] of Byte = (
40 Byte(eStart),Byte(eError), 3,Byte(eStart),Byte(eStart),Byte(eStart),Byte(eError),Byte(eError),//00-07
41 Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),//08-0f
42 Byte(eItsMe),Byte(eItsMe),Byte(eError),Byte(eError),Byte(eStart),Byte(eStart), 4,Byte(eError),//10-17
43 5,Byte(eError), 6,Byte(eError), 5, 5, 4,Byte(eError),//18-1f
44 4,Byte(eError), 4, 4, 4,Byte(eError), 4,Byte(eError),//20-27
45 4,Byte(eItsMe),Byte(eStart),Byte(eStart),Byte(eStart),Byte(eStart),Byte(eStart),Byte(eStart)//28-2f
46 );
47
48 HZSMModel: SMModel = (
49 classTable: @HZ_cls;
50 classFactor: 6;
51 stateTable: @HZ_st;
52 charLenTable: @HZCharLenTable;
53 CharsetID: HZ_GB_2312_CHARSET;
54 );