Debian Codegraph @

components/chsdet/src/mbclass/EUCKRLangModel.inc

raw
1 const
2 EUCKRCharLenTable: array [0..3] of byte = (0, 1, 2, 0);
3
4 //PCK4BITS(0,1,1,1,1,1,1,1, // 00 - 07
5
6 EUCKR_cls: array [0..255] of byte = (
7 1,1,1,1,1,1,1,1, // 00 - 07
8 1,1,1,1,1,1,0,0, // 08 - 0f
9 1,1,1,1,1,1,1,1, // 10 - 17
10 1,1,1,0,1,1,1,1, // 18 - 1f
11 1,1,1,1,1,1,1,1, // 20 - 27
12 1,1,1,1,1,1,1,1, // 28 - 2f
13 1,1,1,1,1,1,1,1, // 30 - 37
14 1,1,1,1,1,1,1,1, // 38 - 3f
15 1,1,1,1,1,1,1,1, // 40 - 47
16 1,1,1,1,1,1,1,1, // 48 - 4f
17 1,1,1,1,1,1,1,1, // 50 - 57
18 1,1,1,1,1,1,1,1, // 58 - 5f
19 1,1,1,1,1,1,1,1, // 60 - 67
20 1,1,1,1,1,1,1,1, // 68 - 6f
21 1,1,1,1,1,1,1,1, // 70 - 77
22 1,1,1,1,1,1,1,1, // 78 - 7f
23 0,0,0,0,0,0,0,0, // 80 - 87
24 0,0,0,0,0,0,0,0, // 88 - 8f
25 0,0,0,0,0,0,0,0, // 90 - 97
26 0,0,0,0,0,0,0,0, // 98 - 9f
27 0,2,2,2,2,2,2,2, // a0 - a7
28 2,2,2,2,2,3,3,3, // a8 - af
29 2,2,2,2,2,2,2,2, // b0 - b7
30 2,2,2,2,2,2,2,2, // b8 - bf
31 2,2,2,2,2,2,2,2, // c0 - c7
32 2,3,2,2,2,2,2,2, // c8 - cf
33 2,2,2,2,2,2,2,2, // d0 - d7
34 2,2,2,2,2,2,2,2, // d8 - df
35 2,2,2,2,2,2,2,2, // e0 - e7
36 2,2,2,2,2,2,2,2, // e8 - ef
37 2,2,2,2,2,2,2,2, // f0 - f7
38 2,2,2,2,2,2,2,0 // f8 - ff
39 );
40
41 EUCKR_st: array [0..15] of byte = (
42 byte(eError),byte(eStart), 3,byte(eError),byte(eError),byte(eError),byte(eError),byte(eError), //00-07
43 byte(eItsMe),byte(eItsMe),byte(eItsMe),byte(eItsMe),byte(eError),byte(eError),byte(eStart),byte(eStart) //08-0f
44 );
45
46 EUCKRLangModel: SMModel =(
47 classTable: @EUCKR_cls;
48 classFactor: 4;
49 stateTable: @EUCKR_st;
50 charLenTable: @EUCKRCharLenTable;
51 CharsetID: EUC_KR_CHARSET;
52 );
53 // EUCKRLangModel: SMModel =(
54 // classTable: (
55 // idxsft: eIdxSft4bits;
56 // sftmsk: eSftMsk4bits;
57 // bitsft: eBitSft4bits;
58 // unitmsk: eUnitMsk4bits;
59 // data: @EUCKR_cls;
60 // );
61 // classFactor: 4;
62 // stateTable: (
63 // idxsft: eIdxSft4bits;
64 // sftmsk: eSftMsk4bits;
65 // bitsft: eBitSft4bits;
66 // unitmsk: eUnitMsk4bits;
67 // data: @EUCKR_st;
68 // );
69 // charLenTable: @EUCKRCharLenTable;
70 // CharsetID: EUC_KR_CHARSET;
71 // );