{"id":2034,"date":"2013-05-27T17:24:10","date_gmt":"2013-05-27T08:24:10","guid":{"rendered":"http:\/\/oohito.com\/nqthm\/?p=2034"},"modified":"2013-05-27T17:24:10","modified_gmt":"2013-05-27T08:24:10","slug":"openjtalk%e3%81%ae%e5%b0%8e%e5%85%a5","status":"publish","type":"post","link":"https:\/\/oohito.com\/nqthm\/archives\/2034","title":{"rendered":"OpenJTalk\u306e\u5c0e\u5165"},"content":{"rendered":"<p>TurtleBot1\u306b\u558b\u3089\u305b\u308b\u305f\u3081\u306bOpenJTalk\u3092\u5c0e\u5165\u3057\u305f\u3002OpenJTalk\u3068\u306f\u3001\u65e5\u672c\u8a9e\u3067\u66f8\u304b\u308c\u305f\u6587\u66f8\u3092\u8aad\u307f\u4e0a\u3052\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3042\u308b\u3002<br \/>\n<a href=\"http:\/\/open-jtalk.sourceforge.net\/\">http:\/\/open-jtalk.sourceforge.net\/<\/a><br \/>\n\u4f8b\u306b\u3088\u3063\u3066ubuntu(12.04LTS)\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u5165\u624b\u3067\u304d\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u53e4\u3044\u305f\u3081\u3001\u4e0a\u8a18\u30b5\u30a4\u30c8\u304b\u3089\u6700\u65b0\u7248\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u5c0e\u5165\u306e\u65b9\u6cd5\u306f<a href=\"http:\/\/www.geocities.jp\/humanrace96\/OpenJTalk.html\">OpenJTalk\u3092\u4f7f\u3063\u3066\u307f\u308b\u3002<\/a>\u304c\u8a73\u3057\u3044\u3002\u307b\u307c\u540c\u3058\u624b\u9806\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<\/p>\n<h2>\u6e96\u5099<\/h2>\n<p><a href=\"http:\/\/open-jtalk.sourceforge.net\/\">http:\/\/open-jtalk.sourceforge.net\/<\/a>\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<ul>\n<li>open_jtalk-1.06.tar.gz<\/li>\n<li>open_jtalk_dic_utf_8-1.06.tar.gz<\/li>\n<li>hts_voice_nitech_jp_atr503_m001-1.05.tar.gz<\/li>\n<\/ul>\n<p>\u307e\u305f\u3001<a href=\"http:\/\/hts-engine.sourceforge.net\/\">http:\/\/hts-engine.sourceforge.net\/<\/a>\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<ul>\n<li>hts_engine_API-1.07.tar.gz<\/li>\n<\/ul>\n<p>\u4e0a\u8a18\u3092\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3002\u3053\u3053\u3067\u306f\u8aac\u660e\u306e\u90fd\u5408\u4e0a\u3001~\/Downloads \u306b\u4fdd\u5b58\u3057\u305f\u3082\u306e\u3068\u3059\u308b\u3002<\/p>\n<h2>\u30d3\u30eb\u30c9<\/h2>\n<p>\u624b\u9806\u3068\u3057\u3066\u306f\u3001<\/p>\n<ol>\n<li>hts_engine_API\u306e\u30d3\u30eb\u30c9<\/li>\n<li>open_jtalk-1.06\u306b\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b<\/li>\n<li>open_jtalk-1.06\u306e\u30d3\u30eb\u30c9<\/li>\n<\/ol>\n<p>\u306e\u9806\u3067\u30d3\u30eb\u30c9\u3092\u884c\u3046\u3002<br \/>\n\u4f8b\u306b\u3088\u3063\u3066 ~\/workspace \u30d5\u30a9\u30eb\u30c0\u306b\u4e0a\u8a18\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3057\u3066\u3044\u304f\u3082\u306e\u3068\u3059\u308b\u3002<\/p>\n<h3>hts_engine_API\u306e\u30d3\u30eb\u30c9<\/h3>\n<p><code>cd ~\/workspace<br \/>\ntar xzf ..\/Downloads\/hts_engine_API-1.07.tar.gz<br \/>\ncd hts_engine_API-1.07<br \/>\n.\/configure<br \/>\nmake<br \/>\nsudo make install<\/code><\/p>\n<h3>open_jtalk-1.06\u306b\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u308b<\/h3>\n<p>\u4f55\u3082\u305b\u305a\u306bopen_jtalk\u3092\u30d3\u30eb\u30c9\u3059\u308b\u3068\u3001\u6587\u7ae0\u306b\u3088\u3063\u3066\u306f\u8aad\u307f\u4e0a\u3052\u306e\u9014\u4e2d\u3067\u3082\u306e\u3059\u3054\u304f\u9593\u5ef6\u3073\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u30bd\u30fc\u30b9\u306b\u30d1\u30c3\u30c1\u3092\u3042\u3066\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<pre>*** jpcommon\/jpcommon_label.c.orig      2012-12-24 17:18:53.000000000 +0900\n--- jpcommon\/jpcommon_label.c   2013-05-27 16:35:45.195252424 +0900\n***************\n*** 284,289 ****\n--- 284,290 ----\n        if (index == a)\n           break;\n     }\n+    if (i > 3) i = 3;\n     return i;\n  }\n***************\n*** 383,388 ****\n--- 384,390 ----\n     for (i = 0, index = m->next; index != NULL; index = index->next)\n        i++;\n+    if (i > 10) i = 10;\n     return index_mora_in_utterance(m) + i;\n  }<\/pre>\n<p>\u4e0a\u8a18\u3092\u9069\u5f53\u306a\u30d5\u30a1\u30a4\u30ebmanobi.patch\u306b\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3057\u3066workspace\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3059\u308b\u3002\u305d\u306e\u5f8c\u4ee5\u4e0b\u3092\u5b9f\u884c\u3059\u308b\u3002<br \/>\n<code>cd ~\/workspace<br \/>\ntar xzf ..\/Downloads\/open_jtalk-1.06.tar.gz<br \/>\ncd open_jtalk-1.06\/<br \/>\npatch -p0 < ..\/manobi.path<\/code><\/p>\n<h3>open_jtalk-1.06\u3092\u30d3\u30eb\u30c9\u3059\u308b<\/h3>\n<p>\u30d1\u30c3\u30c1\u304c\u6210\u529f\u3057\u305f\u3089\u7d9a\u3051\u3066\u30d3\u30eb\u30c9\u3059\u308b\u3002<br \/>\n<\/code><code>.\/configure --with-charset=UTF-8<br \/>\nmake<br \/>\nsudo make install<\/code><\/p>\n<h2>\u5404\u7a2e\u30c7\u30fc\u30bf\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a<\/h2>\n<p>\u8f9e\u66f8\u30d5\u30a1\u30a4\u30eb\u304a\u3088\u3073\u97f3\u58f0\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3059\u308b\u3002<br \/>\n<code>tar xzf ..\/Downloads\/hts_voice_nitech_jp_atr503_m001-1.05.tar.gz<br \/>\ntar xzf ..\/Downloads\/open_jtalk_dic_utf_8-1.06.tar.gz<br \/>\nsudo mkdir \/usr\/local\/share\/open_jtalk<br \/>\nsudo mv hts_voice_nitech_jp_atr503_m001-1.05\/ open_jtalk_dic_utf_8-1.06\/ \/usr\/local\/share\/open_jtalk\/<\/code><\/p>\n<h2>\u5b9f\u884c<\/h2>\n<p><code>open_jtalk -m \/usr\/local\/share\/open_jtalk\/hts_voice_nitech_jp_atr503_m001-1.05\/nitech_jp_atr503_m001.htsvoice -ow output.wav -x \/usr\/local\/share\/open_jtalk\/open_jtalk_dic_utf_8-1.06\/<\/code><br \/>\n\u4e0a\u8a18\u3092\u5b9f\u884c\u3059\u308b\u3068\u5165\u529b\u5f85\u3061\u306b\u306a\u308b\u306e\u3067\u3001\u9069\u5f53\u306a\u65e5\u672c\u8a9e\u6587\u7ae0\u3092\u5165\u529b\u3057\u3066Enter\u3092\u62bc\u3059\u3002\u3059\u308b\u3068\u3001\u305d\u306e\u6587\u7ae0\u3092\u8aad\u307f\u4e0a\u3052\u305f\u30d5\u30a1\u30a4\u30eb\uff08output.wav\uff09\u304c\u751f\u6210\u3055\u308c\u308b\u305f\u3081\u3001\u9069\u5f53\u306a\u30d7\u30ec\u30a4\u30e4\u30fc\uff08mplayer\u7b49\uff09\u3067\u518d\u751f\u3059\u308c\u3070\u3088\u3044\u3002<br \/>\n\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u9577\u3044\u306e\u3067\u9069\u5f53\u306a\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u3063\u3066\u304a\u3044\u305f\u65b9\u304c\u3044\u3044\u3060\u308d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TurtleBot1\u306b\u558b\u3089\u305b\u308b\u305f\u3081\u306bOpenJTalk\u3092\u5c0e\u5165\u3057\u305f\u3002OpenJTalk\u3068\u306f\u3001\u65e5\u672c\u8a9e\u3067\u66f8\u304b\u308c\u305f\u6587\u66f8\u3092\u8aad\u307f\u4e0a\u3052\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3042\u308b\u3002 http:\/\/open-jtalk.sourceforge&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,17],"tags":[],"class_list":["post-2034","post","type-post","status-publish","format-standard","hentry","category-turtlebot","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/comments?post=2034"}],"version-history":[{"count":0,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/posts\/2034\/revisions"}],"wp:attachment":[{"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/media?parent=2034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/categories?post=2034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oohito.com\/nqthm\/wp-json\/wp\/v2\/tags?post=2034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}