{"id":415341,"date":"2024-06-30T00:19:00","date_gmt":"2024-06-30T00:19:00","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=415341"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-30T00:19:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=415341","title":{"rendered":"<span>\u0427\u0430\u0441\u0442\u043e\u0442\u043d\u044b\u0439 \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u043d\u0430 Python<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h2>\n<p>\u041f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0434\u043b\u044f <a href=\"https:\/\/habr.com\/ru\/post\/583800\/\" rel=\"noopener noreferrer nofollow\">\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <\/a>\u0443\u0437\u043d\u0430\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u044c (\u043a\u0430\u043a \u0431\u0430\u0437\u043e\u0432\u0443\u044e, \u0442\u0430\u043a \u0438 \u043f\u0430\u0440\u043d\u0443\u044e) \u0431\u0443\u043a\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0430\u0445. <\/p>\n<p>\u041f\u043e\u0431\u0440\u043e\u0434\u0438\u0432 \u043f\u043e \u0431\u0435\u0441\u043a\u0440\u0430\u0439\u043d\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u044f \u0441 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 \u0442\u0430\u043a\u0443\u044e \u0431\u0430\u0437\u043e\u0432\u043e \u043f\u0440\u043e\u0441\u0442\u0443\u044e, \u0438 \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0443 \u043f\u0440\u0435\u0441\u0442\u0443\u043f\u043d\u043e \u043c\u0430\u043b\u043e. \u0418\u0445 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e \u043f\u0430\u043b\u044c\u0446\u0430\u043c. <\/p>\n<p>\u0414\u043b\u044f \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e 12 \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 \u0434\u043b\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0438, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u043e\u043b\u044c\u043a\u043e 3 \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u043c\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u043c\u0438, \u0438 5 \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 (\u043f\u0430\u0440\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u044c), \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u043e\u0439 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0445\u0432\u0430\u0441\u0442\u0430\u0442\u044c \u043b\u0438\u0448\u044c 2. <\/p>\n<p>\u0414\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u2013 7 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0438, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 3 \u0431\u0435\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0438, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0436\u0435 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u0445\u00d710<sup>6<\/sup> \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u2013 3, \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0434\u0435\u043b\u0430\u043d \u043f\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0435 \u00ab\u041f\u0440\u0435\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u0438 \u043d\u0430\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u00bb, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u0430 5.000 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. <\/p>\n<p>\u041d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u043e\u0431\u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u043b\u043e \u0441 \u043c\u0435\u043d\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c\u0438 \u044f\u0437\u044b\u043a\u0430\u043c\u0438. <\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u2013 &#171;\u0410 \u0437\u0430\u0447\u0435\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u044d\u0442\u0430 \u043a\u0443\u0447\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432? \u0423\u0436\u0435 \u0432\u0435\u0434\u044c \u0435\u0441\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0435\u0433\u043e \u0443\u0436 \u0431\u043e\u043b\u0435\u0435&#187;. \u041d\u043e \u043d\u0435\u0442. \u041e\u0441\u043d\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043b\u044c\u0437\u044f. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 (\u0438 \u0431\u0443\u0434\u0443\u0442) \u0440\u0430\u0437\u043d\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0446\u0435\u043b\u043e\u0439 \u043a\u0443\u0447\u0438 \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u2013 \u0442\u0435\u043a\u0441\u0442\u044b \u0425\u0430\u0431\u0440\u0430 \u0441 \u0432\u043a\u0440\u0430\u043f\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u043e\u0434\u0430 \u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0433\u0430\u0437\u0435\u0442\u043d\u043e\u0435 \u0438\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f), \u0432\u0435\u044f\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438 (\u0433\u043e\u0434\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f), \u043b\u0438\u0447\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u0430\u0432\u0442\u043e\u0440\u0430 (\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0431\u043e\u0440\u043e\u043a \u043f\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c\u0443 \u0430\u0432\u0442\u043e\u0440\u0443), \u0434\u0438\u0430\u043b\u0435\u043a\u0442 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435. \u041a \u0441\u043b\u043e\u0432\u0443, \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0440\u0430\u0437\u043d\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043b\u0438\u043d\u0433\u0432\u0438\u0441\u0442\u043e\u0432, \u0434\u0438\u0430\u043b\u0435\u043a\u0442\u043e\u043b\u043e\u0433\u043e\u0432, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u043c \u0434\u043b\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u0441\u043a\u0438\u0445 \u0440\u0430\u0431\u043e\u0442, \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0438 \u043d\u0435\u0442? <\/p>\n<p>\u0414\u043b\u044f \u043c\u043e\u0438\u0445 \u0436\u0435 \u0446\u0435\u043b\u0435\u0439 \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0432 \u0432\u0430\u043a\u0443\u0443\u043c\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0435 \u044d\u0442\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u044b, \u043f\u0443\u0441\u0442\u044c \u0438 \u043c\u0430\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435, \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0432\u043c\u0435\u0441\u0442\u0435. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e\u0433\u043e \u0431\u044b\u043b\u043e \u043c\u0430\u043b\u043e, \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u043c\u0438. <\/p>\n<p>\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0430 Python, \u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u043d\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0434\u0430\u043b, \u0447\u0442\u043e \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0432\u043d\u043e\u0441\u0438\u0442 \u0441\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434 \u0432 \u043c\u0430\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432. \u0411\u044b\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u044b\u0435 50-\u0441\u0442\u0440\u043e\u0447\u043d\u0438\u043a\u0438 \u0432 \u043e\u0442\u0432\u0435\u0442\u0430\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u0440\u043e\u0434\u0430 stackoverflow, \u043d\u043e \u044d\u0442\u043e \u0432\u0440\u044f\u0434 \u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c, \u0438 \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u044c \u043d\u0430 \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u0445 \u0442\u0430\u043a\u0436\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f. <\/p>\n<p>\u0422\u0430\u043a\u0430\u044f \u043f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f \u0443 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 <code>frequency-analysis<\/code>. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 \u0432\u044b\u0448\u0435\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u043c, \u043d\u043e \u0441\u0432\u043e\u0438 \u0446\u0435\u043b\u0438 \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.<\/p>\n<h2>\u041f\u0430\u043a\u0435\u0442<\/h2>\n<p>\u041f\u0430\u043a\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442 \u043a\u0430\u043a \u0432 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438, \u0442\u0430\u043a \u0438 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u2013 \u043e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u043e 4 \u0442\u0438\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f 4 \u0442\u0438\u043f\u043e\u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432: <\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u2013 \u043e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438, \u0441\u0440\u0435\u0434\u043d\u044f\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f; <\/p>\n<p>\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u2013 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u044b, \u0441\u043b\u043e\u0432\u0430, \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u043b\u043e\u0432. <\/p>\n<p>\u0412\u0441\u0435 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 sqlite db, \u0430 \u043f\u043e\u0441\u043b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 excel \u0444\u0430\u0439\u043b, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0433\u0434\u0435-\u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440 \u0430\u043d\u0430\u043b\u0438\u0437\u0430<\/h2>\n<p>\u0421\u0430\u043c\u044b\u043c \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u044d\u0442\u0430\u043f\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0438\u0441\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043a \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044e \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u0437\u0430\u043a\u0440\u044b\u0442\u0430, \u0438 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 API \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c. <\/p>\n<p>\u0414\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043a\u043e\u0440\u043f\u0443\u0441\u0430\u043c\u0438 <a href=\"http:\/\/opencorpora.org\/\" rel=\"noopener noreferrer nofollow\">http:\/\/opencorpora.org\/<\/a> \u0438 <a href=\"http:\/\/www.euromatrixplus.net\/multi-un\/\" rel=\"noopener noreferrer nofollow\">http:\/\/www.euromatrixplus.net\/multi-un\/<\/a> \u0434\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u043e\u0432, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u0430\u043a\u0435\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<pre><code class=\"python\">> pip install frequency-analysis<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c \u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u0443-\u0442\u043e\u043f\u0438\u043a\u0441\u0442\u0430\u0440\u0442\u0435\u0440\u0443.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u0446\u0435\u043b\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>bs4<\/code>, \u0430 \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 .xml \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>lxml<\/code>:<\/p>\n<pre><code class=\"python\">> pip install beautifulsoup4 lxml<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u043f\u0430\u043a\u0435\u0442\u0435 <code>frequency-analysis<\/code> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u0432\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 \u2013 <code>Analysis<\/code> \u0438 <code>Result<\/code>, \u043e\u0431\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439, \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0430\u043c\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u041a\u043b\u0430\u0441\u0441 <code>Analysis<\/code> \u0438\u043c\u0435\u0435\u0442 5 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<ul>\n<li>\n<p><code>name<\/code> \u2013 \u0438\u043c\u044f, \u0432 \u043f\u0430\u043f\u043a\u0435 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d \u0430\u043d\u0430\u043b\u0438\u0437. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 <code>'frequency_analysis'<\/code>;<\/p>\n<\/li>\n<li>\n<p><code>mode<\/code> \u2013 \u0440\u0435\u0436\u0438\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430. 3 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430:<\/p>\n<ul>\n<li>\n<p><code>'n'<\/code> \u2013 (\u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435) \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437, \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u044b, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0430\u043d\u0430\u043b\u0438\u0437\u0443 \u0441 \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c, \u0443\u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u2013 \u043e\u0448\u0438\u0431\u043a\u0430;<\/p>\n<\/li>\n<li>\n<p><code>'a'<\/code> \u2013 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438\u043c\u0435\u044e\u0449\u0438\u0439\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0437 \u043d\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438;<\/p>\n<\/li>\n<li>\n<p><code>'c'<\/code> \u2013 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437. \u0415\u0441\u043b\u0438 \u0430\u043d\u0430\u043b\u0438\u0437 \u0431\u044b\u043b \u043f\u0440\u0435\u0440\u0432\u0430\u043d, \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u044b\u0431\u043e\u0440\u043a\u0443 (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0451\u043c!), \u0438 \u0430\u043d\u0430\u043b\u0438\u0437 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0441\u044f \u0441 \u043c\u0435\u0441\u0442\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>word_pattern<\/code> \u2013 regex \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f &#171;\u0432\u043d\u0443\u0442\u0440\u0438\u0441\u043b\u043e\u0432\u043d\u044b\u0445&#187; \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0421 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0441\u043b\u043e\u0432 \u043e\u0442 \u043b\u0438\u0448\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 &#171;\u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439&#187; \u0443\u0447\u0451\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 \u0432\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0430, \u0440\u0443\u0441\u0441\u043a\u0430\u044f \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0430, \u043d\u0430 \u043d\u0435 \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043e\u0434\u0438\u043d \u0434\u0435\u0444\u0438\u0441 \u0438\u043b\u0438 \u043e\u0434\u043d\u0430 \u043a\u0430\u0432\u044b\u0447\u043a\u0430-\u0430\u043f\u043e\u0441\u0442\u0440\u043e\u0444. \u0427\u0443\u0442\u044c \u043c\u043e\u043d\u0441\u0442\u0440\u0443\u043e\u0437\u043d\u044b\u0439 regex \u0432\u0438\u0434:<\/p>\n<\/li>\n<\/ul>\n<pre><code>'[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+(?:(?:-?[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+)+|\\'?[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+)|[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]'<\/code><\/pre>\n<ul>\n<li>\n<p><code>allowed_symbols<\/code> \u2013 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0442\u0435\u043d\u044b \u0434\u043b\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0421\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439, \u0442\u0430\u043a \u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0445 unicode\u2013\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 \u0432\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0430, \u0440\u0443\u0441\u0441\u043a\u0430\u044f \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0430, \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043f\u0443\u043d\u043a\u0442\u0443\u0430\u0446\u0438\u044f (<code>'[*range(32, 127), 1025, *range(1040, 1104), 1105]'<\/code>);<\/p>\n<\/li>\n<li>\n<p><code>yo<\/code> \u2013 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0442\u0438\u043f, \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0432\u0435\u0440\u0445-\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b <s>\u0434\u043b\u044f \u0445\u043e\u043b\u0438\u0432\u0430\u0440\u043e\u0432 \u043d\u0430 \u0442\u0435\u043c\u0443 &#171;\u0435 \u0438\u043b\u0438 \u0451&#187;<\/s> \u2013 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438\u0437 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u043b\u043e\u0432\u0430 \u0441 \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u0438 \u0441 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0448\u0438\u0431\u043e\u0447\u043d\u044b\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0447\u0435\u0440\u0435\u0437 &#171;\u0435&#187;. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f &#171;\u0432 \u043b\u043e\u0431&#187; \u2013 \u0431\u0435\u0437 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0445 \u0435\u0434\u0438\u043d\u0438\u0446, \u0431\u0435\u0437 \u0441\u043b\u043e\u0432\u043e\u0444\u043e\u0440\u043c, \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432. \u041d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0432\u0441\u0435\u0445 \u044d\u0442\u0438\u0445 \u0441\u043b\u043e\u0432 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 <code>False<\/code>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u044f \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438, \u043a\u0440\u043e\u043c\u0435 <code>yo<\/code>. \u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0440\u044f\u0434\u043e\u043c \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u0432\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u0430 \u2013 <code>yo.txt<\/code> \u0438 <code>ye-yo.txt<\/code>, \u0434\u043b\u044f \u0441\u043b\u043e\u0432 \u0441 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u044b\u043c \u0438 \u0441 \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0447\u0435\u0440\u0435\u0437 &#171;\u0451&#187;, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u042f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0441\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u0412. \u0422. \u0427\u0443\u043c\u0430\u043a\u043e\u0432\u0430 \u00ab\u0423\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u0431\u0443\u043a\u0432\u044b \u0401. \u0421\u043b\u043e\u0432\u0430\u0440\u0438 \u0438 \u0441\u0442\u0430\u0442\u044c\u0438\u00bb (\u041c.: &#171;\u041d\u0430\u0440\u043e\u0434\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435&#187;, 2009), \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439 \u0431\u043e\u043b\u0435\u0435 15.000 \u0441\u043b\u043e\u0432. \u041e\u0447\u0438\u0449\u0435\u043d\u043d\u0443\u044e \u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u0443\u044e \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u0432\u0438\u0434 \u0432\u0435\u0440\u0441\u0438\u044e \u044d\u0442\u0438\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0432 <a href=\"https:\/\/github.com\/uqqu\/yo_dict\" rel=\"noopener noreferrer nofollow\">\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a>.<\/p>\n<p>\u0412\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u2013 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0432 \u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043b\u0430\u0441\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043d\u0430 \u0432\u044b\u0437\u043e\u0432.<\/p>\n<p>\u041c\u0435\u0442\u043e\u0434\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 \u0432\u0441\u0435\u0433\u043e \u0442\u0440\u0438 \u2013 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 <code>count_symbols()<\/code>, \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u043b\u043e\u0432 <code>count_words()<\/code>\u0438 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0432\u0441\u0435\u0433\u043e <code>count_all()<\/code>.<\/p>\n<p>\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b:<\/p>\n<ul>\n<li>\n<p><code>word_list<\/code> \u2013 \u043d\u0430\u0448 \u0441\u043f\u0438\u0441\u043e\u043a (<code>type: list<\/code>) \u0441\u043b\u043e\u0432. \u041a\u0430\u043a \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0432\u044b\u0448\u0435, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e \u0432\u044b\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043d\u0438\u0435\/\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u0430;<\/p>\n<\/li>\n<li>\n<p><code>pos<\/code> \u2013 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>False<\/code>. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0441\u0440\u0435\u0434\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041d\u0430 \u043c\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u043d\u044f\u043b \u043d\u0430 \u224813% \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438;<\/p>\n<\/li>\n<li>\n<p><code>bigrams<\/code> \u2013 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>True<\/code>. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0431\u0438\u0433\u0440\u0430\u043c\u043c. \u041d\u0430 \u043c\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u043d\u044f\u043b \u043d\u0430 \u224835% \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445 \u043f\u043e\u0434\u0441\u0447\u0451\u0442.<\/p>\n<ul>\n<li>\n<p><code>count_all()<\/code> \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 <code>bigrams<\/code> \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u2013 <code>symbol_bigrams<\/code> \u0438 <code>word_bigrams<\/code>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u0418\u0442\u0430\u043a, \u043d\u0430\u0448 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0438\u0434 \u0432\u044b\u0437\u043e\u0432\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430:<\/p>\n<pre><code class=\"python\">import io from os import listdir from bs4 import BeautifulSoup  import frequency_analysis   file_list = listdir('annot_opcorpora_xml_byfile\/')  with frequency_analysis.Analysis(yo=True) as analyze:     for n, file in enumerate(file_list):         with io.open('annot_opcorpora_xml_byfile\/' + file, mode='r', encoding='utf-8') as f:             data = f.read()         bs_data = BeautifulSoup(data, 'xml')          for sentence in bs_data.find_all('source'):             analyze.count_all(sentence.text.split(), pos=True)<\/code><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e <code>print<\/code>&#8216;\u043e\u0432, \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438:<\/p>\n<pre><code class=\"python\">from datetime import datetime ...  start = datetime.now() with frequency_analysis.Analysis(yo=True) as analyze:     for n, file in enumerate(file_list):         ...         print(n, file) print('fin at:', datetime.now().strftime('%H:%M:%S')) print('total time taked to analysis:', datetime.now() - start)<\/code><\/pre>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430. \u0417\u0434\u0435\u0441\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b \u0438\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 <code>word_pattern<\/code> \u0438 <code>allowed_symbols<\/code>, \u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u043a \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e <code>yo (False)<\/code>\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u043f\u043e \u0442\u0435\u0433\u0430\u043c, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430.<\/p>\n<pre><code class=\"python\">import io from datetime import datetime from os import listdir from bs4 import BeautifulSoup  import frequency_analysis   start = datetime.now() file_list = listdir('multiUN\/') word_pattern = '[a-zA-Z]+(?:(?:-?[a-zA-Z]+)+|\\'?[a-zA-Z]+)|[a-zA-Z]' allowed_symbols = [*range(32, 127)]  with frequency_analysis.Analysis(     word_pattern=word_pattern, allowed_symbols=allowed_symbols ) as analyze:     for n, file in enumerate(file_list):         with io.open('multiUN\/' + file, mode='r', encoding='utf-8') as f:             data = f.read()         bs_data = BeautifulSoup(data, 'xml')          for sentence in bs_data.find_all('s'):             analyze.count_all(sentence.text.split(), pos=True)         print(n, file) print('fin at:', datetime.now().strftime('%H:%M:%S')) print('total time:', datetime.now() - start)<\/code><\/pre>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e. \u041d\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 <code>result.db<\/code>. \u0412\u0440\u0435\u043c\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043e\u0431\u044a\u0451\u043c\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 (\u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0431\u0438\u0433\u0440\u0430\u043c\u043c, \u0441\u0440\u0435\u0434\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0439) \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439. \u0423 \u043c\u0435\u043d\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u044b \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u043e\u0432 \u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0437\u0430\u043d\u044f\u043b\u0438 30\u043c\u0438\u043d \u0438 1.5\u0434 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u0440\u0438 \u0431\u0430\u0437\u043e\u0432\u043e\u043c .xml \u043e\u0431\u044a\u0451\u043c\u0435 \u0432 520Mb \u0438 3Gb (\u0438\u043b\u0438, \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u0432 1.58\u041c \u0438 380\u041c \u0441\u043b\u043e\u0432). \u041f\u043e\u0437\u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435, \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0442\u043e\u0440\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u2013 <code>Result<\/code>, \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 excel \u0432\u0438\u0434.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441 <code>Result<\/code> \u0438\u043c\u0435\u0435\u0442 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u2013 <code>name<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0438\u043c\u044f \u043f\u0430\u043f\u043a\u0438 \u0441 \u0438\u043c\u0435\u044e\u0449\u0438\u043c\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u043c, \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0438\u0437 \u043a\u043b\u0430\u0441\u0441\u0430 <code>Analysis<\/code> \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0436\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430.<\/p>\n<p>\u0410 \u0432\u043e\u0442 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0443 \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0443\u0436\u0435 \u043f\u043e\u0431\u043e\u043b\u0435\u0435 \u2013 9 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445, 4 \u043c\u0435\u0442\u043e\u0434\u0430 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u0438 1 \u043c\u0435\u0442\u043e\u0434 \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 6 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445. \u041a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u043b\u0438\u0441\u0442\u0430 \u0432 excel \u0444\u0430\u0439\u043b\u0435. <\/p>\n<p>\u041c\u043d\u043e\u0433\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <code>limit<\/code>, <code>chart_limit<\/code>, <code>min_quantity<\/code> \u0438 <code>ignore_case<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0442\u043e\u0438\u0442 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u0438\u0445 \u0441\u0435\u0439\u0447\u0430\u0441, \u0434\u0430\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u043d\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c\u0441\u044f:<\/p>\n<ul>\n<li>\n<p><code>limit<\/code> \u2013 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043b\u0438\u0441\u0442. <code>0<\/code>\u2013 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013<code>0;<\/code><\/p>\n<\/li>\n<li>\n<p><code>chart_limit<\/code>\u2013 \u043b\u0438\u0441\u0442\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0430 &#171;\u0442\u043e\u043f \u043f\u043e \u0447\u0430\u0441\u0442\u043e\u0442\u0435&#187; \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043a\u0440\u0443\u0433\u043e\u0432\u044b\u0435 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u044b. \u0414\u0430\u043d\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0432\u044b\u0445 n \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013<code>20;<\/code><\/p>\n<\/li>\n<li>\n<p><code>min_quantity<\/code>\u2013 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 \u0441\u0430\u043c\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0435, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u043b\u0438\u0441\u0442. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013<code>1;<\/code><\/p>\n<\/li>\n<li>\n<p><code>ignore_case<\/code>\u2013 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438\u043b\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0431\u0438\u0433\u0440\u0430\u043c\u043c \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u043b\u0438 \u0438\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0443\u0447\u0451\u0442, \u0433\u0434\u0435 \u044d\u0442\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013<code>False<\/code>. <code>Keyword-only.<\/code><\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0435\u0442\u043e\u0434\u044b \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u043b\u0438\u0441\u0442\u044b \u0444\u043e\u0440\u043c\u0430\u0442\u0430 &#171;\u0442\u043e\u043f \u043f\u043e \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f\u043c&#187; \u0434\u043b\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e-\u0431\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0434\u0432\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u2013 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u0441\u043f\u0438\u0441\u043a\u0438.<\/p>\n<p>\u041c\u0435\u0442\u043e\u0434\u044b:<\/p>\n<ul>\n<li>\n<p><code>sheet_stats()<\/code><\/p>\n<ul>\n<li>\n<p>\u0431\u0430\u0437\u043e\u0432\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u0430\u043d\u0430\u043b\u0438\u0437\u0435 \u2013 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0438\u043f\u0430, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0445 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439, \u0438\u0445 \u0441\u0440\u0435\u0434\u043d\u0438\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u0438;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_top_symbols([limit, chart_limit, min_quantity])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0432\u0441\u0435\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u0445 \u0432 \u0430\u043d\u0430\u043b\u0438\u0437 (\u0437\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435 \u2013 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u043c\u0438);<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_top_symbol_bigrams([limit, chart_limit, min_quantity])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0432\u0441\u0435\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0431\u0438\u0433\u0440\u0430\u043c\u043c;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_top_words([limit, chart_limit, min_quantity])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0432\u0441\u0435\u0445 \u0441\u043b\u043e\u0432;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_top_word_bigrams([limit, chart_limit, min_quantity])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0432\u0441\u0435\u0445 \u0431\u0438\u0433\u0440\u0430\u043c\u043c \u0441\u043b\u043e\u0432;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_all_symbol_bigrams([min_quantity])<\/code><\/p>\n<ul>\n<li>\n<p>2D-\u043b\u0438\u0441\u0442 \u0432\u0441\u0435\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0431\u0438\u0433\u0440\u0430\u043c\u043c (\u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0432\u0438\u0434\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043a \u044f\u0447\u0435\u0439\u043a\u0430\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u043d\u043e \u0434\u0430\u044e\u0442 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u043f\u0430\u0440\u0435);<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>treat([limits, chart_limits, min_quantities])<\/code><\/p>\n<ul>\n<li>\n<p>\u0435\u0434\u0438\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u0432\u0441\u0435\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0432\u044b\u0448\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u043c\u0435\u0442\u043e\u0434\u0430 \u2013 \u043a\u043e\u0440\u0442\u0435\u0436\u0438 \u0438\u0437 4,4,5 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u0445 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u0435\u043d \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0432\u044b\u0448\u0435;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_custom_top_symbols(symbols: str, [chart_limit, name: str])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>name<\/code> (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043b\u0438\u0441\u0442\u0430) \u2013<code>'Custom top symbols'. name \u2013 keyword-only;<\/code><\/p>\n<\/li>\n<li>\n<p><code>sheet_en_top_symbols([chart_limit])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u044b. \u0427\u0430\u0441\u0442\u043d\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0441 \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043b\u0438\u0441\u0442\u0430;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_ru_top_symbols([chart_limit])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u0439 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_custom_symbol_bigrams(symbols: str, [ignore_case, name: str])<\/code><\/p>\n<ul>\n<li>\n<p>2D-\u043b\u0438\u0441\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0430.  \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code>name<\/code> (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043b\u0438\u0441\u0442\u0430) \u2013<code>'Custom symbol bigrams'. name \u2013 keyword-only;<\/code><\/p>\n<\/li>\n<li>\n<p><code>sheet_en_symbol_bigrams([ignore_case])<\/code><\/p>\n<ul>\n<li>\n<p>2D-\u043b\u0438\u0441\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u044b. \u0427\u0430\u0441\u0442\u043d\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u0441 \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043b\u0438\u0441\u0442\u0430;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_ru_symbol_bigrams([ignore_case])<\/code> <\/p>\n<ul>\n<li>\n<p>2D-\u043b\u0438\u0441\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u0439 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>sheet_yo_words([limit, min_quantity])<\/code><\/p>\n<ul>\n<li>\n<p>\u0442\u043e\u043f-\u043b\u0438\u0441\u0442 \u0432\u0441\u0435\u0445 \u0441\u043b\u043e\u0432 \u0441 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439\/\u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 &#171;\u0451&#187;, \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0431\u043e\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0438 \u043e\u0431\u0449\u0438\u043c \u0438\u0442\u043e\u0433\u043e\u043c. \u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0445 \u0441 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c <code>yo=True<\/code>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043d\u0430\u0448 .db \u0432 .xlsx.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430:<\/p>\n<pre><code class=\"python\">import frequency_analysis  with frequency_analysis.Result() as res:     res.treat(limits=(1000,) * 4, chart_limits=(20,) * 4, min_quantities=(10,) * 5)     res.sheet_ru_top_symbols()     res.sheet_ru_symbol_bigrams()     # \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f. \u041d\u0430 \u0434\u0435\u043b\u0435 \u043f\u0440\u043e\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c sheet_ru_symbol_bigrams(ignore_case=True)     ru_symbs = '\u0430\u0431\u0432\u0433\u0434\u0435\u0451\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044c\u044b\u044a\u044d\u044e\u044f'     res.sheet_custom_symbol_bigrams(ru_symbs, ignore_case=True, name='Russian letter bigrams')     res.sheet_yo_words()<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430:<\/p>\n<pre><code class=\"python\">from string import ascii_letters import frequency_analysis  with frequency_analysis.Result() as res:     res.treat(limits=(1000,) * 4, chart_limits=(20,) * 4, min_quantities=(10,) * 5)     res.sheet_en_top_symbols()     res.sheet_en_symbol_bigrams()     # \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f. \u041d\u0430 \u0434\u0435\u043b\u0435 \u043f\u0440\u043e\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c sheet_en_symbol_bigrams(ignore_case=True)     res.sheet_custom_symbol_bigrams(ascii_letters, ignore_case=True, name='English letter bigrams')<\/code><\/pre>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432<\/h2>\n<p>\u041f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432, \u043a\u0430\u043a \u0438 \u0441 \u043f\u0430\u043a\u0435\u0442\u043e\u043c \u0432 \u0446\u0435\u043b\u043e\u043c, \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"https:\/\/github.com\/uqqu\/frequency_analysis\" rel=\"noopener noreferrer nofollow\">\u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a>. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, .db \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043d\u0435 \u043f\u0440\u043e\u0448\u0451\u043b \u043f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443 (392\u041c\u0431), \u043d\u043e \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0432\u043a\u043b\u044e\u0447\u0430\u044f .xlsx, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b. \u041f\u0440\u0438\u043b\u043e\u0436\u0443 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u0432\u043e\u0434\u0430.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043b\u0438\u0441\u0442\u043e\u0432 .xlsx \u0432\u044b\u0432\u043e\u0434\u0430 (\u0431\u0435\u0437 \u043f\u043e\u0441\u0442-\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f)<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ddf\/9f4\/d55\/ddf9f4d55c54bbf9932948e66a955c3f.PNG\" width=\"1531\" height=\"802\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a62\/2e7\/502\/a622e7502b4ae2516219d2007ec31e74.PNG\" width=\"1528\" height=\"918\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7f7\/0ca\/e7f\/7f70cae7fe0e7c938f0dd691ff94e248.PNG\" width=\"1610\" height=\"798\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/93d\/cb8\/b24\/93dcb8b24366bc582e13418e816d8f02.PNG\" width=\"905\" height=\"339\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7da\/58e\/faf\/7da58efaf1c60a17069e266cc3bec314.PNG\" width=\"1891\" height=\"559\"\/><figcaption><\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6ae\/771\/402\/6ae7714024374e88226a647c7c7125dd.PNG\" width=\"1326\" height=\"815\"\/><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0432\u0441\u0435\u043c, \u043a\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u043b. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043a\u043e\u0433\u043e-\u0442\u043e \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0451\u0442 \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u2013 \u043f\u0438\u0448\u0438\u0442\u0435, \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u0443\u0437\u043d\u0430\u0442\u044c.<\/p>\n<p>\u0417\u0430 \u0441\u0438\u043c \u0432\u0441\u0451. \u0421\u0438\u043b\u044c\u043d\u043e \u043d\u043e\u0433\u0430\u043c\u0438 \u043d\u0435 \u0431\u0435\u0439\u0442\u0435 \u2013 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0430\u043a\u0435\u0442, \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u043e\u0441\u0442. \u0417\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0432\u044b \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e.<\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/583304\/\"> https:\/\/habr.com\/ru\/articles\/583304\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f<\/h2>\n<p>\u041f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0434\u043b\u044f <a href=\"https:\/\/habr.com\/ru\/post\/583800\/\" rel=\"noopener noreferrer nofollow\">\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <\/a>\u0443\u0437\u043d\u0430\u0442\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u044c (\u043a\u0430\u043a \u0431\u0430\u0437\u043e\u0432\u0443\u044e, \u0442\u0430\u043a \u0438 \u043f\u0430\u0440\u043d\u0443\u044e) \u0431\u0443\u043a\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0430\u0445. <\/p>\n<p>\u041f\u043e\u0431\u0440\u043e\u0434\u0438\u0432 \u043f\u043e \u0431\u0435\u0441\u043a\u0440\u0430\u0439\u043d\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u044f \u0441 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b, \u0447\u0442\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 \u0442\u0430\u043a\u0443\u044e \u0431\u0430\u0437\u043e\u0432\u043e \u043f\u0440\u043e\u0441\u0442\u0443\u044e, \u0438 \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u043c\u0443 \u043f\u0440\u0435\u0441\u0442\u0443\u043f\u043d\u043e \u043c\u0430\u043b\u043e. \u0418\u0445 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e \u043f\u0430\u043b\u044c\u0446\u0430\u043c. <\/p>\n<p>\u0414\u043b\u044f \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043e 12 \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 \u0434\u043b\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0438, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u043e\u043b\u044c\u043a\u043e 3 \u043e\u0431\u043b\u0430\u0434\u0430\u044e\u0442 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0431\u0430\u0437\u043e\u0432\u044b\u043c\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u043c\u0438, \u0438 5 \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 (\u043f\u0430\u0440\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u044c), \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u043e\u0439 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0445\u0432\u0430\u0441\u0442\u0430\u0442\u044c \u043b\u0438\u0448\u044c 2. <\/p>\n<p>\u0414\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u2013 7 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0438, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 3 \u0431\u0435\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0438, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0436\u0435 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u0445\u00d710<sup>6<\/sup> \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u2013 3, \u043e\u0434\u0438\u043d \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0434\u0435\u043b\u0430\u043d \u043f\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0435 \u00ab\u041f\u0440\u0435\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u0438 \u043d\u0430\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u00bb, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u0430 5.000 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. <\/p>\n<p>\u041d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u043a\u0430\u043a \u043e\u0431\u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u043b\u043e \u0441 \u043c\u0435\u043d\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c\u0438 \u044f\u0437\u044b\u043a\u0430\u043c\u0438. <\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441 \u2013 &#171;\u0410 \u0437\u0430\u0447\u0435\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u044d\u0442\u0430 \u043a\u0443\u0447\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432? \u0423\u0436\u0435 \u0432\u0435\u0434\u044c \u0435\u0441\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0447\u0435\u0433\u043e \u0443\u0436 \u0431\u043e\u043b\u0435\u0435&#187;. \u041d\u043e \u043d\u0435\u0442. \u041e\u0441\u043d\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043b\u044c\u0437\u044f. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 (\u0438 \u0431\u0443\u0434\u0443\u0442) \u0440\u0430\u0437\u043d\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0446\u0435\u043b\u043e\u0439 \u043a\u0443\u0447\u0438 \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043d\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u2013 \u0442\u0435\u043a\u0441\u0442\u044b \u0425\u0430\u0431\u0440\u0430 \u0441 \u0432\u043a\u0440\u0430\u043f\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u043e\u0434\u0430 \u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0433\u0430\u0437\u0435\u0442\u043d\u043e\u0435 \u0438\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f), \u0432\u0435\u044f\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u0438 (\u0433\u043e\u0434\u044b \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f), \u043b\u0438\u0447\u043d\u044b\u0439 \u0441\u0442\u0438\u043b\u044c \u0430\u0432\u0442\u043e\u0440\u0430 (\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0431\u043e\u0440\u043e\u043a \u043f\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c\u0443 \u0430\u0432\u0442\u043e\u0440\u0443), \u0434\u0438\u0430\u043b\u0435\u043a\u0442 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435. \u041a \u0441\u043b\u043e\u0432\u0443, \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0447\u0430\u0441\u0442\u043e\u0442\u043d\u043e\u0441\u0442\u0435\u0439 \u0440\u0430\u0437\u043d\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043b\u0438\u043d\u0433\u0432\u0438\u0441\u0442\u043e\u0432, \u0434\u0438\u0430\u043b\u0435\u043a\u0442\u043e\u043b\u043e\u0433\u043e\u0432, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0438 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u043c \u0434\u043b\u044f \u0441\u0442\u0443\u0434\u0435\u043d\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u0441\u043a\u0438\u0445 \u0440\u0430\u0431\u043e\u0442, \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0438 \u043d\u0435\u0442? <\/p>\n<p>\u0414\u043b\u044f \u043c\u043e\u0438\u0445 \u0436\u0435 \u0446\u0435\u043b\u0435\u0439 \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u0432 \u0432\u0430\u043a\u0443\u0443\u043c\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0441\u0435 \u044d\u0442\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u044b, \u043f\u0443\u0441\u0442\u044c \u0438 \u043c\u0430\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435, \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0432\u043c\u0435\u0441\u0442\u0435. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e\u0433\u043e \u0431\u044b\u043b\u043e \u043c\u0430\u043b\u043e, \u044f \u0440\u0435\u0448\u0438\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u043c\u0438. <\/p>\n<p>\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0430 Python, \u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u043d\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0434\u0430\u043b, \u0447\u0442\u043e \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0432\u043d\u043e\u0441\u0438\u0442 \u0441\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434 \u0432 \u043c\u0430\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432. \u0411\u044b\u043b\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u044b\u0435 50-\u0441\u0442\u0440\u043e\u0447\u043d\u0438\u043a\u0438 \u0432 \u043e\u0442\u0432\u0435\u0442\u0430\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u0440\u043e\u0434\u0430 stackoverflow, \u043d\u043e \u044d\u0442\u043e \u0432\u0440\u044f\u0434 \u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c, \u0438 \u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u044c \u043d\u0430 \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u0445 \u0442\u0430\u043a\u0436\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f. <\/p>\n<p>\u0422\u0430\u043a\u0430\u044f \u043f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f \u0443 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 <code>frequency-analysis<\/code>. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 \u0432\u044b\u0448\u0435\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u043c, \u043d\u043e \u0441\u0432\u043e\u0438 \u0446\u0435\u043b\u0438 \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.<\/p>\n<h2>\u041f\u0430\u043a\u0435\u0442<\/h2>\n<p>\u041f\u0430\u043a\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442 \u043a\u0430\u043a \u0432 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0438, \u0442\u0430\u043a \u0438 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u2013 \u043e\u043d \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u043e 4 \u0442\u0438\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f 4 \u0442\u0438\u043f\u043e\u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432: <\/p>\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u2013 \u043e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438, \u0441\u0440\u0435\u0434\u043d\u044f\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f; <\/p>\n<p>\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u2013 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u044b, \u0441\u043b\u043e\u0432\u0430, \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u044b \u0441\u043b\u043e\u0432. <\/p>\n<p>\u0412\u0441\u0435 \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0432 sqlite db, \u0430 \u043f\u043e\u0441\u043b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 excel \u0444\u0430\u0439\u043b, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0433\u0434\u0435-\u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440 \u0430\u043d\u0430\u043b\u0438\u0437\u0430<\/h2>\n<p>\u0421\u0430\u043c\u044b\u043c \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u044d\u0442\u0430\u043f\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0438\u0441\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043a \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044e \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0411\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u0437\u0430\u043a\u0440\u044b\u0442\u0430, \u0438 \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 API \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c. <\/p>\n<p>\u0414\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0432 \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043a\u043e\u0440\u043f\u0443\u0441\u0430\u043c\u0438 <a href=\"http:\/\/opencorpora.org\/\" rel=\"noopener noreferrer nofollow\">http:\/\/opencorpora.org\/<\/a> \u0438 <a href=\"http:\/\/www.euromatrixplus.net\/multi-un\/\" rel=\"noopener noreferrer nofollow\">http:\/\/www.euromatrixplus.net\/multi-un\/<\/a> \u0434\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u043e\u0432, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u0430\u043a\u0435\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<pre><code class=\"python\">> pip install frequency-analysis<\/code><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c \u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u0443-\u0442\u043e\u043f\u0438\u043a\u0441\u0442\u0430\u0440\u0442\u0435\u0440\u0443.<\/p>\n<p>\u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u0446\u0435\u043b\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>bs4<\/code>, \u0430 \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 .xml \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>lxml<\/code>:<\/p>\n<pre><code class=\"python\">> pip install beautifulsoup4 lxml<\/code><\/pre>\n<p>\u0414\u043b\u044f \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u043f\u0430\u043a\u0435\u0442\u0435 <code>frequency-analysis<\/code> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u0432\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 \u2013 <code>Analysis<\/code> \u0438 <code>Result<\/code>, \u043e\u0431\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440.<\/p>\n<p>\u0421\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439, \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0430\u043c\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u041a\u043b\u0430\u0441\u0441 <code>Analysis<\/code> \u0438\u043c\u0435\u0435\u0442 5 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432:<\/p>\n<ul>\n<li>\n<p><code>name<\/code> \u2013 \u0438\u043c\u044f, \u0432 \u043f\u0430\u043f\u043a\u0435 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d \u0430\u043d\u0430\u043b\u0438\u0437. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 <code>'frequency_analysis'<\/code>;<\/p>\n<\/li>\n<li>\n<p><code>mode<\/code> \u2013 \u0440\u0435\u0436\u0438\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430. 3 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430:<\/p>\n<ul>\n<li>\n<p><code>'n'<\/code> \u2013 (\u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435) \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437, \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u044b, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u0430\u043d\u0430\u043b\u0438\u0437\u0443 \u0441 \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c, \u0443\u0436\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u2013 \u043e\u0448\u0438\u0431\u043a\u0430;<\/p>\n<\/li>\n<li>\n<p><code>'a'<\/code> \u2013 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0438\u043c\u0435\u044e\u0449\u0438\u0439\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0437 \u043d\u043e\u0432\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438;<\/p>\n<\/li>\n<li>\n<p><code>'c'<\/code> \u2013 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437. \u0415\u0441\u043b\u0438 \u0430\u043d\u0430\u043b\u0438\u0437 \u0431\u044b\u043b \u043f\u0440\u0435\u0440\u0432\u0430\u043d, \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u0443\u044e \u0432\u044b\u0431\u043e\u0440\u043a\u0443 (\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0443\u0436\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u044a\u0451\u043c!), \u0438 \u0430\u043d\u0430\u043b\u0438\u0437 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0441\u044f \u0441 \u043c\u0435\u0441\u0442\u0430 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><code>word_pattern<\/code> \u2013 regex \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f &#171;\u0432\u043d\u0443\u0442\u0440\u0438\u0441\u043b\u043e\u0432\u043d\u044b\u0445&#187; \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0421 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0441\u043b\u043e\u0432 \u043e\u0442 \u043b\u0438\u0448\u043d\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 &#171;\u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439&#187; \u0443\u0447\u0451\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 \u0432\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0430, \u0440\u0443\u0441\u0441\u043a\u0430\u044f \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0430, \u043d\u0430 \u043d\u0435 \u043a\u0440\u0430\u0439\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043e\u0434\u0438\u043d \u0434\u0435\u0444\u0438\u0441 \u0438\u043b\u0438 \u043e\u0434\u043d\u0430 \u043a\u0430\u0432\u044b\u0447\u043a\u0430-\u0430\u043f\u043e\u0441\u0442\u0440\u043e\u0444. \u0427\u0443\u0442\u044c \u043c\u043e\u043d\u0441\u0442\u0440\u0443\u043e\u0437\u043d\u044b\u0439 regex \u0432\u0438\u0434:<\/p>\n<\/li>\n<\/ul>\n<pre><code>'[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+(?:(?:-?[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+)+|\\'?[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+)|[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]'<\/code><\/pre>\n<ul>\n<li>\n<p><code>allowed_symbols<\/code> \u2013 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0443\u0447\u0442\u0435\u043d\u044b \u0434\u043b\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0421\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439, \u0442\u0430\u043a \u0438 \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0445 unicode\u2013\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 \u0432\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u0430, \u0440\u0443\u0441\u0441\u043a\u0430\u044f \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0430, \u0431\u0430\u0437\u043e\u0432\u0430\u044f \u043f\u0443\u043d\u043a\u0442\u0443\u0430\u0446\u0438\u044f (<code>'[*range(32, 127), 1025, *range(1040, 1104), 1105]'<\/code>);<\/p>\n<\/li>\n<li>\n<p><code>yo<\/code> \u2013 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0442\u0438\u043f, \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0432\u0435\u0440\u0445-\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b <s>\u0434\u043b\u044f \u0445\u043e\u043b\u0438\u0432\u0430\u0440\u043e\u0432 \u043d\u0430 \u0442\u0435\u043c\u0443 &#171;\u0435 \u0438\u043b\u0438 \u0451&#187;<\/s> \u2013 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438\u0437 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u043b\u043e\u0432\u0430 \u0441 \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u0438 \u0441 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0448\u0438\u0431\u043e\u0447\u043d\u044b\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0447\u0435\u0440\u0435\u0437 &#171;\u0435&#187;. \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f &#171;\u0432 \u043b\u043e\u0431&#187; \u2013 \u0431\u0435\u0437 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0445 \u0435\u0434\u0438\u043d\u0438\u0446, \u0431\u0435\u0437 \u0441\u043b\u043e\u0432\u043e\u0444\u043e\u0440\u043c, \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432. \u041d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0438 \u0434\u043b\u044f \u043e\u0431\u043e\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0432\u0441\u0435\u0445 \u044d\u0442\u0438\u0445 \u0441\u043b\u043e\u0432 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b. \u0411\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2013 <code>False<\/code>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u044f \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438, \u043a\u0440\u043e\u043c\u0435 <code>yo<\/code>. \u0414\u043b\u044f \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0440\u044f\u0434\u043e\u043c \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u0432\u0430 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0445 \u0444\u0430\u0439\u043b\u0430 \u2013 <code>yo.txt<\/code> \u0438 <code>ye-yo.txt<\/code>, \u0434\u043b\u044f \u0441\u043b\u043e\u0432 \u0441 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u044b\u043c \u0438 \u0441 \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0447\u0435\u0440\u0435\u0437 &#171;\u0451&#187;, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u042f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0441\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u0412. \u0422. \u0427\u0443\u043c\u0430\u043a\u043e\u0432\u0430 \u00ab\u0423\u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u0431\u0443\u043a\u0432\u044b \u0401. \u0421\u043b\u043e\u0432\u0430\u0440\u0438 \u0438 \u0441\u0442\u0430\u0442\u044c\u0438\u00bb (\u041c.: &#171;\u041d\u0430\u0440\u043e\u0434\u043d\u043e\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435&#187;, 2009), \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0439 \u0431\u043e\u043b\u0435\u0435 15.000 \u0441\u043b\u043e\u0432. \u041e\u0447\u0438\u0449\u0435\u043d\u043d\u0443\u044e \u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u0443\u044e \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u0432\u0438\u0434 \u0432\u0435\u0440\u0441\u0438\u044e \u044d\u0442\u0438\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b \u0432 <a href=\"https:\/\/github.com\/uqqu\/yo_dict\" rel=\"noopener noreferrer nofollow\">\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a>.<\/p>\n<p>\u0412\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u2013 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0432 \u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043b\u0430\u0441\u0441\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043d\u0430 \u0432\u044b\u0437\u043e\u0432.<\/p>\n<p>\u041c\u0435\u0442\u043e\u0434\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 \u0432\u0441\u0435\u0433\u043e \u0442\u0440\u0438 \u2013 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 <code>count_symbols()<\/code>, \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0441\u043b\u043e\u0432 <code>count_words()<\/code>\u0438 \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u0432\u0441\u0435\u0433\u043e <code>count_all()<\/code>.<\/p>\n<p>\u041f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u043c\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b:<\/p>\n<ul>\n<li>\n<p><code>word_list<\/code> \u2013 \u043d\u0430\u0448 \u0441\u043f\u0438\u0441\u043e\u043a (<code>type: list<\/code>) \u0441\u043b\u043e\u0432. \u041a\u0430\u043a \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0432\u044b\u0448\u0435, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u043e \u0432\u044b\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043d\u0438\u0435\/\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u0430;<\/p>\n<\/li>\n<li>\n<p><code>pos<\/code> \u2013 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>False<\/code>. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0441\u0440\u0435\u0434\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041d\u0430 \u043c\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u043d\u044f\u043b \u043d\u0430 \u224813% \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438;<\/p>\n<\/li>\n<li>\n<p><code>bigrams<\/code> \u2013 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0443\u043b\u0435\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0441 \u0431\u0430\u0437\u043e\u0432\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>True<\/code>. \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0431\u0443\u0434\u0435\u0442 \u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0431\u0438\u0433\u0440\u0430\u043c\u043c. \u041d\u0430 \u043c\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0437\u0430\u043d\u044f\u043b \u043d\u0430 \u224835% \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0431\u0438\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445 \u043f\u043e\u0434\u0441\u0447\u0451\u0442.<\/p>\n<ul>\n<li>\n<p><code>count_all()<\/code> \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 <code>bigrams<\/code> \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0432\u0430 \u2013 <code>symbol_bigrams<\/code> \u0438 <code>word_bigrams<\/code>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u0418\u0442\u0430\u043a, \u043d\u0430\u0448 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0438\u0434 \u0432\u044b\u0437\u043e\u0432\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u043b\u044f \u0440\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430:<\/p>\n<pre><code class=\"python\">import io from os import listdir from bs4 import BeautifulSoup  import frequency_analysis   file_list = listdir('annot_opcorpora_xml_byfile\/')  with frequency_analysis.Analysis(yo=True) as analyze:     for n, file in enumerate(file_list):         with io.open('annot_opcorpora_xml_byfile\/' + file, mode='r', encoding='utf-8') as f:             data = f.read()         bs_data = BeautifulSoup(data, 'xml')          for sentence in bs_data.find_all('source'):             analyze.count_all(sentence.text.split(), pos=True)<\/code><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e <code>print<\/code>&#8216;\u043e\u0432, \u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438:<\/p>\n<pre><code class=\"python\">from datetime import datetime ...  start = datetime.now() with frequency_analysis.Analysis(yo=True) as analyze:     for n, file in enumerate(file_list):         ...         print(n, file) print('fin at:', datetime.now().strftime('%H:%M:%S')) print('total time taked to analysis:', datetime.now() - start)<\/code><\/pre>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430. \u0417\u0434\u0435\u0441\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b \u0438\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 <code>word_pattern<\/code> \u0438 <code>allowed_symbols<\/code>, \u0432\u043e\u0437\u0432\u0440\u0430\u0442 \u043a \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e <code>yo (False)<\/code>\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u043f\u043e \u0442\u0435\u0433\u0430\u043c, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430.<\/p>\n<pre><code class=\"python\">import io from datetime import datetime from os import listdir from bs4 import BeautifulSoup  import frequency_analysis   start = datetime.now() file_list = listdir('multiUN\/') word_pattern = '[a-zA-Z]+(?:(?:-?[a-zA-Z]+)+|\\'?[a-zA-Z]+)|[a-zA-Z]' allowed_symbols = [*range(32, 127)]  with frequency_analysis.Analysis(     word_pattern=word_pattern, allowed_symbols=allowed_symbols ) as analyze:     for n, file in enumerate(file_list):         with io.open('multiUN\/' + file, mode='r', encoding='utf-8') as f:             data = f.read()         bs_data = BeautifulSoup(data, 'xml')          for sentence in bs_data.find_all('s'):             analyze.count_all(sentence.text.split(), pos=True)         print(n, file) print('fin at:', datetime.now().strftime('%H:%M:%S')) print('total time:', datetime.now() - start)<\/code><\/pre>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e. \u041d\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 <code>result.db<\/code>. \u0412\u0440\u0435\u043c\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043e\u0431\u044a\u0451\u043c\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 (\u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u0431\u0438\u0433\u0440\u0430\u043c\u043c, \u0441\u0440\u0435\u0434\u043d\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0439) \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439. \u0423 \u043c\u0435\u043d\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u044b \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0438 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u043e\u0432 \u0441 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0437\u0430\u043d\u044f\u043b\u0438 30\u043c\u0438\u043d \u0438 1.5\u0434 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u0440\u0438 \u0431\u0430\u0437\u043e\u0432\u043e\u043c .xml \u043e\u0431\u044a\u0451\u043c\u0435 \u0432 520Mb \u0438 3Gb (\u0438\u043b\u0438, \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u0432 1.58\u041c \u0438 380\u041c \u0441\u043b\u043e\u0432). \u041f\u043e\u0437\u0436\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435, \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u0438\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0442\u043e\u0440\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u043c\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u2013 <code>Result<\/code>, \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 excel \u0432\u0438\u0434.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441 <code>Result<\/code> \u0438\u043c\u0435\u0435\u0442 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u2013 <code>name<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0438\u043c\u044f \u043f\u0430\u043f\u043a\u0438 \u0441 \u0438\u043c\u0435\u044e\u0449\u0438\u043c\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u043e\u043c, \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0438\u0437 \u043a\u043b\u0430\u0441\u0441\u0430 <code>Analysis<\/code> \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0436\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430.<\/p>\n<p>\u0410 \u0432\u043e\u0442 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0443 \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0443\u0436\u0435 \u043f\u043e\u0431\u043e\u043b\u0435\u0435 \u2013 9 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445, 4 \u043c\u0435\u0442\u043e\u0434\u0430 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u0438 1 \u043c\u0435\u0442\u043e\u0434 \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-415341","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=415341"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415341\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}