{"id":1012,"date":"2010-09-01T23:59:39","date_gmt":"2010-09-01T14:59:39","guid":{"rendered":"http:\/\/pokosho.com\/b\/?p=1012"},"modified":"2010-09-01T23:59:39","modified_gmt":"2010-09-01T14:59:39","slug":"iphone%e3%81%8b%e3%82%89mecab%e3%82%92%e5%91%bc%e3%81%b3%e3%81%9f%e3%81%84","status":"publish","type":"post","link":"https:\/\/pokosho.com\/b\/archives\/1012","title":{"rendered":"iPhone\u304b\u3089MeCab\u3092\u547c\u3073\u305f\u3044"},"content":{"rendered":"<p>iPhone\u304b\u3089\u5f62\u614b\u7d20\u89e3\u6790\u30a8\u30f3\u30b8\u30f3\u3001<a href=\"http:\/\/mecab.sourceforge.net\/\">MeCab<\/a>\u3092\u547c\u3073\u305f\u3044\u306e\u3067\u3059\u3002<br \/>\n<a href=\"http:\/\/chasen.org\/~taku\/blog\/archives\/2010\/04\/mecabiphoneosx.html\">MacOS\u3084iPhone\u3067\u306fMeCab\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b<\/a>\u306e\u3067\u3001\u547c\u3079\u306a\u3044\u3082\u306e\u3060\u308d\u3046\u304b\uff1f<\/p>\n<p>\u3053\u3053\u6570\u9031\u9593\u3001\u4f1a\u793e\u306e\u4f11\u307f\u6642\u9593\u3084\u5e30\u3063\u3066\u304b\u3089\u8abf\u3079\u3066\u3044\u308b\u3093\u3060\u3051\u3069\u308f\u304b\u3089\u306a\u3044\uff01<br \/>\n\u8ab0\u304b\u30d2\u30f3\u30c8\u4e0b\u3055\u3044\uff01<\/p>\n<h3>\u3084\u308a\u305f\u3044\u3053\u3068<\/h3>\n<ul>\n<li>iPhone\u3067\u5f62\u614b\u7d20\u89e3\u6790\u3092\u3057\u305f\u3044\u3002<\/li>\n<li>\u3067\u304d\u308c\u3070iPhone\u306b\u5165\u3063\u3066\u3044\u308b\u3082\u306e\u3092\u4f7f\u7528\u3057\u305f\u3044(\u8f9e\u66f8\u304c\u7d50\u69cb\u306a\u30b5\u30a4\u30ba\u306a\u306e\u3067)\u3002<\/li>\n<\/ul>\n<h3>\u308f\u304b\u3063\u305f\u3053\u3068<\/h3>\n<ul>\n<li>\u305d\u308c\u3063\u307d\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001libmecab_em.dylib\u3068libmecabra.dylib\u304c\u3042\u308b<\/li>\n<li>\u8f9e\u66f8\u306f \/Developer\/Platforms\/iPhoneXXX.platform\/Developer\/SDKs\/iPhoneXXX.sdk\/usr\/lib\/dic\/ja\/im\/dicrc \u304c\u3042\u308b\u3002<br \/>\nim\u306e\u4ed6\u306b\u3082tok\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3042\u308b\u3002ja\u306e\u4ed6\u306b\u3082 sc(\u30bb\u30fc\u30b7\u30a7\u30eb\u5171\u548c\u56fd?) \u3084 tc (\u30bf\u30fc\u30af\u30b9\u8af8\u5cf6\u30fb\u30ab\u30a4\u30b3\u30b9\u8af8\u5cf6?) \u306a\u3069\u304c\u3042\u308b\u3002<\/li>\n<li>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u8ffd\u52a0\u304b\u3089\u4e0a\u8a18dylib\u3092\u8ffd\u52a0\u3001&#8212;-dicdir\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001<a href=\"http:\/\/mecab.sourceforge.net\/libmecab.html\">C\u30b5\u30f3\u30d7\u30eb<\/a>\u306f\u30d3\u30eb\u30c9\u3001\u52d5\u4f5c\u3067\u304d\u308b(\u4e00\u90e8\u8b66\u544a\u304c\u3067\u308b\u304c\u521d\u6b69\u7684\u306a\u554f\u984c\u306a\u306e\u3067\u5272\u611b)\u3002<\/li>\n<li>(\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u3053\u3068\u306f\u8003\u3048\u305a\u306b)\u3068\u308a\u3042\u3048\u305a\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u4f55\u304b\u3057\u3089\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u304c\u5185\u5bb9\u306f\u4e0d\u660e(<a href=\"\/a\/mecab_test_out.txt\">\u30d5\u30a1\u30a4\u30eb\u51fa\u529b\u3057\u305f\u7269<\/a>)\u3002<\/li>\n<li>mecab_dictionary_info_t\u3092\u53d6\u5f97\u3057\u3066\u3001\u8f9e\u66f8\u60c5\u5831\u3092\u898b\u308b\u3068\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u306fUTF-16LE\u3001\u5358\u8a9e\u6570\u306f171884\u3002<\/li>\n<li>\u5165\u529b\u3092UTF-16LE\u306b\u3057\u3066\u307f\u308b\u3068\u3001mecab_sparse_tostr\u3067\u843d\u3061\u3066\u7d50\u679c\u306f\u53d6\u5f97\u3067\u304d\u306a\u3044\u3002<\/li>\n<\/ul>\n<h3>\u3053\u308c\u304b\u3089\u3084\u308b\u3053\u3068<\/h3>\n<ul>\n<li>gdb\u3092\u4f7f\u3063\u3066\u3001\u306a\u305c\u843d\u3061\u3066\u3044\u308b\u306e\u304b\u63a2\u308b\u3002<\/li>\n<li>mecab_sparse_tostr2\u306a\u3069\u4ed6\u306b\u4f7f\u7528\u3067\u304d\u306a\u3044\u304b\u8a66\u3057\u3066\u307f\u308b\u3002 =&gt; mecab_sparse_tonode2\u3067\u3082\u843d\u3061\u308b\u3002mecab_sparse_tostr2\u3067\u3082\u843d\u3061\u308b\u3002<\/li>\n<li>\u81ea\u524d\u3067\u30d3\u30eb\u30c9\u3057\u305fmecab\u3001\u8f9e\u66f8\u3067\u8a66\u3057\u3066\u307f\u308b\u3002<\/li>\n<li>SWIG\u3092\u4f7f\u3063\u3066Objective-C\u306b\u3057\u3066\u307f\u308b\u3002<\/li>\n<li>\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/SDKs\/iPhoneOS4.0.sdk\/usr\/include\/mecab.h \u3092\u898b\u308b\u3068\u3001#if 1 \/* MECAB_APPLE_ENHANCEMENT *\/<br \/>\n \u3067mecab_path_t\u306e\u5b9a\u7fa9\u3067\u5ba3\u8a00\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u5909\u6570\u304c\u3042\u308b\u3002<\/li>\n<\/ul>\n<h3>\u5099\u8003<\/h3>\n<ul>\n<li>\u50d5\u306eC\u3068Mac(\u305d\u306e\u4ed6\u8af8\u3005)\u306e\u77e5\u8b58\u306f\u304a\u7c97\u672b\u2026\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>iPhone\u304b\u3089\u5f62\u614b\u7d20\u89e3\u6790\u30a8\u30f3\u30b8\u30f3\u3001MeCab\u3092\u547c\u3073\u305f\u3044\u306e\u3067\u3059\u3002 MacOS\u3084iPhone\u3067\u306fMeCab\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u547c\u3079\u306a\u3044\u3082\u306e\u3060\u308d\u3046\u304b\uff1f \u3053\u3053\u6570\u9031\u9593\u3001\u4f1a\u793e\u306e\u4f11\u307f\u6642\u9593\u3084\u5e30\u3063\u3066\u304b\u3089\u8abf\u3079\u3066\u3044\u308b\u3093\u3060\u3051\u3069\u308f\u304b\u3089\u306a\u3044\uff01 \u8ab0 [&hellip;]<\/p>\n","protected":false},"author":1,"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,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1012","post","type-post","status-publish","format-standard","hentry","category-program"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/posts\/1012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/comments?post=1012"}],"version-history":[{"count":0,"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/posts\/1012\/revisions"}],"wp:attachment":[{"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/media?parent=1012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/categories?post=1012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokosho.com\/b\/wp-json\/wp\/v2\/tags?post=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}