I ' m sorry extract is the Dream keyword loading function
Attachment download: http://files.cnblogs.com/subtract/keyword extract. zip
Steps to use:
1. Load the splitword.class.php file and extract
1 require_once‘./.. /splitword.class.php ';//loading extracted keyword files2 $sp=NewSplitword (' Utf-8 ', ' utf-8 ');//Initialize gives two default character sets (this set of extracted keywords is UTF-8)3 $sp->setsource ($_post[' title '], ' utf-8 ', ' utf-8 ');//parameters (words to be extracted, character sets)4 $sp->startanalysis ();//Start performing analysis5 $titleindexs=Preg_replace("/#p #| #e #/", ",$sp->getfinallyindex ());//Extract Keywords
2. Set splitword.class.php to join the dictionary
①: Required Documents: Base_dic_full.dic Base_dic_full.zip words_addons.dic zip.class.php
Modify $_server[' Document_root '] for the specified path
Deal with keywords (weaving dream keyword extraction function)