neologdãRMeCabã®è¾æ¸ã«æå®ããï¼ãã ãMacï¼
追è¨
ï¼ï¼æï¼ï¼æ¥è¿½è¨ï¼neologdå´ã§ã¤ã³ã¹ãã¼ã«æã«ã¦ã¼ã¶è¾æ¸ãçæããã°å¯¾å¿ã§ããã®ã§å¥éè¨äºãæ¸ããããã¡ããåç
§ã®ãã¨ã
http://d.hatena.ne.jp/dichika/20150328/p1
çµç·¯
MeCabã®æ°ããè¾æ¸ãå
¬éãããã
https://github.com/neologd/mecab-ipadic-neologd/blob/master/README.ja.md
éçºè
ã®æ¹ãä»é±æ«ã®TokyoRã§çºè¡¨ãã¦ãã ãããããã俺ã¯è¡ããªãã
https://atnd.org/events/63990
è¡ããªãã®ã§RMeCabãã使ã£ã¦ã¿ã¦ãã®æ°æã¡ãæè¯ãããã
使ãæ¹
MacãLinuxãªãé£ãããªãã
ã¤ã³ã¹ãã¼ã«ã¯å
¬å¼ã®æé ã«å¾ãã°è¯ãã
https://github.com/neologd/mecab-ipadic-neologd/blob/master/README.ja.md
ã§ãRMeCabãã使ãå ´åãå
¬å¼ã«ããæ¬ä¼¼ã³ã¼ãã§ããããããªã¨æã£ããæ¬ä¼¼ã ããé§ç®ã ã£ãã
dicå¼æ°ã¯.dicãã¡ã¤ã«ããã¨ããªãããã«ãªã£ã¦ããããããã¦ã¼ã¶è¾æ¸ã使ãä»æ§ãã
https://github.com/neologd/mecab-ipadic-neologd/wiki/ProgrammingLanguage
ãªã®ã§ä¸è¨URLã«ããããã«mecabrcãä¸è¡ã ãæ¸ãæãããã¨ã§ããã©ã«ãè¾æ¸ã«æå®ãã¦ãã¾ãã
https://sites.google.com/site/rmecab/home/naist-jdicwo-shiu
ãããªæãã
;dicdir = /usr/local/lib/mecab/dic/ipadic dicdir = /usr/local/lib/mecab/dic/mecab-ipadic-neologd
ããã§åãã
ä¸è¨ä¾ã¯ipadicãè¾æ¸ã«æå®ããå ´åã®mecabrcï¼mecabrc_defaultï¼ã¨ã®çµæãæ¯è¼ãã¦ããã
é¨å®®å¤©ããªãã ãããããªã人ã¯åå¼·ãç´ãã¦ã»ããã
> library("RMeCab") > RMeCabC("é¨å®®å¤©", mecabrc="/usr/local/etc/mecabrc_default") [[1]] åè© "é¨å®®" [[2]] åè© "天" > RMeCabC("é¨å®®å¤©") [[1]] åè© "é¨å®®å¤©"
ãé¡ã
ãªãWindowsã¯æåã³ã¼ã対å¿ãããã©ãããããªã®ã§ãã£ã¦ãªãã誰ããã£ã¦ãããé ¼ãã