ãµã¤ãã®æ§ç¯ãä½åã®è²©å£²ãããã°ã®æ稿ããã®ä»ã«ããã¾ãã¾ãªæ©è½ãããã¾ãã ãã°ã¤ã³ ãµã¤ããã¯ãããã éå ¬éãµã¤ã ãã®ãµã¤ãã¯ç¾å¨ãã©ã¤ãã¼ãè¨å®ã«ãªã£ã¦ãã¾ãã
ãµã¤ãã®æ§ç¯ãä½åã®è²©å£²ãããã°ã®æ稿ããã®ä»ã«ããã¾ãã¾ãªæ©è½ãããã¾ãã ãã°ã¤ã³ ãµã¤ããã¯ãããã éå ¬éãµã¤ã ãã®ãµã¤ãã¯ç¾å¨ãã©ã¤ãã¼ãè¨å®ã«ãªã£ã¦ãã¾ãã
ãªã©ã¤ãªã¼ã®ãå ¥éèªç¶è¨èªå¦çãã®12ç« ã¯HTMLçãWebã§å ¬éããã¦ãã¾ãï¼Python ã«ããæ¥æ¬èªèªç¶è¨èªå¦çã¨ããããã§ï¼NLTKã§æ¥æ¬èªã§ã³ã¼ãã¹ãæ±ãç°å¢ãæ´ãã¾ããï¼ NLTKã®ã¤ã³ã¹ãã¼ã«å ¬å¼ãµã¤ããè¦ãªããã¤ã³ã¹ãã¼ã«ããï¼ææ°çã¯NLTK2.0ã§ï¼ãªã©ã¤ãªã¼ã®æ¸ç±ã®ã¨ãã¨æ¯ã¹ã¦Chasenå½¢å¼ã®ãã¼ã¶ãªã©ã追å ããã¦ãã¾ãï¼Download - Natural Language ToolkitMac OSXã®å ´åã¯Portã§ãã¤ã³ã¹ãã¼ã«ã§ãããããã®ã§ããï¼ãã¾ããããªãã£ãã®ã§ããã±ã¼ã¸ããã¦ã³ãã¼ããã¾ããï¼ ã³ã¼ãã¹ã®ãã¦ã³ãã¼ãnltk.download()ãå®è¡ãã¦å¿ è¦ãªã³ã¼ãã¹ããã¦ã³ãã¼ããã¾ãï¼$ python>>> import nltk>>> nltk.download()jeitaã¨knbcããã¦ã³ãã¼ã NLTKãæ¥æ¬èªã³ã¼ãã¹ã§ä½¿ãå ´åã®æ³¨
ã¨ããããã§MeCabãPython2.7ã§ãªã使ããããã«ãªãã¾ãããã¨ãããã¨ã¯nltkã2.7ã§ä½¿ãããï¼ãããnltkã®å ¬å¼ã§ã¯ã©ãã2.4~2.6ãã対å¿ãã¦ããªãã¨ãããããªæ¨ãæ¸ããã¦ãã¾ãã ããã2.7ã§ãªãã¨ãè¡ããªããã®ããã¨æãã以ä¸ã®ãµã¤ããåèã«2.7ã§nltkã使ããç°å¢ãæ´ãã¾ããããã°ãã使ã£ã¦ã¿ã¦ä¸é½åããªããã°è¯ãã®ã§ããã http://www.richard-careaga.com/archives/3474 2.7ã§ã¯ã¤ã³ã¿ã©ã¯ãã£ãã·ã§ã«ã§æ¥æ¬èªãå ¥åã§ããªãã£ãã®ã§ã以ä¸ãåèã«ä¿®æ£ã http://yogi.bz/~suzu/wp3/?p=110
â»ãã®è¨äºã«ã¯æ ç»ãThe Social Networkãã®ãã¿ãã¬ããããªãã«å«ã¾ãã¦ãã¾ãï¼ããããæ ç»ã観ãäºå®ã®æ¹ã¯éããæ¹ãè³¢æã§ãï¼ æè¿ããã°ã§å®£è¨ããéãï¼å ¥é èªç¶è¨èªå¦çãèªã¿ã¤ã¤Pythonã®NLTK(Natural Language ToolKit)ã使ã£ãèªç¶è¨èªå¦çã«ã¤ãã¦åå¼·ä¸ï¼å ¥é èªç¶è¨èªå¦çã¯Pythonããã¯ã«è§¦ã£ããã¨ããªãç§ã§ãã¡ããã¨ç解ããªããèªã¿é²ããããããã«ãªã£ã¦ããã®ãå¬ããï¼ ã¨ããã§ï¼å°ãåã«æ ç»ãThe Social Network (ã½ã¼ã·ã£ã«ã»ãããã¯ã¼ã¯)ãã観ã¦ï¼ç»å ´äººç©ã®å°è©ãè¡åããªããªãé¢ç½ãã¦æ°ã«å ¥ã£ãã®ã ãã©ï¼ãã®èæ¬ãæ ç»ã®å ¬å¼ãµã¤ãã§å ¬éããã¦ãããã¨ãæè¿ç¥ã£ãï¼æ ç»ã®èæ¬ã¨ãªãã¨ï¼ç¹å¾´çãªè¡¨ç¾ãå¤ãæç« æ°ããããªãã«ããã®ã§ï¼èå³æ·±ãã³ã¼ãã¹ã«ãªãå¾ãã®ã§ã¯ãªããã¨æãï¼ ã¨ããããã§ï¼NLTKç¿ãç«ã¦ã®
After installing 64 bit Windows 7 at work, I got a problem of installing many python utilities that search for installed python locations is windows registry. distutils (setuptools-0.6c11.win32-py2.6.exe) still could not find 64 bit python installation, as well as develer's Unofficial MinGW GCC binaries for Windows (I still do not have a solution for that one :( ). Actually, what helped me with di
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}