{"id":6281,"date":"2011-03-21T08:00:15","date_gmt":"2011-03-20T23:00:15","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=6281"},"modified":"2011-06-03T09:23:43","modified_gmt":"2011-06-03T00:23:43","slug":"sen-%e3%81%a7-naist-jdic","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/6281.html","title":{"rendered":"Sen \u3067 NAIST-jdic"},"content":{"rendered":"<p>Sen \u3067 NAIST-jdic \u3092\u4f7f\u3046\u65b9\u6cd5\u3002<br \/>\n<!--more--><\/p>\n<p>\u3042\u3089\u304b\u3058\u3081\u3001<a href=\"http:\/\/sourceforge.jp\/projects\/naist-jdic\/\">NAIST Japanese Dictionary \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u65e5\u672c\u8a9e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8 &#8211; SourceForge.JP<\/a>\u304bnaist-jdic-0.4.3.tar.gz \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u304d\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306esrc\u3078\u7f6e\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>1. Apache Ant \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff08<a href=\"http:\/\/ant.apache.org\/\">Apache Ant<\/a>\uff09\u3002\u3053\u3053\u3067\u306f\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e src\u306bapache-ant-1.8.2-bin.tar.gz\u3092\u304a\u304d\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306eapplications\/apache-ant-1.8.2 \u306b\u5c55\u958b\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"code\" style=\"overflow: scroll; width: 490px; white-space: nowrap;background-color:black;color:white;padding:4px;\">cd ~\/applications; tar xzf ..\/src\/<br \/>\ntar xzf apache-ant-1.8.2-bin.tar.gz\n<\/div>\n<p>2. Sen\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff08<a href=\"http:\/\/java.net\/projects\/sen\">Sen &#8211; Java.net<\/a>\uff09\u3068\u8f9e\u66f8\u69cb\u7bc9\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f\u3057\u3066\u307f\u305f\u3002\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b applications, src \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002src\u306b\u306fsen-1.2.2.1.zip \u3092\u7f6e\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7f6e\u304d\u63db\u3048\u3084\u3001\u30d3\u30eb\u30c9\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u6b63\u3092\u3057\u3066\u3001\u3042\u3089\u304b\u3046\u3058\u3081\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fnaist-jdic-0.4.3.tar.gz\u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<div class=\"code\" style=\"overflow: scroll; width: 490px; white-space: nowrap;background-color:black;color:white;padding:4px;\">&#x23;&#x21;&#x2f;bin&#x2f;sh<br \/>\ncd&nbsp;&nbsp;&#x24;{HOME}&#x2f;applications<br \/>\nunzip&nbsp;&#x24;{HOME}&#x2f;src&#x2f;sen&#x2d;1.2.2.1.zip<\/p>\n<p>SEN_HOME=&#x24;{HOME}&#x2f;applications&#x2f;sen&#x2d;1.2.2.1<br \/>\nfor&nbsp;f&nbsp;in&nbsp;sen.xml&nbsp;sen&#x2d;processor.xml<br \/>\ndo<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;cat&nbsp;&#x24;{SEN_HOME}&#x2f;conf&#x2f;&#x24;{f}&nbsp;&#x7c;&nbsp;sed&nbsp;&#x27;s&#x2f;euc&#x2d;jp&#x2f;utf&#x2d;8&#x2f;&#x27;&nbsp;&gt;&nbsp;&nbsp;&#x24;{SEN_HOME}&#x2f;conf&#x2f;&#x24;{f}.new<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;mv&nbsp;&nbsp;&#x24;{SEN_HOME}&#x2f;conf&#x2f;&#x24;{f}&nbsp;&nbsp;&nbsp;&#x24;{SEN_HOME}&#x2f;conf&#x2f;&#x24;{f}.bak<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;mv&nbsp;&nbsp;&#x24;{SEN_HOME}&#x2f;conf&#x2f;&#x24;{f}.new&nbsp;&nbsp;&nbsp;&#x24;{SEN_HOME}&#x2f;conf&#x2f;&#x24;{f}<br \/>\ndone<\/p>\n<p>SEN_HOME=&#x24;{HOME}&#x2f;applications&#x2f;sen&#x2d;1.2.2.1<br \/>\nf=&#x24;{SEN_HOME}&#x2f;dic&#x2f;dictionary.properties<br \/>\ncat&nbsp;&#x24;f&nbsp;&#x7c;&nbsp;sed&nbsp;&#x27;s&#x2f;EUC&#x2d;JP&#x2f;utf&#x2d;8&#x2f;&#x27;&nbsp;&gt;&nbsp;&#x24;f.new<br \/>\nmv&nbsp;&#x24;f&nbsp;&#x24;f.bak<br \/>\nmv&nbsp;&#x24;f.new&nbsp;&#x24;f<\/p>\n<p>SEN_HOME=&#x24;{HOME}&#x2f;applications&#x2f;sen&#x2d;1.2.2.1<br \/>\ncp&nbsp;&#x24;{HOME}&#x2f;src&#x2f;naist&#x2d;jdic&#x2d;0.4.3.tar.gz&nbsp;&#x24;{SEN_HOME}&#x2f;dic&#x2f;<br \/>\ncd&nbsp;&#x24;{SEN_HOME}&#x2f;dic<br \/>\nf=&#x24;{SEN_HOME}&#x2f;dic&#x2f;build.xml<br \/>\ncat&nbsp;&#x24;{f}&nbsp;&#x7c;&nbsp;sed&nbsp;&#x27;s&#x2f;maxmemory=&#x5c;&quot;140m&#x5c;&quot;&#x2f;maxmemory=&#x5c;&quot;512m&#x5c;&quot;&#x2f;&#x27;&nbsp;&#x5c;<br \/>\n&nbsp;&#x7c;&nbsp;sed&nbsp;&#x27;s&#x2f;2.6.0&#x2f;0.4.3&#x2f;&#x27;&nbsp;&#x5c;<br \/>\n&nbsp;&#x7c;&nbsp;sed&nbsp;&#x27;s&#x2f;ipadic&#x2d;&#x2f;naist&#x2d;jdic&#x2d;&#x2f;&#x27;&nbsp;&#x5c;<br \/>\n&nbsp;&gt;&nbsp;&#x24;{f}.new<br \/>\nmv&nbsp;&#x24;{f}&nbsp;&nbsp;&#x24;{f}.bak<br \/>\nmv&nbsp;&#x24;{f}.new&nbsp;&nbsp;&#x24;{f}<\/p>\n<p>ANT_HOME=&#x24;{HOME}&#x2f;applications&#x2f;apache&#x2d;ant&#x2d;1.8.2<br \/>\ncd&nbsp;&#x24;{SEN_HOME}<br \/>\n&#x24;{ANT_HOME}&#x2f;bin&#x2f;ant<\/p>\n<p>cd&nbsp;&#x24;{SEN_HOME}&#x2f;dic<br \/>\n&#x24;{ANT_HOME}&#x2f;bin&#x2f;ant<\/p>\n<p>cd&nbsp;&#x24;{HOME}&#x2f;applications<br \/>\nmv&nbsp;sen&#x2d;1.2.2.1&nbsp;sen&#x2d;1.2.2.1_naist&#x2d;jdic&#x2d;0.4.3\n<\/p><\/div>\n<p>3. \u5b9f\u884c\u7528\u30b9\u30af\u30ea\u30d7\u30c8 run.sh \u3092\u7528\u610f<\/p>\n<div class=\"code\" style=\"overflow: scroll; width: 490px; white-space: nowrap;background-color:black;color:white;padding:4px;\">SEN_HOME=&#x24;{HOME}&#x2f;applications&#x2f;sen&#x2d;1.2.2.1_naist&#x2d;jdic&#x2d;0.4.3<br \/>\ncat&nbsp;&#x24;{SEN_HOME}&#x2f;bin&#x2f;sen.sh&nbsp;&#x7c;&nbsp;&#x5c;<br \/>\n&nbsp;&nbsp;sed&nbsp;&#x27;s&#x2f;info&#x2f;error&#x2f;&#x27;&nbsp;&gt;&nbsp;&#x24;{SEN_HOME}&#x2f;bin&#x2f;run.sh<br \/>\nchmod&nbsp;755&nbsp;&#x24;{SEN_HOME}&#x2f;bin&#x2f;run.sh\n<\/div>\n<p>4. \u7d50\u679c run.sh \u3092\u3059\u308b\u3068\u3001done\u4ee5\u4e0b\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u305d\u3053\u3078\u300c\u3059\u3082\u3082\u3082\u3082\u3082\u3082\u3082\u3082\u306e\u3046\u3061\u300d\u3092\u5165\u308c\u3066\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code\" style=\"overflow: scroll; width: 490px; white-space: nowrap;background-color:black;color:white;padding:4px;\">SEN_HOME=&#x24;{HOME}&#x2f;applications&#x2f;sen&#x2d;1.2.2.1_naist&#x2d;jdic&#x2d;0.4.3&nbsp;&#x5c;<br \/>\n&nbsp;&nbsp;sh&nbsp;&#x24;{SEN_HOME}&#x2f;bin&#x2f;run.sh<\/p>\n<p>done.<br \/>\nPlease&nbsp;input&nbsp;Japanese&nbsp;sentence&#x3a;<br \/>\n\u3059\u3082\u3082\u3082\u3082\u3082\u3082\u3082\u3082\u306e\u3046\u3061<br \/>\n\u3059\u3082\u3082&nbsp;&nbsp;&nbsp;&nbsp;(\u3059\u3082\u3082)&nbsp;&nbsp;&nbsp;&nbsp;\u540d\u8a5e&#x2d;\u4e00\u822c(0,3,3)&nbsp;&nbsp;&nbsp;&nbsp;\u30b9\u30e2\u30e2&nbsp;&nbsp;&nbsp;&nbsp;\u30b9\u30e2\u30e2<br \/>\n\u3082&nbsp;&nbsp;&nbsp;&nbsp;(\u3082)&nbsp;&nbsp;&nbsp;&nbsp;\u52a9\u8a5e&#x2d;\u4fc2\u52a9\u8a5e(3,4,1)&nbsp;&nbsp;&nbsp;&nbsp;\u30e2&nbsp;&nbsp;&nbsp;&nbsp;\u30e2<br \/>\n\u3082\u3082&nbsp;&nbsp;&nbsp;&nbsp;(\u3082\u3082)&nbsp;&nbsp;&nbsp;&nbsp;\u540d\u8a5e&#x2d;\u4e00\u822c(4,6,2)&nbsp;&nbsp;&nbsp;&nbsp;\u30e2\u30e2&nbsp;&nbsp;&nbsp;&nbsp;\u30e2\u30e2<br \/>\n\u3082&nbsp;&nbsp;&nbsp;&nbsp;(\u3082)&nbsp;&nbsp;&nbsp;&nbsp;\u52a9\u8a5e&#x2d;\u4fc2\u52a9\u8a5e(6,7,1)&nbsp;&nbsp;&nbsp;&nbsp;\u30e2&nbsp;&nbsp;&nbsp;&nbsp;\u30e2<br \/>\n\u3082\u3082&nbsp;&nbsp;&nbsp;&nbsp;(\u3082\u3082)&nbsp;&nbsp;&nbsp;&nbsp;\u540d\u8a5e&#x2d;\u4e00\u822c(7,9,2)&nbsp;&nbsp;&nbsp;&nbsp;\u30e2\u30e2&nbsp;&nbsp;&nbsp;&nbsp;\u30e2\u30e2<br \/>\n\u306e&nbsp;&nbsp;&nbsp;&nbsp;(\u306e)&nbsp;&nbsp;&nbsp;&nbsp;\u52a9\u8a5e&#x2d;\u9023\u4f53\u5316(9,10,1)&nbsp;&nbsp;&nbsp;&nbsp;\u30ce&nbsp;&nbsp;&nbsp;&nbsp;\u30ce<br \/>\n\u3046\u3061&nbsp;&nbsp;&nbsp;&nbsp;(\u3046\u3061)&nbsp;&nbsp;&nbsp;&nbsp;\u540d\u8a5e&#x2d;\u975e\u81ea\u7acb&#x2d;\u526f\u8a5e\u53ef\u80fd(10,12,2)&nbsp;&nbsp;&nbsp;&nbsp;\u30a6\u30c1&nbsp;&nbsp;&nbsp;&nbsp;\u30a6\u30c1\n<\/p><\/div>\n<p>\u95a2\u9023\u66f8\u7c4d<br \/>\n<iframe src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4873113644&#038;ref=tf_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><iframe src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4627828519&#038;ref=tf_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><iframe src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&#038;o=9&#038;p=8&#038;l=as1&#038;asins=4774141755&#038;ref=tf_til&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;m=amazon&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr\" style=\"width:120px;height:240px;\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\"><\/iframe><\/p>\n<p>\u95a2\u9023\u30ea\u30f3\u30af<\/p>\n<ul>\n<li><a href=\"\/\/www.sssg.org\/blogs\/hiro345\/archives\/6221.html#more-6221\">CentOS Sen &#8211; hiro345<\/a><\/li>\n<li><a href=\"http:\/\/d.hatena.ne.jp\/knaka20blue\/20080922\/1222104683\">\u65e5\u672c\u8a9e\u5f62\u614b\u7d20\u89e3\u6790\u5668Sen\u3092\u5c0e\u5165\u3059\u308b \u305d\u306e1 Sen\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &#8211; Solr, Python, MacBook Air in Ginza<\/a><\/li>\n<li><a href=\"http:\/\/www.mwsoft.jp\/programming\/munou\/igo_install.html\">Java\u88fd\u5f62\u614b\u7d20\u89e3\u6790\u30a8\u30f3\u30b8\u30f3\u300cIgo\u300d\u3092\u8a66\u3057\u3066\u307f\u308b<\/a><\/li>\n<li><a href=\"\/\/www.sssg.org\/blogs\/hiro345\/archives\/6248.html\">CentOS ChaSen Ruby &#8211; hiro345<\/a><\/li>\n<li><a href=\"\/\/www.sssg.org\/blogs\/hiro345\/archives\/4627.html\">ChaSen\u3068Ruby\u3092Mac OS \u3078\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &#8211; hiro345<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Sen \u3067 NAIST-jdic \u3092\u4f7f\u3046\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[1207,410,407],"class_list":["post-6281","post","type-post","status-publish","format-standard","hentry","category-java","tag-java","tag-naist-jdic","tag-sen"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/6281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=6281"}],"version-history":[{"count":7,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/6281\/revisions"}],"predecessor-version":[{"id":7041,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/6281\/revisions\/7041"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=6281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=6281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=6281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}