{"id":171977,"date":"2013-03-07T21:40:03","date_gmt":"2013-03-07T17:40:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=171977"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=171977","title":{"rendered":"<span class=\"post_title\">\u0418\u0437\u0443\u0447\u0430\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 phpMorphy, \u043f\u0443\u0442\u0435\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h5>\u0421 \u0447\u0435\u0433\u043e \u0432\u0441\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u043e\u0441\u044c<\/h5>\n<p>  \u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435! \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0440\u0430\u0442\u043a\u0443\u044e \u043f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430. \u0412\u00a0\u0441\u0435\u0442\u0438 \u0435\u0441\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u0430\u044f \u0438\u0433\u0440\u0443\u0448\u043a\u0430 \u0441\u00a0\u0447\u0430\u0442\u043e\u043c, \u0438\u00a0\u0434\u0432\u0443\u043c\u044f \u0432\u0440\u0430\u0436\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0438\u0440\u0430\u043c\u0438. \u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437\u00a0\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0438\u0440\u0430 \u0432\u00a0\u0434\u0440\u0443\u0433\u043e\u0439, \u0435\u0441\u043b\u0438 \u0432\u044b\u00a0\u043d\u0435\u00a0\u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0432\u00a0\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0442\u0435\u043a\u0441\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043b\u0441\u044f, \u0442\u043e\u00a0\u0435\u0441\u0442\u044c \u0431\u0443\u043a\u0432\u044b \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0430 \u00ab\u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u043b\u0438\u0441\u044c\u00bb\u00a0\u2014 \u043a\u00a0\u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0431\u0443\u043a\u0432\u0430 \u00ab\u043e\u00bb \u0437\u0430\u043c\u0435\u043d\u044f\u043b\u0430\u0441\u044c \u043d\u0430\u00a0\u0431\u0443\u043a\u0432\u0443 \u00ab\u0435\u00bb, \u0431\u0443\u043a\u0432\u0430 \u00ab\u0437\u00bb \u043d\u0430\u00a0\u0431\u0443\u043a\u0432\u0443 \u00ab\u0432\u00bb \u0438\u00a0\u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u043a\u0432 \u043c\u043e\u0433\u043b\u0438 \u00ab\u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f\u00bb \u0432\u00a0\u043e\u0434\u043d\u0443 \u0438\u00a0\u0442\u0443\u00a0\u0436\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0443\u043a\u0432\u044b \u00ab\u0435\u00bb \u0438\u00a0\u00ab\u044d\u00bb \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c \u0432\u00a0\u00ab\u0430\u00bb. \u0418\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u043e \u00ab\u0442\u043e\u043b\u044c\u043a\u043e\u00bb \u043c\u043e\u0433\u043b\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0432\u00a0\u00ab\u0441\u0435\u0444\u044b\u0447\u0435\u00bb, \u0447\u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435\u0447\u0438\u0442\u0430\u0435\u043c\u043e. \u0410\u00a0\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043b\u044e\u0434\u044c\u043c\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u0438 \u0441\u043b\u043e\u0432\u0430 \u0432\u0438\u0434\u0430: \u00ab(\u0431, \u0442, \u0444)\u043e\u043b(\u0443, \u044c)(\u043a, \u0440)\u043e\u00bb, \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0436\u0435 \u043d\u0435\u00a0\u0440\u0430\u0437 \u043f\u043b\u044e\u043d\u0443\u0442\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443\u00a0\u044f, \u0438\u00a0\u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0442\u043e\u0432\u0430\u0440\u0438\u0449, \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b \u0441\u043b\u043e\u0432\u0430\u043c \u0438\u0441\u0442\u0438\u043d\u043d\u043e\u0435 \u043e\u0431\u043b\u0438\u0447\u044c\u0435. \u0423\u00a0\u043d\u0430\u0441 \u0431\u044b\u043b\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0434\u0435\u0439, \u0432\u00a0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0441\u043b\u043e\u0432\u0430 \u043d\u0430\u00a0\u00ab\u0440\u0443\u0441\u0441\u043a\u043e\u0441\u0442\u044c\u00bb (\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u044b\u0445 \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u00a0\u043c\u043e\u0433\u0443\u0442 \u0438\u0434\u0442\u0438 \u043f\u043e\u0434\u0440\u044f\u0434 \u0438\u00a0\u0442.\u043f.). \u0412\u00a0\u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432 \u0431\u044b\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u0432\u0435\u0441\u044c\u043c\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 phpMorphy, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u0430\u044f \u043d\u0430\u00a0\u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0432\u0441\u0435\u043c\u0438\u0440\u043d\u043e\u0439 \u043f\u0430\u0443\u0442\u0438\u043d\u044b. \u041e\u00a0\u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u00a0\u043d\u0435\u0439 \u0438\u00a0\u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u0432\u00a0\u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430\u00a0\u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u0438\u0437\u00a0\u00ab\u044f\u0437\u044b\u043a\u0430\u00bb \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0438\u0440\u0430 \u0432\u00a0\u0434\u0440\u0443\u0433\u043e\u0439.<a name=\"habracut\"><\/a><\/p>\n<h5>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <s>\u0431\u043b\u043e\u043a\u043d\u043e\u0442<\/s> \u043b\u044e\u0431\u0438\u043c\u044b\u0439 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440, \u0438 \u043f\u0438\u0448\u0435\u043c \u043a\u043b\u0430\u0441\u0441!<\/h5>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u043b\u0430\u0441\u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438, \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u043c\u0438. \u0417\u0430\u0440\u0430\u043d\u0435\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0443, \u0447\u0442\u043e \u043a\u043e\u0434 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d, \u0438 \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043e\u0441\u043e\u0431\u043e\u0439 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e, \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f\u0445 \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430.<\/p>\n<pre><code class=\"php\">class Translater { \tprivate $morph;  \/\/ \u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043a\u043b\u0430\u0441\u0441 \u0441\u043b\u043e\u0432\u0430\u0440\u044f \tprivate $word; \tprivate $text;   \/\/ \u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \tpublic  $phrase; \/\/ \u041e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u0430\u044f \u0444\u0440\u0430\u0437\u0430 \tpublic  $stack = array();   \/\/ \u0421\u043b\u043e\u0442\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0445 \u0441\u043b\u043e\u0432 \tpublic  $trash = array();   \/\/ \u0421\u043b\u043e\u0442\u044b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432 \tprivate $stackIndex = 0;\t\/\/ \u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u043d\u043e\u043c\u0435\u0440 \u0441\u043b\u043e\u0442\u0430 \tconst maxSolveLength = 10;  \/\/ \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u0441\u043b\u043e\u0432\u0430 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438 \tconst maxSolveTrash  = 10;  \/\/ \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043a \tconst defaultPhrase  = &quot;\u0441\u0430\u0441\u0443 \u0441\u0435\u0444\u044b\u0447\u0435 \u0442\u0430 \u0442\u0448\u0438\u0441\u0438\u0444\u0435 \u0441\u0444\u043e\u0442&quot;;   \t\/\/ \u041c\u0430\u0441\u0441\u0438\u0432 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439, \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b \tprivate $map_init = array( \t\/\/ \u041a\u0438\u0440\u0438\u043b\u0438\u0446\u0430 \tarray(     \t&quot;\u0430&quot;, &quot;\u0431&quot;, &quot;\u0432&quot;, &quot;\u0433&quot;, &quot;\u0434&quot;, &quot;\u0435&quot;, &quot;\u0451&quot;, &quot;\u0436&quot;, &quot;\u0437&quot;, &quot;\u0438&quot;, &quot;\u0439&quot;, &quot;\u043a&quot;, &quot;\u043b&quot;, &quot;\u043c&quot;, &quot;\u043d&quot;, &quot;\u043e&quot;,         &quot;\u043f&quot;, &quot;\u0440&quot;, &quot;\u0441&quot;, &quot;\u0442&quot;, &quot;\u0443&quot;, &quot;\u0444&quot;, &quot;\u0445&quot;, &quot;\u0446&quot;, &quot;\u0447&quot;, &quot;\u0448&quot;, &quot;\u0449&quot;, &quot;\u044a&quot;, &quot;\u044b&quot;, &quot;\u044c&quot;, &quot;\u044d&quot;, &quot;\u044e&quot;, &quot;\u044f&quot;) \t); \t\/\/ \u041c\u0430\u0441\u0441\u0438\u0432 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430, \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b \tprivate $map_sudo = array( \t\/\/ \u041a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0430     array(     \tarray(&quot;\u0435&quot;, &quot;\u044d&quot;), &quot;-&quot;, &quot;\u0437&quot;, &quot;-&quot;, &quot;-&quot;, &quot;\u043e&quot;, &quot;-&quot;, &quot;\u0449&quot;, &quot;\u0448&quot;, array(&quot;\u0430&quot;, &quot;\u044e&quot;), &quot;\u044a&quot;, &quot;\u0446&quot;,         &quot;-&quot;, &quot;-&quot;, &quot;-&quot;, &quot;\u0438&quot;, array(&quot;\u0434&quot;, &quot;\u0436&quot;), &quot;-&quot;, array(&quot;\u0431&quot;, &quot;\u0442&quot;, &quot;\u0444&quot;), array(&quot;\u0433&quot;, &quot;\u043d&quot;, &quot;\u0445&quot;),         &quot;\u044f&quot;, &quot;\u043b&quot;, &quot;\u043c&quot;, &quot;\u043f&quot;, array(&quot;\u043a&quot;, &quot;\u0440&quot;), array(&quot;\u0432&quot;, &quot;\u0441&quot;), array(&quot;\u0439&quot;, &quot;\u0447&quot;), &quot;-&quot;, array(&quot;\u0443&quot;, &quot;\u044c&quot;), &quot;-&quot;,         &quot;-&quot;, &quot;\u044b&quot;, &quot;\u0451&quot;) \t);   \t\/\/ \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 __construct \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u043b\u0430\u0441\u0441\u0430 \tpublic function __construct($phrase) \t{     \t\/\/ \u0414\u0432\u0443\u0445\u0431\u0430\u0439\u0442\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u0432 \u043d\u0438\u0436\u043d\u0438\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440     \t$this-&gt;text = mb_strtolower($phrase);       \t\/\/ \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u0441\u043b\u043e\u0432\u0430\u0440\u044f         include(&quot;morphy\/common.php&quot;);         $this-&gt;morph = new phpMorphy(         \tnew phpMorphy_FilesBundle(&quot;morphy\/dicts&quot;, &quot;ru_ru&quot;), array('storage' =&gt; PHPMORPHY_STORAGE_FILE,             \t'with_gramtab' =&gt; false,             \t'predict_by_suffix' =&gt; false,             \t'predict_by_db' =&gt; false         \t)     \t);     \t\/\/ \u0410\u0432\u0442\u043e\u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430     \tif (isset($phrase)) {         \t$this-&gt;phrase = $this-&gt;str_safe($phrase);             $this-&gt;translatePhrase($this-&gt;phrase);     \t} else {         \t$this-&gt;phrase = self::defaultPhrase;     \t} } <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0444\u0440\u0430\u0437\u044b \u0435\u0433\u043e \u00ab\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e\u00bb:<\/p>\n<pre><code class=\"php\">\/\/ \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0441\u043e\u043e\u0442\u043d\u0435\u0441\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 (\u0441=\u0431, \u0430=\u0443 \u0438 \u0442.\u043f.) protected function indexbychar($char, $map_index) {     \tfor ($index = 0; $index &lt; count($this-&gt;map_init[$map_index]); $index++) {         \tif ($this-&gt;map_init[$map_index][$index] == $char) return $index;     \t}     \treturn -1; } <\/code><\/pre>\n<p>  \u0418 \u0435\u0449\u0435 \u043e\u0434\u043d\u0430 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u0440\u0443\u0441\u0441\u043a\u043e\u0439 \u00abc\u00bb \u0438\u043b\u0438 \u00ab\u0443\u00bb \u0445\u0438\u0442\u0440\u044b\u0439 \u0447\u0430\u0442 \u043f\u043e\u0434\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u00ab\u0430\u043d\u0430\u043b\u043e\u0433\u00bb: \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0443\u044e \u0431\u0443\u043a\u0432\u0443 \u00abc\u00bb \u0438\u043b\u0438 \u00aby\u00bb. \u0418 \u0447\u0442\u043e\u0431\u044b \u0443 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0440\u0430\u0437\u0440\u044b\u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0442 \u0432 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0438\u0434:<\/p>\n<pre><code class=\"php\">\/\/ \u0421\u043c\u0435\u043d\u0430 \u043b\u0430\u0442\u044b\u043d\u0438 \u043d\u0430 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0443 public function translateTranslit($word) {     \t\/\/ \u041c\u0430\u0441\u0441\u0438\u0432 \u043b\u0430\u0442\u0438\u043d\u0438\u0446\u044b     \t$eng = array(         \t&quot;a&quot;, &quot;c&quot;, &quot;e&quot;, &quot;y&quot;, &quot;o&quot;, &quot;p&quot;, &quot;x&quot;     \t);     \t\/\/ \u041c\u0430\u0441\u0441\u0438\u0432 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u044b     \t$rus = array(             &quot;\u0430&quot;, &quot;\u0441&quot;, &quot;\u0435&quot;, &quot;\u0443&quot;, &quot;\u043e&quot;, &quot;\u0440&quot;, &quot;\u0445&quot;         );     \t$word = str_replace($eng, $rus, $word);       \treturn $word; } <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0438\u0434\u0435\u0442 \u044f\u0434\u0440\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430, \u0435\u0441\u043b\u0438 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a \u043d\u0430\u0437\u0432\u0430\u0442\u044c. \u0418\u043c\u0435\u043d\u043d\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0437\u0430 \u00ab\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u00bb \u0444\u0440\u0430\u0437\u044b.<\/p>\n<pre><code class=\"php\">\/\/ \u041f\u043e\u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 protected function str_compare($sample, $value)  {     \tfor ($i = 0; $i &lt; strlen($sample); $i++) {       \t  if ($sample[$i] == $value[$i]) return false;     \t}     \treturn true; }   \/\/ \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435, \u0435\u0441\u043b\u0438 \u0441\u043b\u043e\u0432\u043e \u0435\u0441\u0442\u044c, \u0442\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0432\u0435\u0440\u043d\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 protected function str_dict($solve) {     \t$lemma = $this-&gt;morph-&gt;lemmatize(mb_strtoupper($solve, &quot;windows-1251&quot;));     \treturn is_array($lemma); }   protected function str_safe($value) {     \treturn trim(stripslashes(htmlspecialchars($value, ENT_NOQUOTES))); }   \/\/ \u0417\u0430\u043f\u0438\u0441\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u043b\u043e\u0442 protected function stack_push($value) {     \tif (!isset($this-&gt;stack[$this-&gt;stackIndex]))             $this-&gt;stack[$this-&gt;stackIndex] = array();         array_push($this-&gt;stack[$this-&gt;stackIndex], $value); }   \/\/ \u0417\u0430\u043f\u0438\u0441\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u043b\u043e\u0442 protected function trash_push($value) {     \tif (!isset($this-&gt;trash[$this-&gt;stackIndex]))             $this-&gt;trash[$this-&gt;stackIndex] = array();         array_push($this-&gt;trash[$this-&gt;stackIndex], $value); }   \/\/ \u041f\u0435\u0440\u0435\u0431\u043e\u0440 \u0431\u0443\u043a\u0432 \u0441\u043b\u043e\u0432\u0430 protected function bruteforce($solve, $charindex, $sudoindex) {     \t\/\/ \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0431\u0443\u043a\u0432\u044b \u0441\u043b\u043e\u0432\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u044b - \u0442\u043e \u0432\u044b\u0445\u043e\u0434     \tif (!isset($solve[$charindex])) return false;       \t\/\/ \u0426\u0438\u043a\u043b \u043f\u043e \u0431\u0443\u043a\u0432\u0430\u043c \u0441\u043b\u043e\u0432\u0430, \u0432 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0438 - \u0446\u0438\u043a\u043b \u043e\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b     \tfor ($solveindex = $charindex; $solveindex &lt; strlen($solve); $solveindex++)        {         \t\/\/ \u0426\u0438\u043a\u043b \u043f\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430         \tfor ($map = 0; $map &lt; count($this-&gt;map_sudo); $map++)         \t{             \t\t\/\/ \u041d\u0435 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0442\u044c \u0431\u0443\u043a\u0432\u0443, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0443\u0436\u0435 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u0430             \t\tif ($solve[$charindex] != $this-&gt;word[$charindex]) continue;             \t\t\/\/ \u041f\u043e\u0438\u0441\u043a \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0441\u043e\u0442\u043d\u0435\u0441\u0435\u043d\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b             \t\t$subindex = $this-&gt;indexbychar($solve[$charindex], $map);             \t\tif ($subindex == -1) continue;             \t\t\/\/ \u0426\u0438\u043a\u043b \u043f\u043e \u0441\u043e\u043e\u0442\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u043c \u0431\u0443\u043a\u0432\u0430\u043c, \u0432 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0438 - \u0446\u0438\u043a\u043b \u043e\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0441\u043e\u043e\u0442\u043d\u0435\u0441\u0435\u043d\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b             \t\tfor ($index = $sudoindex; $index &lt; count($this-&gt;map_sudo[$map][$subindex]); $index++)                \t\t{                     \t\t\/\/ \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f                     \t\t$solve[$charindex] = $this-&gt;map_sudo[$map][$subindex][$index];                     \t\t\/\/ \u0415\u0441\u043b\u0438 \u0441\u043b\u043e\u0432\u043e \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u0443\u043a\u0432 \u0438 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435, \u0442\u043e \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0441\u0442\u0435\u043a \u0441\u043b\u043e\u0432                     \t\tif ($this-&gt;str_compare($this-&gt;word, $solve)) {                     \t\t\tif ($this-&gt;str_dict($solve)) {                            \t\t\t$this-&gt;stack_push($solve);                     \t\t\t} else {                         \t\t\tif (count(@$this-&gt;trash[$this-&gt;stackIndex]) &lt; self::maxSolveTrash) {                             \t\t\t\t$this-&gt;trash_push($solve);                         \t\t\t}                         \t\t}                     \t\t}                     \t\t\/\/ \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0431\u0443\u043a\u0432\u0435 \u0441\u043b\u043e\u0432\u0430 \u0432 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0438                     \t\t$this-&gt;bruteforce($solve, $solveindex + 1, 0);                \t\t}        \t\t} \t} }  <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 \u0438 \u0446\u0435\u043b\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u041d\u0430 \u044d\u0442\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043a\u043b\u0430\u0441\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u043d\u043e\u0439.<\/p>\n<pre><code class=\"php\">\/\/ \u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430 public function translateSolve($solve) {     \t$solve = $this-&gt;translateTranslit($solve);       \t$this-&gt;stackIndex++;     \t$this-&gt;stack_push(&quot;&quot;);     \t$this-&gt;word = $solve;       \tif (strlen($solve) &gt; self::maxSolveLength) {         \t$this-&gt;stack_push(&quot;&lt;span class='errorsolve'&gt;&quot;.$solve.&quot;&lt;\/span&gt;&quot;);         \treturn false;     \t} else {         \t$this-&gt;bruteforce($solve, 0, 0);     \t} }   \/\/ \u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 public function translatePhrase() {     \tif (!preg_match_all(&quot;\/[a-z\u0430-\u044f]+\/ms&quot;, $this-&gt;text, $phrase))         \treturn false;       \tforeach($phrase[0] as $solve) {         \t$this-&gt;translateSolve($solve);         } } } \/\/\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0430\u044f \u0441\u043a\u043e\u0431\u043a\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0424\u0438\u043d\u0438\u0448\u043d\u0430\u044f \u043f\u0440\u044f\u043c\u0430\u044f<\/h5>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u0433\u043e\u0442\u043e\u0432\u043e\u0439. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0443, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c php \u0444\u0430\u0439\u043b \u043a\u0443\u0447\u0435\u0439 html \u043a\u043e\u0434\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043b\u044f, \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043f\u0430\u0440\u044b \u0441\u0442\u0440\u043e\u0447\u0435\u043a.<\/p>\n<pre><code class=\"php\">$Translater = new Translater(@$_POST[&quot;textdata&quot;]); $stream = &quot;&quot;;   foreach($Translater-&gt;stack as $stackindex =&gt; $stack) {         $stream .= &quot;&lt;div class='output'&gt;&quot;;         foreach ($stack as $solveindex =&gt; $solve) {                 if ($solve != &quot;&quot; ) $stream .= $solve.&quot;&lt;br&gt;&quot;;         }         if (isset($Translater-&gt;trash[$stackindex])) {                 $stream .= &quot;&lt;hr&gt;&lt;p&gt;&quot;;        \t        foreach ($Translater-&gt;trash[$stackindex] as $trash) {                         $stream .= $trash.&quot;&lt;br&gt;&quot;;                 }                 $stream .= &quot;&lt;\/p&gt;&quot;;          }     \t$stream .= &quot;&lt;\/div&gt;&quot;; }   $template = file_get_contents(&quot;default.html&quot;); $template = str_replace(&quot;#TEXTDATA&quot;, $Translater-&gt;phrase, $template); $template = str_replace(&quot;#STREAM&quot;, $stream, $template); echo str_replace(array(&quot;\\r\\n&quot;, &quot;  &quot;), &quot;&quot;, $template); <\/code><\/pre>\n<p>  \u0412\u043e\u0442, \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0438 \u0432\u0441\u0435. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0438 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0445\u043e\u0442\u044f \u0431\u044b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u043b\u044e\u0434\u044f\u043c!<\/p>\n<p>  P.S. \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c <a href=\"http:\/\/kupo.su\/engine\/translate.php\">\u0442\u0443\u0442<\/a>. \t\t\t \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/171977\/\"> http:\/\/habrahabr.ru\/post\/171977\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h5>\u0421 \u0447\u0435\u0433\u043e \u0432\u0441\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u043e\u0441\u044c<\/h5>\n<p>  \u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u0443\u0432\u0430\u0436\u0430\u0435\u043c\u044b\u0435 \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435! \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043a\u0440\u0430\u0442\u043a\u0443\u044e \u043f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430. \u0412\u00a0\u0441\u0435\u0442\u0438 \u0435\u0441\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u0430\u044f \u0438\u0433\u0440\u0443\u0448\u043a\u0430 \u0441\u00a0\u0447\u0430\u0442\u043e\u043c, \u0438\u00a0\u0434\u0432\u0443\u043c\u044f \u0432\u0440\u0430\u0436\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0438\u0440\u0430\u043c\u0438. \u041f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437\u00a0\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0438\u0440\u0430 \u0432\u00a0\u0434\u0440\u0443\u0433\u043e\u0439, \u0435\u0441\u043b\u0438 \u0432\u044b\u00a0\u043d\u0435\u00a0\u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0432\u00a0\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0442\u0435\u043a\u0441\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043b\u0441\u044f, \u0442\u043e\u00a0\u0435\u0441\u0442\u044c \u0431\u0443\u043a\u0432\u044b \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0430 \u00ab\u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u043b\u0438\u0441\u044c\u00bb\u00a0\u2014 \u043a\u00a0\u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0431\u0443\u043a\u0432\u0430 \u00ab\u043e\u00bb \u0437\u0430\u043c\u0435\u043d\u044f\u043b\u0430\u0441\u044c \u043d\u0430\u00a0\u0431\u0443\u043a\u0432\u0443 \u00ab\u0435\u00bb, \u0431\u0443\u043a\u0432\u0430 \u00ab\u0437\u00bb \u043d\u0430\u00a0\u0431\u0443\u043a\u0432\u0443 \u00ab\u0432\u00bb \u0438\u00a0\u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u043a\u0432 \u043c\u043e\u0433\u043b\u0438 \u00ab\u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f\u00bb \u0432\u00a0\u043e\u0434\u043d\u0443 \u0438\u00a0\u0442\u0443\u00a0\u0436\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0443\u043a\u0432\u044b \u00ab\u0435\u00bb \u0438\u00a0\u00ab\u044d\u00bb \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u043b\u0438\u0441\u044c \u0432\u00a0\u00ab\u0430\u00bb. \u0418\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u043e \u00ab\u0442\u043e\u043b\u044c\u043a\u043e\u00bb \u043c\u043e\u0433\u043b\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0432\u00a0\u00ab\u0441\u0435\u0444\u044b\u0447\u0435\u00bb, \u0447\u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435\u0447\u0438\u0442\u0430\u0435\u043c\u043e. \u0410\u00a0\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043b\u044e\u0434\u044c\u043c\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u0438 \u0441\u043b\u043e\u0432\u0430 \u0432\u0438\u0434\u0430: \u00ab(\u0431, \u0442, \u0444)\u043e\u043b(\u0443, \u044c)(\u043a, \u0440)\u043e\u00bb, \u043f\u0440\u043e\u0447\u0435\u0441\u0442\u044c \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0436\u0435 \u043d\u0435\u00a0\u0440\u0430\u0437 \u043f\u043b\u044e\u043d\u0443\u0442\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443\u00a0\u044f, \u0438\u00a0\u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0442\u043e\u0432\u0430\u0440\u0438\u0449, \u0440\u0435\u0448\u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b \u0441\u043b\u043e\u0432\u0430\u043c \u0438\u0441\u0442\u0438\u043d\u043d\u043e\u0435 \u043e\u0431\u043b\u0438\u0447\u044c\u0435. \u0423\u00a0\u043d\u0430\u0441 \u0431\u044b\u043b\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0434\u0435\u0439, \u0432\u00a0\u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435, \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0441\u043b\u043e\u0432\u0430 \u043d\u0430\u00a0\u00ab\u0440\u0443\u0441\u0441\u043a\u043e\u0441\u0442\u044c\u00bb (\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u043d\u043e\u0433\u043e \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u044b\u0445 \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u00a0\u043c\u043e\u0433\u0443\u0442 \u0438\u0434\u0442\u0438 \u043f\u043e\u0434\u0440\u044f\u0434 \u0438\u00a0\u0442.\u043f.). \u0412\u00a0\u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u043d\u0446\u043e\u0432 \u0431\u044b\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u0432\u0435\u0441\u044c\u043c\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 phpMorphy, \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u0430\u044f \u043d\u0430\u00a0\u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0432\u0441\u0435\u043c\u0438\u0440\u043d\u043e\u0439 \u043f\u0430\u0443\u0442\u0438\u043d\u044b. \u041e\u00a0\u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u00a0\u043d\u0435\u0439 \u0438\u00a0\u043f\u043e\u0439\u0434\u0435\u0442 \u0440\u0435\u0447\u044c \u0432\u00a0\u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430\u00a0\u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 \u0438\u0437\u00a0\u00ab\u044f\u0437\u044b\u043a\u0430\u00bb \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0438\u0440\u0430 \u0432\u00a0\u0434\u0440\u0443\u0433\u043e\u0439.<\/p>\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-171977","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/171977","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=171977"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/171977\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}