Задание 2
Определить энтропию Н(Х,Y) двухбуквенного сочетания и условную энтропию Н(Y/X) заданного текстового сообщения. Х – 32-х буквенный алфавит, Y – 32-х буквенный алфавит.
буква |
_ |
о |
е |
а |
и |
н |
т |
с |
р |
в |
л |
к |
м |
д |
п |
у |
_ |
0 |
133 |
35 |
44 |
155 |
180 |
143 |
168 |
113 |
208 |
63 |
122 |
79 |
86 |
346 |
42 |
о |
230 |
8 |
47 |
0 |
16 |
138 |
125 |
119 |
85 |
162 |
84 |
54 |
113 |
146 |
35 |
1 |
е |
246 |
9 |
23 |
6 |
4 |
188 |
115 |
73 |
100 |
12 |
119 |
61 |
109 |
71 |
16 |
0 |
а |
168 |
0 |
46 |
0 |
4 |
103 |
112 |
71 |
63 |
24 |
60 |
74 |
24 |
50 |
44 |
2 |
и |
220 |
41 |
93 |
22 |
55 |
89 |
92 |
54 |
59 |
49 |
33 |
53 |
65 |
3 |
3 |
2 |
н |
19 |
253 |
114 |
167 |
235 |
96 |
53 |
17 |
0 |
0 |
0 |
9 |
0 |
15 |
0 |
25 |
т |
127 |
168 |
161 |
110 |
71 |
49 |
0 |
49 |
108 |
41 |
0 |
18 |
1 |
3 |
0 |
26 |
с |
35 |
56 |
41 |
14 |
37 |
15 |
199 |
14 |
9 |
21 |
59 |
42 |
6 |
2 |
33 |
8 |
р |
8 |
164 |
127 |
204 |
122 |
13 |
6 |
2 |
1 |
6 |
0 |
10 |
9 |
2 |
1 |
85 |
в |
103 |
126 |
51 |
108 |
18 |
26 |
4 |
26 |
11 |
2 |
27 |
9 |
2 |
4 |
5 |
17 |
л |
4 |
54 |
143 |
20 |
136 |
18 |
1 |
1 |
0 |
0 |
9 |
2 |
0 |
0 |
0 |
27 |
к |
65 |
157 |
15 |
91 |
55 |
7 |
40 |
20 |
26 |
4 |
31 |
1 |
0 |
0 |
0 |
28 |
м |
131 |
71 |
90 |
53 |
30 |
21 |
0 |
0 |
0 |
0 |
2 |
5 |
2 |
0 |
9 |
25 |
д |
10 |
60 |
62 |
66 |
83 |
32 |
0 |
25 |
10 |
6 |
18 |
21 |
0 |
0 |
0 |
23 |
п |
1 |
185 |
58 |
53 |
22 |
1 |
1 |
1 |
169 |
0 |
11 |
0 |
0 |
0 |
19 |
9 |
у |
46 |
0 |
25 |
2 |
0 |
6 |
11 |
21 |
9 |
0 |
17 |
23 |
12 |
22 |
7 |
0 |
я |
137 |
0 |
13 |
0 |
2 |
3 |
22 |
3 |
2 |
10 |
0 |
1 |
13 |
2 |
0 |
0 |
ы |
39 |
0 |
47 |
0 |
0 |
1 |
11 |
13 |
1 |
15 |
1 |
0 |
38 |
0 |
0 |
0 |
з |
25 |
37 |
2 |
59 |
11 |
21 |
0 |
0 |
5 |
29 |
10 |
7 |
12 |
4 |
0 |
6 |
ь |
78 |
0 |
3 |
0 |
0 |
52 |
11 |
7 |
0 |
0 |
0 |
6 |
2 |
0 |
0 |
0 |
б |
1 |
54 |
16 |
8 |
2 |
23 |
0 |
0 |
22 |
0 |
10 |
13 |
1 |
0 |
0 |
15 |
г |
8 |
97 |
4 |
10 |
13 |
19 |
0 |
0 |
10 |
0 |
6 |
1 |
1 |
11 |
0 |
4 |
ч |
0 |
3 |
68 |
58 |
37 |
27 |
26 |
0 |
0 |
0 |
0 |
16 |
1 |
0 |
0 |
1 |
й |
151 |
0 |
0 |
0 |
0 |
2 |
12 |
16 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
х |
64 |
40 |
7 |
2 |
6 |
4 |
0 |
0 |
0 |
6 |
0 |
0 |
0 |
0 |
0 |
0 |
ж |
0 |
0 |
48 |
7 |
11 |
26 |
0 |
0 |
0 |
0 |
0 |
2 |
0 |
6 |
0 |
9 |
ю |
44 |
0 |
0 |
1 |
0 |
0 |
31 |
2 |
3 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
ш |
0 |
6 |
12 |
9 |
18 |
4 |
7 |
0 |
0 |
0 |
2 |
6 |
0 |
0 |
0 |
4 |
ц |
3 |
0 |
12 |
2 |
38 |
0 |
0 |
0 |
0 |
4 |
0 |
0 |
0 |
0 |
0 |
0 |
щ |
0 |
0 |
48 |
11 |
28 |
3 |
0 |
0 |
2 |
0 |
0 |
0 |
0 |
0 |
0 |
5 |
э |
0 |
0 |
0 |
0 |
0 |
2 |
18 |
0 |
0 |
0 |
14 |
3 |
1 |
0 |
0 |
0 |
ф |
2 |
72 |
6 |
3 |
10 |
0 |
0 |
0 |
3 |
0 |
1 |
0 |
0 |
0 |
0 |
2 |
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.