2å¹´ãããåã«ä½ã£ãphpã§ä½ã£ããã¤ã¸ã¢ã³ã¯ã©ã¹(ãã¤ãº/ã©ã¤ãã©ãª)ãä¼æ¥ã«ã¹ã¯ã©ããããæ¸ãç´ããã®ã§å ¬éãã¦ã¿ãã ã©ã¤ã»ã³ã¹:ãèªç±ã«ã使ããã ããã 大åãªãã¨:ãã°ããã£ã¦ãæ³£ããªãã <? //myãã¤ãº ã©ã¤ãã©ãª class MyBayes { var $D = array(); var $ALL = array(); /* array( 'ã«ãã´ãªå' => array('e' => ãã®ã«ãã´ãªã«å«ã¾ããæ° , 'w' => array("åèª1" => ãã®ã«ãã´ãªã¼ã®ãã®åèªã表ããæ° , "åèª2" => ãã®ã«ãã´ãªã¼ã®ãã®åèªã表ããæ° ) ) ); ALL => array('e' => ãã¹ã¦ã®ã«ãã´ãªã«ç»å ´ããæ° , 'w' => array("åèª1" => ãã®åèªããã¹ã¦ã®ã«ãã´ãªã¼ã§ç»å ´ããæ° , "åèª2" => ãã®åèªããã¹ã¦ã®ã«ãã´ãª
{{#tags}}- {{label}}
{{/tags}}