{"id":1357,"date":"2021-07-14T14:17:41","date_gmt":"2021-07-14T07:17:41","guid":{"rendered":"https:\/\/maydocsachtot.com\/blog\/?p=1357"},"modified":"2021-10-21T02:04:07","modified_gmt":"2021-10-20T19:04:07","slug":"cach-tao-tu-dien-cho-kobo","status":"publish","type":"post","link":"https:\/\/maydocsachtot.com\/blog\/cach-tao-tu-dien-cho-kobo\/","title":{"rendered":"C\u00e1ch t\u1ea1o t\u1eeb \u0111i\u1ec3n cho Kobo"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\">N\u1ed9i dung ch&iacute;nh<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6aaff1c2941a0\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6aaff1c2941a0\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/maydocsachtot.com\/blog\/cach-tao-tu-dien-cho-kobo\/#Tu_tao_tu_dien_cho_Kobo\" title=\"T\u1ef1 t\u1ea1o t\u1eeb \u0111i\u1ec3n cho Kobo\">T\u1ef1 t\u1ea1o t\u1eeb \u0111i\u1ec3n cho Kobo<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/maydocsachtot.com\/blog\/cach-tao-tu-dien-cho-kobo\/#Tai_nguyen\" title=\"T\u00e0i nguy\u00ean\">T\u00e0i nguy\u00ean<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/maydocsachtot.com\/blog\/cach-tao-tu-dien-cho-kobo\/#Tao_tu_dien\" title=\"T\u1ea1o t\u1eeb \u0111i\u1ec3n\">T\u1ea1o t\u1eeb \u0111i\u1ec3n<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Tu_tao_tu_dien_cho_Kobo\"><\/span>T\u1ef1 t\u1ea1o t\u1eeb \u0111i\u1ec3n cho Kobo<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"Tai_nguyen\"><\/span><a id=\"user-content-t\u00e0i-nguy\u00ean\" class=\"anchor\" href=\"https:\/\/github.com\/lelinhtinh\/kobo-tieng-viet\/wiki\/T%E1%BB%B1-t%E1%BA%A1o-t%E1%BB%AB-%C4%91i%E1%BB%83n-cho-Kobo#t%C3%A0i-nguy%C3%AAn\" aria-hidden=\"true\" target=\"_blank\" rel=\"noopener\"><\/a>T\u00e0i nguy\u00ean<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><a href=\"https:\/\/sourceforge.net\/projects\/ovdp\/\" rel=\"nofollow noopener\" target=\"_blank\">Open Vietnamese Dictionary Project<\/a>: Kho t\u1eeb \u0111i\u1ec3n d\u00e0nh cho Ti\u1ebfng Vi\u1ec7t. \u1ede \u0111\u00e2y m\u00ecnh d\u00f9ng b\u1ea3n l\u01b0u tr\u1eef tr\u00ean Github c\u1ee7a @<a href=\"https:\/\/github.com\/dynamotn\/stardict-vi\" target=\"_blank\" rel=\"noopener\">dynamotn<\/a>.<\/li>\n<li><a href=\"https:\/\/github.com\/pettarin\/penelope.git\" target=\"_blank\" rel=\"noopener\">Penelope<\/a>: \u1ee8ng d\u1ee5ng chuy\u1ec3n \u0111\u1ed5i t\u1eeb \u0111i\u1ec3n c\u00f3 h\u1ed7 tr\u1ee3 Kobo. V\u00ec \u0111\u00e3 ng\u1eebng ph\u00e1t tri\u1ec3n n\u00ean m\u00ecnh d\u00f9ng b\u1ea3n fork c\u1ee7a @<a href=\"https:\/\/github.com\/BOOKEEN\/penelope\" target=\"_blank\" rel=\"noopener\">BOOKEEN<\/a>.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Tao_tu_dien\"><\/span><a id=\"user-content-t\u1ea1o-t\u1eeb-\u0111i\u1ec3n\" class=\"anchor\" href=\"https:\/\/github.com\/lelinhtinh\/kobo-tieng-viet\/wiki\/T%E1%BB%B1-t%E1%BA%A1o-t%E1%BB%AB-%C4%91i%E1%BB%83n-cho-Kobo#t%E1%BA%A1o-t%E1%BB%AB-%C4%91i%E1%BB%83n\" aria-hidden=\"true\" target=\"_blank\" rel=\"noopener\"><\/a>T\u1ea1o t\u1eeb \u0111i\u1ec3n<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"highlight highlight-source-shell position-relative\">\n<pre>sudo apt install dictzip python-dev \r\npython -m pip install marisa-trie lxml\r\ngit clone https:\/\/github.com\/BOOKEEN\/penelope.git\r\n<span class=\"pl-c1\">cd<\/span> penelope\r\ngit clone https:\/\/github.com\/dynamotn\/stardict-vi.git\r\nzip -j en-vi.zip stardict-vi\/en-vi\/<span class=\"pl-k\">*<\/span>\r\npython -m penelope -i en-vi.zip -f en -t vi -j stardict -p kobo -o dicthtml<\/pre>\n<\/div>\n<p>Thay\u00a0<code>en-vi<\/code>\u00a0b\u1eb1ng th\u01b0 m\u1ee5c t\u01b0\u01a1ng \u1ee9ng n\u1ebfu mu\u1ed1n t\u1ea1o nh\u00f3m ng\u00f4n ng\u1eef kh\u00e1c, \u0111\u1ed3ng th\u1eddi c\u1eadp nh\u1eadt\u00a0<code>-f en<\/code>\u00a0<em>(from)<\/em>\u00a0v\u00e0\u00a0<code>-t vi<\/code>\u00a0<em>(to)<\/em>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>T\u1ef1 t\u1ea1o t\u1eeb \u0111i\u1ec3n cho Kobo T\u00e0i nguy\u00ean Open Vietnamese Dictionary Project: Kho t\u1eeb \u0111i\u1ec3n d\u00e0nh cho Ti\u1ebfng Vi\u1ec7t. \u1ede \u0111\u00e2y m\u00ecnh d\u00f9ng b\u1ea3n l\u01b0u tr\u1eef tr\u00ean Github c\u1ee7a @dynamotn. Penelope: \u1ee8ng d\u1ee5ng chuy\u1ec3n \u0111\u1ed5i t\u1eeb \u0111i\u1ec3n c\u00f3 h\u1ed7 tr\u1ee3 Kobo. V\u00ec \u0111\u00e3 ng\u1eebng ph\u00e1t tri\u1ec3n n\u00ean m\u00ecnh d\u00f9ng b\u1ea3n fork c\u1ee7a @BOOKEEN. T\u1ea1o t\u1eeb [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":1358,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"jnews-multi-image_gallery":[],"jnews_single_post":{"source_name":"","source_url":"","via_name":"","via_url":"","override_template":"0","override":[{"template":"1","single_blog_custom":"","parallax":"1","fullscreen":"1","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"0","post_reading_time_wpm":"300","show_zoom_button":"0","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","number_popup_post":"1","show_author_box":"0","show_post_related":"0","show_inline_post_related":"0"}],"override_image_size":"0","image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post":"0","trending_post_position":"meta","trending_post_label":"Trending","sponsored_post":"0","sponsored_post_label":"Sponsored by","sponsored_post_name":"","sponsored_post_url":"","sponsored_post_logo_enable":"0","sponsored_post_logo":"","sponsored_post_desc":""},"jnews_primary_category":{"id":""},"jnews_social_meta":{"fb_title":"","fb_description":"","fb_image":"","twitter_title":"","twitter_description":"","twitter_image":""},"jnews_review":[],"enable_review":"0","type":"percentage","name":"","summary":"","brand":"","sku":"","good":[{"good_text":""}],"bad":[{"bad_text":""}],"score_override":"","override_value":"","rating":[{"rating_text":"","rating_number":"10"}],"price":[{"shop":"","price":"","link":"","icon":""}],"jnews_override_counter":{"override_view_counter":"0","view_counter_number":"0","override_share_counter":"0","share_counter_number":"0","override_like_counter":"0","like_counter_number":"0","override_dislike_counter":"0","dislike_counter_number":"0"},"jnews_post_split":{"enable_post_split":"0","post_split":[{"template":"13","tag":"h2","numbering":"asc","mode":"normal","first":"0","enable_toc":"1","toc_type":"both"}]},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/posts\/1357"}],"collection":[{"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/comments?post=1357"}],"version-history":[{"count":0,"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/posts\/1357\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/media\/1358"}],"wp:attachment":[{"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/media?parent=1357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/categories?post=1357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maydocsachtot.com\/blog\/wp-json\/wp\/v2\/tags?post=1357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}