MeCab http://mecab.sourceforge.jp/ ã³ã³ããã¤ã³ã¹ãã¼ã«ãMeCabã«ã¯ Python binding ã£ã¦ãã便å©ãªã®ããããã ãã©ãWinã ã¨ã©ããä¸æãã³ã³ãã¤ã«åºæ¥ãªãããããã調ã¹ãã¨ãããã³ã³ã«ãctypes*1ãå©ç¨ããMeCabã®ä½¿ãæ¹ãæ¸ãã¦ãã£ãã®ã§ãããã使ããã¨ã«ããã ctypes ã³ã³ãããã¦ã³ãã¼ãã0.9.9.3ã¯ãã¾ãåããªãã£ãã®ã§ãåã®ãã¼ã¸ã§ã³ã®0.9.6ã使ããã¨ããããããã§PythonããMeCabã使ããããã«ãªãã¾ããã ãã«ã³ãé£é ã§ããããã«ã³ãé£éã¢ã«ã´ãªãºã ã®èª¬æãããµã³ãã«ããã³ã³ã¨ãã³ã³ãã¸ãã«ãã£ãã®ã§åèã«ãã¦ãPythonã§æ¸ãã¦ã¿ãã # -*- coding: sjis -*- from ctypes import * def sparse(s): # ã©ã¤ãã©ãªã®å ´æãæå® lib
{{#tags}}- {{label}}
{{/tags}}