搜索

大约有 50 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0068秒)

21.RE: [2012] SCWS-1.2.0 发布,BSD协议、支持自定义词库、PHP5.4

发布时间:2012-08-27 16:08 t By kill-all999

...时候也会返回)。求过滤方案。 $sh = scws_open(); scws_set_charset($sh, 'utf8'); scws_set_dict($sh, './dict.txt', SCWS_XDICT_TXT); scws_set_rule($sh, './rules.ini');//文件内容为空 $cutword = $_POST['cutword']; scws_send_text($sh, $cutword); $rs = scws_get_tops($sh, 5); ...

22.载入txt词典所出现的BUG

更新时间:2011-08-09 12:08 t By 999

...是印第安那州的印第安那波利斯!'; $so = scws_open(); scws_set_charset($so, 'gbk'); scws_set_rule($so, 'rules.ini'); scws_set_dict($so, 'a.txt', SCWS_XDICT_TXT); scws_send_text($so, $txt); $result = scws_get_tops($so, strlen($txt)); print_r($result); [/php] 第一次运行...

23.好消息,scws-0.0.1 pre 版发布!!

发布时间:2007-06-09 11:06 t By hightman

...*** * @file xdb.h (read only) * @author Hightman Mar * @editor set number ; syntax on ; set autoindent ; set tabstop=4 (vim) ! * $Id: xdb.h,v 1.1.1.1 2007/06/05 04:19:45 hightman Exp $ */ #ifndef _SCWS_XDB_20070525_H_ --- 2,8 ---- * @file xdb.h (read only) * @author...

24.复合分词的级别"multi" 可以设置分词的长度吗?

发布时间:2012-07-19 11:07 t By calvin

[php] header("Content-type: text/html; charset=utf-8"); var_dump(SCWS('中文分词解析,我的个神啊')); //中文分词解析 function SCWS($title) { set_time_limit(0); $data = array("data"=>$title,"respond"=>"json","ignore"=>'yes', "multi"=>3); $data = http_build_query($data); $r...

25.使用scws例子报错,附上全部细节,请大牛帮忙

更新时间:2013-05-06 20:05 t By sojet

php.in 的配置 [scws] extension=php_scws.dll scws.default.charset = utf8 scws.default.fpath = "e:/soft/xunsearch/scws" e:/soft/xunsearch/scws目录下的文件: dict.utf8.xdb rules.ini rules.utf8.ini rules_cht.utf8.ini 重新启动apache发现已经启动了这个extention. php 代...

26.libscws的问题

发布时间:2009-12-02 16:12 t By nftw

...nit the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_multi(s, 1); scws_set_dict(s, "/usr/local/etc/dict_chs_gbk.xdb", SCWS_XDICT_MEM); scws_set_rule(s, "/usr/local/etc/rules.ini"); scws_send_text(s, text, str...

27.RE: 求scws在linux下php5.3.*的教程

发布时间:2012-05-10 14:05 t By macnie

...es checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/home/macnie/scws-1.2.0': configure: error: no acceptable C compiler found in $PATH See `config.log' for more de...

28.RE: 数据导入 乱码问题

更新时间:2011-11-25 18:11 t By vist2007

...-c gbk 试试 [hr] 找到 原因了 驱动用的是 XSDatabasePDO_MySQL //setUtf8方法 public function setUtf8() { // BUGFIXED: 感谢 tina 网友协助测试, 此处将 utf8 改为 utf-8 提高兼容性 return $this->obj->prepare("SET NAMES 'utf-8'")->...

29.安装xunsearch时出现的错误,请帮忙!

发布时间:2013-12-14 09:12 t By wkx198742

...kdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/root/xunsearch-full-1.4.8/scws-1.2.3-dev': configure: error: no acceptable C compiler found in $PATH See ...

30.centos下建索引出问题了!

发布时间:2012-09-22 16:09 t By zspoplar

...[XSErrorException] ../usr/local/xunsearch/sdk/php/lib/XS.php(2207): stream_set_blocking(): supplied argument is not a valid stream resource(2) #0 ../usr/local/xunsearch/sdk/php/lib/XS.php(2207): xs_error_handler(2, 'stream_set_bloc...', '/usr/local/xuns...', 2207, Array) #1 ../usr/local/xunsearch/...

12345
  • 时间不限
  • 按相关性排序