{"id":442,"date":"2011-01-21T18:11:44","date_gmt":"2011-01-21T14:11:44","guid":{"rendered":"http:\/\/sandalov.org\/blog\/?p=442"},"modified":"2011-08-29T14:01:51","modified_gmt":"2011-08-29T10:01:51","slug":"slovari-dlya-perevodchika-android-colordict","status":"publish","type":"post","link":"https:\/\/sandalov.org\/blog\/442\/","title":{"rendered":"\u0421\u043b\u043e\u0432\u0430\u0440\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 Android ColorDict"},"content":{"rendered":"<div class=\"2d836d85a73757df15d0de19d7bef594\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2287684400845931\";\r\n\/* valerymorozov *\/\r\ngoogle_ad_slot = \"5606708872\";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>\u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 Android ColorDict.<\/p>\n<div id=\"attachment_473\" style=\"width: 224px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-473\" class=\"size-full wp-image-473\" title=\"ColorDict\" src=\"http:\/\/sandalov.org\/blog\/wp-content\/uploads\/2011\/01\/post-14583-1253559359.png\" alt=\"ColorDict\" width=\"214\" height=\"320\" \/><p id=\"caption-attachment-473\" class=\"wp-caption-text\">ColorDict<\/p><\/div>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e:<\/p>\n<ol>\n<li>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0432 \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 (DSL)<\/li>\n<li>\u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c DSL \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 <a href=\"http:\/\/stardict.sourceforge.net\/\">Stardict<\/a><\/li>\n<li>\u041f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0435\u0433\u043e \u043d\u0430 SD-\u043a\u0430\u0440\u0442\u0443 \u0432 \u043f\u0430\u043f\u043a\u0443 <em>\/sdcard\/dictdata\/<\/em><\/li>\n<\/ol>\n<p>DSL \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0441\u043a\u0430\u0447\u0430\u0432 \u0435\u0433\u043e \u043f\u0440\u044f\u043c\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435, \u043b\u0438\u0431\u043e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 LSD. \u041f\u043e\u0434 Windows \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 <a href=\"http:\/\/sandalov.org\/blog\/wp-content\/uploads\/2011\/01\/DslComp.zip\">DslComp<\/a> (\u0443\u0436\u0435 \u043f\u0440\u043e\u043f\u0430\u0442\u0447\u0435\u043d\u0430 \u043a\u0430\u043a \u043d\u0430\u0434\u043e); \u043f\u043e\u0434 Linux \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 makedict \u0432 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <a href=\"http:\/\/sourceforge.net\/projects\/xdxf\/\">XDXF<\/a>.  (\u0418\u0434\u0451\u043c \u043d\u0430 \u0441\u0430\u0439\u0442 <a href=\"http:\/\/sourceforge.net\/projects\/xdxf\/\">XDXF<\/a> &#8211; XML Dictionary Exchange Format, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c makedict-***.tar.bz2, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c, configure, make \u0438 \u0432 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 src \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b makedict. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 gcc-c++ \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438). \u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 Ubuntu <em>makedict<\/em> \u043d\u0430\u0439\u0442\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c, \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u0441\u044f \u0441 \u043a\u0443\u0447\u0435\u0439 \u043e\u0448\u0438\u0431\u043e\u043a. \u041d\u0430\u043c\u0443\u0447\u0430\u0432\u0448\u0438\u0441\u044c \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438 \u0441\u043a\u0430\u0447\u0430\u043b \u043d\u0430\u0448\u0451\u043b \u043f\u0430\u043a\u0435\u0442 \u0432 <a href=\"http:\/\/rpm.pbone.net\/\">RPM<\/a> \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <em>alien<\/em> \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 <em>deb<\/em>. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c <em>makedict<\/em>:<\/p>\n<p>Windows: \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c DslComp, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c LSD, \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c \u0432 &#8220;DSL (\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u044b)&#8221;.<\/p>\n<p>Linux:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmakedict -i dsl -o stardict *.dsl\r\nfor f in .\/*\/*; do mv $f .\/; done\r\n<\/pre>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u0430:<br \/>\n<em>dictionary_name.dict<\/em> &#8211; \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u043b\u043e\u0432\u0430\u0440\u044c.<br \/>\n<em>dictionary_name.idx<\/em> &#8211; \u0438\u043d\u0434\u0435\u043a\u0441.<br \/>\n<em>dictionary_name.ifo<\/em> &#8211; \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435.<\/p>\n<p>\u0421\u043b\u043e\u0432\u0430\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u0436\u0430\u0442\u044c \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 dictzip, \u0447\u0442\u043e\u0431\u044b \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u043b\u043e\u0432\u0430\u0440\u044f. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0444\u0430\u0439\u043b \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c .dict.dz.<br \/>\n\u0418\u043d\u0434\u0435\u043a\u0441 \u0442\u043e\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0436\u0430\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u043c gzip&#8217;\u043e\u043c.<\/p>\n<p>\u0412 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0418\u043d\u0435\u0442\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0438 \u0442\u0430\u043a\u043e\u0439 bash-script:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">#!\/bin\/bash\r\nPATH_DSL=$1\r\nPATH_CUR=`pwd`\r\nmkdir $PATH_CUR\/stardict\r\nmkdir -p $PATH_CUR\/tmp\/tmp\r\nfor i in $(ls $PATH_DSL | grep dsl$); do \\\r\ncp $1\/*.ann .\/tmp &amp;&amp; \\\r\niconv -f utf16 -t utf8 $PATH_DSL\/$i | sed -r 's\/\\&#x5B;s\\].+\\.wav\\&#x5B;\\\/s\\]\/\/' &gt;$PATH_CUR\/tmp\/$i.utf8 &amp;&amp; \\\r\niconv -f utf8 -t utf16 $PATH_CUR\/tmp\/$i.utf8 &gt; $PATH_CUR\/tmp\/$i &amp;&amp; \\\r\nrm -f $PATH_CUR\/tmp\/$i.utf8 &amp;&amp; \\\r\nmakedict -i dsl -o stardict $PATH_CUR\/tmp\/$i -d .\/tmp\/tmp; done\r\nfind $PATH_CUR\/tmp\/tmp -iname &quot;*.*&quot; \\! -type d -exec mv \\{\\} $PATH_CUR\/stardict\/ \\;\r\nfor i in $(ls $PATH_CUR\/stardict | grep dict$); do dictzip $PATH_CUR\/stardict\/$i; done\r\nfor i in $(ls $PATH_CUR\/stardict | grep idx$); do gzip -9\u00a0 $PATH_CUR\/stardict\/$i; done\r\nrm -R $PATH_CUR\/tmp\r\necho &quot;Done&quot;\r\n<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0443 \u043d\u0430\u0441 \u0444\u0430\u0439\u043b \u043e\u0442 \u043b\u0438\u043d\u0433\u0432\u043e, \u0442\u043e \u0441\u0440\u0435\u0437\u0430\u0435\u043c \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u043e\u0439 \u0438\u043d\u0444\u044b. \u0414\u043e\u043b\u0436\u043d\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 \u0442\u0435\u043b\u0430 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f.<\/p>\n<p>\u0412\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u0441\u044e\u0434\u0430 \u0420\u0443\u0441\u0441\u043a\u043e-\u0424\u0438\u043d\u0441\u043a\u0438\u0435 (FiRuFi) \u0441\u043b\u043e\u0432\u0430\u0440\u0438 \u0434\u043b\u044f ColorDict \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 DSL \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 StarDict:<br \/>\n\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439, \u043d\u043e \u0445\u043e\u0440\u043e\u0448\u0438\u0439 &#8211; <a href=\"http:\/\/sandalov.org\/blog\/wp-content\/uploads\/2011\/01\/dictdata-fi.zip\">\u0442\u0443\u0442<\/a> [878K]<br \/>\n\u0411\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u043e \u043a\u043e\u0440\u044f\u0432\u044b\u0439 &#8211; <a href=\"http:\/\/sandalov.org\/blog\/wp-content\/uploads\/2011\/01\/SuomenSanakirjat.rar\">\u0442\u0443\u0442<\/a> [21M]<\/p>\n<div class=\"2d836d85a73757df15d0de19d7bef594\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2287684400845931\";\r\n\/* valerymorozov *\/\r\ngoogle_ad_slot = \"5606708872\";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u0438 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 Android ColorDict. \u0412 \u0446\u0435\u043b\u043e\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e: \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0432 \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435 (DSL) \u041f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c DSL \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 Stardict \u041f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0435\u0433\u043e \u043d\u0430 SD-\u043a\u0430\u0440\u0442\u0443 \u0432 \u043f\u0430\u043f\u043a\u0443 \/sdcard\/dictdata\/ DSL \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0441\u043a\u0430\u0447\u0430\u0432 \u0435\u0433\u043e \u043f\u0440\u044f\u043c\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435, \u043b\u0438\u0431\u043e \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 LSD. \u041f\u043e\u0434 Windows \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 DslComp &hellip; <a class=\"continue-reading-link\" href=\"https:\/\/sandalov.org\/blog\/442\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[100],"tags":[113,381,64,101,112,104,105,107,110,111,106,108,109,379,102,103],"class_list":["post-442","post","type-post","status-publish","format-standard","hentry","category-android","tag-alien","tag-android","tag-bash","tag-colordict","tag-deb","tag-dictionaries","tag-firu","tag-firufi","tag-lsd","tag-rpm","tag-rufi","tag-rufiru","tag-stardict","tag-ubuntu","tag-perevodchik","tag-slovari"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/comments?post=442"}],"version-history":[{"count":42,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"predecessor-version":[{"id":492,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/442\/revisions\/492"}],"wp:attachment":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}