MeCabã¨Pythonã§éãã§ã¿ãã¡ã¢ï¼
å½¢æ
ç´ è§£æã§ä½ãããããããã¿ã¯ãªããã¨æ¢ãã¦ããã¨ããã以ä¸ã®ãã¼ã¸ãè¦ã¤ãã¾ããã
TF-IDFã¨æ¤ç´¢APIã§ãã¼ã¯ã¼ãæ½åº
http://nais.to/~yto/clog/2005-10-12-1.html
ãã¼ã¯ã¼ãæ½åºã¢ã«ã´ãªãºã ã®TF-IDFã¯ãã³ã¼ãã¹ã¨ããè¾æ¸ãã¡ã¤ã«ãå¿ è¦ã§è©¦ãã¦ã¿ãããã©é¢åã ãªããããã¨æã£ã¦ããããã§ãããæ¤ç´¢ã¨ã³ã¸ã³ã«é ¼ãã°è¾æ¸ã®å¿ è¦ãªãï¼ï¼ãªãã¸ãè³¢ãï¼
ã§ãPythonã§æ¸ãã¦ã¿ããã½ã¼ã¹ã¯これã
èªåã®PCã«ã¯é空æ庫ã¨ãã®ããã¹ãå½¢å¼ã®å°èª¬ãããããä¿åãã¦ããã®ã§ããã®ã¹ã¯ãªããã使ã£ã¦ãããã®å°èª¬ã®ãã¼ã¯ã¼ããæ½åºãã¦ã¿ããã¨ã«ãã¾ãã
ããã§ããåæã«å°èª¬è§£æã¨ããã¡ãã£ãã¨èä½æ¨©ã¨ããã°ãã£ãããããããããªãã®ã§ãå°èª¬ã®ã¿ã¤ãã«çã¯ä¼ãããã¦é ãã¾ãããäºæ¿ãã ããã
以ä¸ã¯ã解æããçµæã§ãã
åèª | TF-IDF |
---|---|
é²åº | 1748.58894782 |
ç¾æ¥ | 1536.78402811 |
çè´ | 1469.71763742 |
å¥³åª | 1428.97008558 |
åé¡ | 1347.2125485 |
ç¾è² | 1244.09658334 |
å±è¾± | 1229.92888797 |
è¨è | 1169.22399832 |
女å | 1165.87892547 |
åç | 1138.69607401 |
ããã¡ãªã¿ã«ç»å ´äººç©ã®ååã¯è§£æçµæããå¤ãã¾ãããããæãã§ãã¼ã¯ã¼ãæ½åºã§ãã¦ã¾ããç´ æ´ãããããã次ã
åèª | TF-IDF |
---|---|
éªä¹ | 8445.84351134 |
éå¼¥ | 7994.75227236 |
ããã | 3698.48131034 |
ç¾©æ¯ | 2823.38729968 |
ä»ç§ | 1432.49030265 |
æ¯å | 1257.12010446 |
å ç | 1138.7603189 |
æ師 | 1085.58524555 |
æãå | 930.596974057 |
ã ã | 867.853708713 |
ä»åã¯é¢åã ã£ãã®ã§äººç©ã®ååã¯åãã¾ããã§ãããç»å ´äººç©ã¯ã»ã¼ä¸ä½ï¼ä½ã«å ¥ã£ã¦ãããã§ããããã¼å°èª¬ã®ç¹å¾´ããã表ãã¦ã¦ãããããããã°ããããã§ããã¹ããã§ã
-
- -
2007.01.08追è¨
ã½ã¼ã¹ã®ãªã³ã¯ãåãã¦ããã®ã§ä¿®æ£ãã¾ããã