ãµã¤ã³ã¤ã³ããç¶æ ã§ããããããæ¼ãã¨ããã¤ãã¼ã¸ã® ããããå±¥æ´ãã«ä¸è¦§ã¨ãã¦ä¿åããã¦ããã®ã§ã å度èªã¿ãããªã£ãæãããã¨ã§ãã£ããèªã¿ããã¨ãã«ä¾¿å©ã§ãã
ããã«ã¡ã¯ãè²·ç©æ å ±äºæ¥é¨ã®èå¼ (@a_bicky) ã§ãã ååããæ¤ç´¢çµæã®çåã解æ¶ããããã®æ¤ç´¢ã®åºç¤ãã§åèªåä½ã§ã¤ã³ããã·ã³ã°ããåæã§èª¬æãã¾ããããä»åã¯æãªã©ãåèªåä½ã§åå²ããããã«ä½¿ãæè¡ã§ããå½¢æ ç´ è§£æã«ã¤ãã¦è§¦ãã¾ãã å½¢æ ç´ è§£æå¨ã«ã¯è²ã ããã¾ãããä¸ã§ãã¡ã¸ã£ã¼ã¨æããã MeCab ã®ä»çµã¿ã«ã¤ãã¦èª¬æãã¾ãã MeCab ã®è§£æ精度ãä¸ããããã«è¾æ¸ã«åèªã追å ãããã¨ã®ããæ¹ãããã¨æãã¾ãããåä½åçãç解ãããã¨ã§åèªã追å ããéã«é©åãªçèµ·ã³ã¹ããè¨å®ã§ããããã«ãªã£ãããå¦ç¿ã®éã«é©åãªãã©ã¡ã¼ã¿ãè¨å®ã§ããããã«ãªã£ããããã¯ãã§ãã ãªããMeCab ã¯æ±ç¨ããã¹ãå¤æãã¼ã«ã¨ãã¦ã使ç¨ã§ãã¾ã ããç°¡åã®ãã MeCab + IPA è¾æ¸ã®ããã©ã«ãè¨å®åæã§èª¬æãã¾ãã ã¢ã¸ã§ã³ã å½¢æ ç´ è§£æã¨ã¯ MeCab ã«ãããæé©ãªè§£æçµæã®æ¨
ãã®è¨äºã¯ abicky.net ã® æ¥æ¬èªå½¢æ ç´ è§£æã®åæ© ã«ç§»è¡ãã¾ãã
MeCab ç¨ã®æ°èªè¾æ¸ mecab-ipadic-neologd ãå ¬éãã¾ãã Tweet [NLP] æ¥æ¬èªã®ææ¸ãæ©æ¢°çã«å¦çãããã¨æã£ãæã«ãã»ã¨ãã©ã®äººã MeCabã¨IPADIC(IPAè¾æ¸)ã®ä¸¡æ¹ãã¾ãã¯ãã©ã¡ããã使ããã¨ã«ãªãã¾ãã IPADICã¯ã¨ã¦ãããåºæ¥ã¦ãã¾ãããæ´æ°ãããªãã¾ã¾å¹´æãéãã¦ããã®ã§ãä¾ãã°2015å¹´3æä¸æ¬ã«æ¥ã«æµè¡ã£ããããªè¨èã¯åé²ãã¦ãã¾ããããã®ãããä»æ¥çã¾ãããããªæ°ããææ¸(ä¾ãApple Watchçºå£²)ã解æããæã«å°ãã¾ããå°ããªã人ããã¾ããã©ãåã¯å°ãã¾ãã ãã®èª²é¡ã«å¯¾å¦ããããã«ãæ¥æ¬å ¨å½æ´¥ã 浦ã ãèªç¶è¨èªå¦çã«é¢ããå ¨ã¦ã®äººã¯ç¬èªã«MeCabã®æ°èªè¾æ¸ãä½ã£ã¦å¯¾å¿ãã¦ããããã§ãããã®éã«å ãã¼ã¿ã¨ãã¦ä½¿ããããã¨ãå¤ãã®ã¯ Wikipedia æ¥æ¬èªçãã¯ã¦ãªãã¼ã¯ã¼ããªã©ã§ãã å°ã£ããã¨ã«ãæ°èªè¾æ¸ãçæ
$Id: dic.html 161 2008-02-03 09:58:46Z taku-ku $; æ¦è¦ è¾æ¸ã¸ã®åèªè¿½å ã«ã¯, äºã¤ã®æ¹æ³ãããã¾ã. ã·ã¹ãã è¾æ¸ã¸ã®è¿½å ã¦ã¼ã¶è¾æ¸ã¸ã®è¿½å ã·ã¹ãã è¾æ¸ã¸ã®è¿½å è¾æ¸æ´æ°ãé »ç¹ã§ãªãã¨ãã, 解æé度ãè½ã¨ããããªãæã¯, ç´æ¥ ã·ã¹ãã è¾æ¸ãå¤æ´ããã®ãããã§ããã. mecab-ipadic ããããã£ã¬ã¯ããªã«ç§»å foo.csv ã¨ãããã¡ã¤ã«ãä½æ (æ¡å¼µåã .csv ãªãä½ã§ãå¯) foo.csv ã«åèªã追å è¾æ¸ã®åã³ã³ãã¤ã« + ã¤ã³ã¹ãã¼ã« % /usr/local/libexec/mecab/mecab-dict-index -f euc-jp -t euc-jp % su # make install -f charset: CSVã®æåã³ã¼ã -t charset: ãã¤ããªè¾æ¸ã®æåã³ã¼ã ä¾: u
MeCabã¯å½¢æ ç´ è§£æã®ããã®ã½ããã¦ã§ã¢ã§ããæ¥æ¬èªãåãã¡æ¸ãããããã«ä½¿ããããã®ã¨ãã¦ã¯æã人æ°ã®é«ããã®ã ã¨æããã¾ããããã£ãããæ²ç¤ºæ¿ã«æ¸ãè¾¼ã¾ãããããªå´©ããæ¥æ¬èªããæ£ããæ¸ãããæ¥æ¬èªã§ãæ°èªãæå¾ ããéãã«åãã¡æ¸ããã¦ãããªããã¨ãããã¾ããããã¯MeCabã®å é¨ã§ä½¿ããã¦ããè¾æ¸ãä¸è¬çãªè¨èãæ å ±æºã¨ãã¦ããããã§ã¯ãªããã¨ã«é¢ä¿ãããã¾ããMeCabã¨ããããããä¸è¬çãªè©±ã§ãã以ä¸ã®ãããªèªèãä¸è¬çãã¨æããã¾ãã ã¨ããã®ããä¸çªåºã使ããã¦ããã§ãããèªç¶è¨èªå¦çæè¡ã¯å½¢æ ç´ è§£æ(åèªåãã¡æ¸ããã¨è¨ã£ãã»ããããã®ãããããªã)ã§ãããããããã¯ç¾å¨99%ãããã®ç²¾åº¦ã«ãªã£ã¦ãã¦ããã§ã«äººéãããããéãã«é«ç²¾åº¦ã§è¡ããã®ã ããããã ãé«ã精度ãåºããã®ã¯æ°èè¨äºãç¸æã«ããã¨ãã ãã§ãã£ã¦ãããã¯æ°èè¨äºãã³ã¼ãã¹ã¨ãã¦ç¨ããæ©æ¢°å¦ç¿ã«ããå½¢æ ç´ è§£
ç°å¢ Ubuntu 10.04 LTS PHP Version 5.3.2-1ubuntu4.2 MeCab 0.98 追è¨(2010/07/08) éçºè ã®id:rskyããããã³ã¡ã³ãããã ãã¾ããã PHP5.3ã«å¯¾å¿ããphp_mecab0.4.1ããã¡ãã§å ¬éããã¦ãã¾ãã $cd mecab-0.4.1/ $phpize $./configure --with-mecab $ls $make $sudo make installã§ç¡äºéãã¾ããã ãããã¨ããããã¾ããã 解決æ¹æ³ ãã¡ãã®ãµã¤ãã®éãã«mecab.cãå¤æ´ãããmakeãéã£ãã åå ã¯PHPã®versionã5.3以ä¸ã ã¨ãããã¨ã«ããããããã©ã詳細ã¯ä¸æã ã¾ãéã£ãã®ã§ããã¨ããã ç¢ºèª ãã¹ãã¯ä»¥ä¸ãã <?php $str = "MeCab extensionã¯ãMeCabã使ã£ã¦æç« ã®å½¢æ ç´ è§£æ
ã»ã¼åæç¶æ ãªã®ã§ãè¦å´ãã¾ããããã åã®CentOSã¯ã»ã¼åæç¶æ ãªã®ã§ãè¦å´ãã¾ãããphpãå ¥ã£ã¦ãããããã®ç¶æ³ã§ãããã¡ããphpãªã人ã¯ã¤ã³ã¹ãã¼ã«ãã¦ä¸ãããããã¨sudoã使ããããã«ãã¦ããã¦ãã ããã 以ä¸ã[username@server ~]$ããå§ãã¦ã¾ãã ããããã®ãµã¤ãã«å©ããããï¼ ã¿ãªãã¾ãããã¨ããã¶ãã¹ï¼ GCCã®ã¤ã³ã¹ãã¼ã« ã»Pythonä¸ã§MeCabã使ãï¼ ã¾ãã¯Mecabã¯C++ãåããªãã¨ãã¡ãã¤ã¾ãGCCãå ¥ã£ã¦ãªãã¨ãã¡ã£ã¦ãã¨ãããã®ã§ã¤ã³ã¹ãã¼ã«ï¼
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}