php搜索引擎之分词算法

时间:2013-08-02 18:47:06
【文件属性】:
文件名称:php搜索引擎之分词算法
文件大小:250KB
文件格式:RAR
更新时间:2013-08-02 18:47:06
搜索引擎 分词算法 最大正向匹配 本人写的搜索引擎部分抓词,里面含有数据库配置文件,以及本人开发心得。需要的可以下载来看看。采用的是正向最大匹配算法。目前只是分词部分结束。前台是简单的页面。使用了smarty模版分离代码。
【文件预览】:
search
----index.php(76B)
----templates()
--------index.html(933B)
----db()
--------test.sql(659B)
----.buildpath(174B)
----smarty_cache()
----.settings()
--------org.eclipse.php.core.prefs(86B)
----engine()
--------Engine.class.php(4KB)
--------StringDispatcher.class.php(6KB)
--------CheckENAndCN.class.php(1KB)
----.project(516B)
----Smarty_inc.php(353B)
----search.php(407B)
----搜索引擎开发探索.doc(200KB)
----test.php(23B)
----templates_c()
--------%%77^774^774BE9C9%%index.html.php(1KB)
----Smarty()
--------Smarty.class.php(62KB)
--------Smarty_Compiler.class.php(92KB)
--------plugins()
--------Config_File.class.php(13KB)
--------debug.tpl(3KB)
--------internals()

网友评论

  • 不错的例子,不过规模小了点.
  • 那个pinphp上有一个。分词的系统。很好用的
  • 不错的例子,smarty模版都带了,正在研究