| var consts = require('../constants'); |
| |
| var EUCTW_cls = [ |
| 2,2,2,2,2,2,2,2, // 00 - 07 |
| 2,2,2,2,2,2,0,0, // 08 - 0f |
| 2,2,2,2,2,2,2,2, // 10 - 17 |
| 2,2,2,0,2,2,2,2, // 18 - 1f |
| 2,2,2,2,2,2,2,2, // 20 - 27 |
| 2,2,2,2,2,2,2,2, // 28 - 2f |
| 2,2,2,2,2,2,2,2, // 30 - 37 |
| 2,2,2,2,2,2,2,2, // 38 - 3f |
| 2,2,2,2,2,2,2,2, // 40 - 47 |
| 2,2,2,2,2,2,2,2, // 48 - 4f |
| 2,2,2,2,2,2,2,2, // 50 - 57 |
| 2,2,2,2,2,2,2,2, // 58 - 5f |
| 2,2,2,2,2,2,2,2, // 60 - 67 |
| 2,2,2,2,2,2,2,2, // 68 - 6f |
| 2,2,2,2,2,2,2,2, // 70 - 77 |
| 2,2,2,2,2,2,2,2, // 78 - 7f |
| 0,0,0,0,0,0,0,0, // 80 - 87 |
| 0,0,0,0,0,0,6,0, // 88 - 8f |
| 0,0,0,0,0,0,0,0, // 90 - 97 |
| 0,0,0,0,0,0,0,0, // 98 - 9f |
| 0,3,4,4,4,4,4,4, // a0 - a7 |
| 5,5,1,1,1,1,1,1, // a8 - af |
| 1,1,1,1,1,1,1,1, // b0 - b7 |
| 1,1,1,1,1,1,1,1, // b8 - bf |
| 1,1,3,1,3,3,3,3, // c0 - c7 |
| 3,3,3,3,3,3,3,3, // c8 - cf |
| 3,3,3,3,3,3,3,3, // d0 - d7 |
| 3,3,3,3,3,3,3,3, // d8 - df |
| 3,3,3,3,3,3,3,3, // e0 - e7 |
| 3,3,3,3,3,3,3,3, // e8 - ef |
| 3,3,3,3,3,3,3,3, // f0 - f7 |
| 3,3,3,3,3,3,3,0 // f8 - ff |
| ]; |
| |
| var EUCTW_st = [ |
| consts.error,consts.error,consts.start, 3, 3, 3, 4,consts.error, //00-07 |
| consts.error,consts.error,consts.error,consts.error,consts.error,consts.error,consts.itsMe,consts.itsMe, //08-0f |
| consts.itsMe,consts.itsMe,consts.itsMe,consts.itsMe,consts.itsMe,consts.error,consts.start,consts.error, //10-17 |
| consts.start,consts.start,consts.start,consts.error,consts.error,consts.error,consts.error,consts.error, //18-1f |
| 5,consts.error,consts.error,consts.error,consts.start,consts.error,consts.start,consts.start, //20-27 |
| consts.start,consts.error,consts.start,consts.start,consts.start,consts.start,consts.start,consts.start //28-2f |
| ]; |
| |
| var EUCTWCharLenTable = [0, 0, 1, 2, 2, 2, 3]; |
| |
| module.exports = { |
| "classTable" : EUCTW_cls, |
| "classFactor" : 7, |
| "stateTable" : EUCTW_st, |
| "charLenTable" : EUCTWCharLenTable, |
| "name" : "x-euc-tw" |
| }; |