xapian php调用包装程序支持中文检索
2016-05-17
0 0 0
暂无评分
其他
如何获取积分?
xapian php调用包装程序, 支持中文检索,本程序可作为web应用程序内嵌式搜索模块使用.
本程序使用的中文分词方法有三种: 1. 简单的单字分词(splitword_one函数)
- 采用张宴开发的httpcws分词服务(splitword_httpcws函数)
张宴的分词详细说明见 http://code.google.com/p/httpcws
- 采用开源免费的简易中文分词系统SCWS(splitword_scws函数)
详细说明见 http://www.ftphp.com/scws/
使用本程序之前请先安装xapian-core-1.2.2.tar.gz, xapian-bindings-1.2.2.tar.gz 步骤如下:
安装xapian library
tar zxvf xapian-core-1.2.2.tar.gz
cd xapian-core-1.2.2
./configure --prefix=/usr/local/xapian
make
make install
安装Xapian-bindings
tar zxvf xapian-bindings-1.2.2.tar.gz
cd xapian-bindings-1.2.2
./configure --with-php --prefix=/usr/local/xapian XAPIAN_CONFIG=/usr/local/xapian/bin/xapian-config PHP_EXTENSION_DIR=/usr/local/php/lib/php/extensions/no-debug-zts-20060613 PHP_CONFIG=/usr/local/php/bin/php-config
make
中文
程序
检索
调用
支持
包装
相关源码推荐
旅游小程序
0
0
暂无评分
微信小程序
0
0
暂无评分
毛 泽 东字体ttf文件
0
0
暂无评分
HEC编码
0
0
暂无评分
高效串口发送数据
0
0
暂无评分
暂无评论