-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_data_for_english.py
63 lines (61 loc) · 9 KB
/
model_data_for_english.py
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
53
54
55
56
57
58
59
60
61
62
63
m_A = [
[0.000875, 0.033688, 0.040297, 0.044716, 0.000210, 0.006774, 0.015462, 0.000878, 0.020435, 0.000462, 0.017561, 0.090717, 0.034561, 0.180649, 0.000084, 0.024740, 0.000175, 0.094763, 0.090733, 0.114521, 0.011841, 0.035971, 0.004849, 0.001324, 0.028951, 0.004258, 0.100505],
[0.118378, 0.004881, 0.001394, 0.000552, 0.219727, 0.000121, 0.000116, 0.000111, 0.047573, 0.002538, 0.000073, 0.165212, 0.000646, 0.000384, 0.131836, 0.001569, 0.000019, 0.035311, 0.011315, 0.003044, 0.179676, 0.001873, 0.002334, 0.000070, 0.024805, 0.000021, 0.046423],
[0.182035, 0.001356, 0.011016, 0.007153, 0.145697, 0.000597, 0.000066, 0.128324, 0.022492, 0.000013, 0.067653, 0.030994, 0.000553, 0.000207, 0.176884, 0.001011, 0.000253, 0.035332, 0.006617, 0.111905, 0.024403, 0.000061, 0.000075, 0.000288, 0.003525, 0.000076, 0.041413],
[0.029019, 0.001355, 0.001368, 0.009846, 0.122368, 0.000352, 0.003156, 0.000964, 0.080334, 0.002946, 0.000138, 0.007148, 0.003512, 0.008740, 0.063921, 0.007017, 0.000018, 0.020211, 0.028566, 0.001747, 0.023486, 0.009949, 0.001450, 0.000298, 0.008040, 0.000017, 0.564035],
[0.058042, 0.002060, 0.034276, 0.062716, 0.026292, 0.007140, 0.003056, 0.000822, 0.007516, 0.000090, 0.001261, 0.033395, 0.022394, 0.068213, 0.004869, 0.008543, 0.002414, 0.132024, 0.070057, 0.036333, 0.000335, 0.020349, 0.010305, 0.012879, 0.012041, 0.000392, 0.362186],
[0.059570, 0.000086, 0.000349, 0.000173, 0.093717, 0.050905, 0.000128, 0.000089, 0.118361, 0.000023, 0.000010, 0.026506, 0.002931, 0.000114, 0.234114, 0.000504, 0.000005, 0.066289, 0.001010, 0.044072, 0.035827, 0.000034, 0.000369, 0.000338, 0.002178, 0.000275, 0.262023],
[0.036814, 0.007459, 0.000134, 0.000072, 0.146251, 0.000144, 0.013828, 0.137537, 0.046549, 0.000006, 0.000019, 0.018076, 0.001559, 0.020602, 0.088918, 0.004525, 0.000004, 0.073745, 0.021054, 0.004722, 0.016435, 0.000024, 0.000074, 0.000099, 0.003014, 0.000063, 0.358274],
[0.188889, 0.000482, 0.000524, 0.005845, 0.409376, 0.000381, 0.000054, 0.000126, 0.130062, 0.000011, 0.000067, 0.002978, 0.000587, 0.001486, 0.079810, 0.000855, 0.000043, 0.007838, 0.003842, 0.033955, 0.006411, 0.000092, 0.000252, 0.000101, 0.003789, 0.000874, 0.121272],
[0.009328, 0.005166, 0.061336, 0.029585, 0.026405, 0.024651, 0.035196, 0.000060, 0.000879, 0.000013, 0.012513, 0.039808, 0.024195, 0.207846, 0.040681, 0.014458, 0.000274, 0.023374, 0.129804, 0.181935, 0.000733, 0.024461, 0.000074, 0.002260, 0.000060, 0.005756, 0.099149],
[0.063166, 0.007800, 0.000192, 0.000269, 0.075899, 0.000212, 0.000115, 0.000247, 0.013604, 0.000215, 0.000221, 0.001058, 0.000215, 0.000131, 0.151580, 0.007182, 0.000035, 0.000417, 0.000570, 0.000109, 0.663450, 0.007448, 0.000186, 0.000054, 0.000045, 0.000016, 0.005563],
[0.016101, 0.003314, 0.000444, 0.000802, 0.345207, 0.000921, 0.003118, 0.000868, 0.106378, 0.000177, 0.000988, 0.013343, 0.001547, 0.033369, 0.015533, 0.004008, 0.000012, 0.000591, 0.114148, 0.006400, 0.007588, 0.001119, 0.002437, 0.000131, 0.013053, 0.000013, 0.308390],
[0.082948, 0.001259, 0.002997, 0.049096, 0.178574, 0.005960, 0.000382, 0.000108, 0.108435, 0.000008, 0.004462, 0.144920, 0.004808, 0.000264, 0.074318, 0.004001, 0.000007, 0.003421, 0.024902, 0.017414, 0.029576, 0.001914, 0.003042, 0.000109, 0.101387, 0.000031, 0.155659],
[0.138154, 0.013384, 0.002624, 0.000814, 0.230467, 0.005355, 0.000158, 0.000884, 0.061597, 0.000033, 0.000267, 0.001005, 0.027182, 0.000563, 0.126163, 0.072854, 0.000004, 0.000937, 0.024636, 0.000839, 0.034344, 0.000156, 0.001984, 0.000551, 0.101445, 0.000076, 0.153524],
[0.023338, 0.000489, 0.027984, 0.172127, 0.099635, 0.003932, 0.128845, 0.000810, 0.034317, 0.000865, 0.008607, 0.013878, 0.000706, 0.016455, 0.075385, 0.001907, 0.000046, 0.000397, 0.048137, 0.083946, 0.009095, 0.003275, 0.000291, 0.000106, 0.020234, 0.000070, 0.225125],
[0.006344, 0.010029, 0.009651, 0.028723, 0.008170, 0.054393, 0.006009, 0.000519, 0.009556, 0.000473, 0.012585, 0.024343, 0.056305, 0.153926, 0.039913, 0.019203, 0.000015, 0.131685, 0.023740, 0.064347, 0.133569, 0.017341, 0.035394, 0.003045, 0.001890, 0.000278, 0.148554],
[0.081679, 0.000293, 0.008525, 0.006502, 0.142405, 0.001092, 0.004119, 0.043318, 0.045178, 0.000027, 0.000102, 0.122177, 0.003141, 0.001202, 0.098568, 0.050249, 0.000066, 0.149347, 0.027316, 0.038810, 0.055009, 0.000281, 0.000247, 0.000390, 0.008290, 0.000037, 0.111632],
[0.002291, 0.000090, 0.003051, 0.000279, 0.000271, 0.000174, 0.000025, 0.000072, 0.000847, 0.000033, 0.000025, 0.000279, 0.000112, 0.000181, 0.000901, 0.000116, 0.000062, 0.000565, 0.001252, 0.000311, 0.965412, 0.000380, 0.001021, 0.000134, 0.000033, 0.000098, 0.021986],
[0.071172, 0.002666, 0.011222, 0.031879, 0.240337, 0.010012, 0.011486, 0.000855, 0.070243, 0.000103, 0.026505, 0.004898, 0.011754, 0.014189, 0.088605, 0.005952, 0.000040, 0.011453, 0.043865, 0.033810, 0.011345, 0.003218, 0.001878, 0.000111, 0.039602, 0.000029, 0.252774],
[0.021232, 0.004372, 0.012537, 0.001951, 0.122389, 0.002152, 0.000124, 0.028958, 0.057881, 0.000018, 0.005310, 0.009082, 0.007898, 0.006850, 0.071563, 0.021564, 0.000436, 0.000370, 0.032098, 0.114177, 0.027425, 0.000074, 0.004118, 0.000177, 0.010796, 0.000008, 0.436441],
[0.033271, 0.000427, 0.005611, 0.000387, 0.083122, 0.000344, 0.000299, 0.300254, 0.059812, 0.000006, 0.000032, 0.010731, 0.001303, 0.000325, 0.098571, 0.000960, 0.000001, 0.023128, 0.019947, 0.024772, 0.018028, 0.003942, 0.007868, 0.000164, 0.014786, 0.000119, 0.291793],
[0.033195, 0.012156, 0.047546, 0.019566, 0.022303, 0.005029, 0.053416, 0.000303, 0.024262, 0.000411, 0.000258, 0.071552, 0.018388, 0.100794, 0.001675, 0.054829, 0.000011, 0.116624, 0.161688, 0.163087, 0.000169, 0.001227, 0.000025, 0.001173, 0.014337, 0.000840, 0.075135],
[0.031781, 0.000115, 0.003090, 0.017553, 0.694427, 0.000137, 0.001595, 0.001479, 0.169669, 0.000007, 0.000018, 0.000255, 0.001066, 0.000127, 0.027819, 0.000636, 0.000002, 0.003872, 0.003026, 0.000220, 0.000226, 0.000319, 0.000098, 0.000836, 0.006745, 0.000024, 0.034858],
[0.174105, 0.001087, 0.000111, 0.001410, 0.135059, 0.001218, 0.000242, 0.137907, 0.232496, 0.000005, 0.000678, 0.003003, 0.000650, 0.026844, 0.148390, 0.000516, 0.000006, 0.010019, 0.024157, 0.000206, 0.000140, 0.000027, 0.000440, 0.000061, 0.000119, 0.000032, 0.101071],
[0.053688, 0.012021, 0.112764, 0.003063, 0.048724, 0.000826, 0.000319, 0.002475, 0.050742, 0.000045, 0.000039, 0.002514, 0.005782, 0.000140, 0.001560, 0.245915, 0.000230, 0.000992, 0.004220, 0.207644, 0.002440, 0.000895, 0.000944, 0.003770, 0.003872, 0.000118, 0.234260],
[0.002927, 0.011376, 0.001623, 0.000702, 0.041356, 0.000168, 0.000098, 0.000207, 0.017056, 0.000008, 0.000046, 0.003950, 0.003267, 0.002722, 0.159818, 0.007403, 0.000007, 0.000714, 0.034921, 0.011784, 0.000234, 0.000039, 0.004524, 0.000079, 0.000110, 0.000071, 0.694792],
[0.039022, 0.000288, 0.000248, 0.001162, 0.396410, 0.000158, 0.000158, 0.000248, 0.128829, 0.000032, 0.000081, 0.003806, 0.003684, 0.000597, 0.288916, 0.000431, 0.000053, 0.001889, 0.001336, 0.000398, 0.025429, 0.000540, 0.000183, 0.000926, 0.019645, 0.023288, 0.062242],
[0.110412, 0.045698, 0.047346, 0.030920, 0.020578, 0.041112, 0.020297, 0.033756, 0.103946, 0.004906, 0.004515, 0.027242, 0.043171, 0.024137, 0.052759, 0.039861, 0.003947, 0.024772, 0.065005, 0.150884, 0.018462, 0.009156, 0.058879, 0.000773, 0.016488, 0.000979, 0.000000]]
m_B = [
[1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0]]
m_PI = [0.110412, 0.045698, 0.047346, 0.030920, 0.020578, 0.041112, 0.020297, 0.033756, 0.103946, 0.004906, 0.004515, 0.027242, 0.043171, 0.024137, 0.052759, 0.039861, 0.003947, 0.024772, 0.065005, 0.150884, 0.018462, 0.009156, 0.058879, 0.000773, 0.016488, 0.000979, 0.000000]
if __name__ == "__main__":
print sum(m_A[0])
print sum(m_A[1])
print sum(m_A[2])