...啊 scws-gen-dict (scws-mkdict/1.2.2) Convert the plain text dictionary to xdb format. Copyright (C)2007 by hightman. Usage: scws-gen-dict [options] [input file] [output file] -i Specified the plain text dictionary(default: dict.txt). -o Specified the output file path(defau...
...lt\tld\dede\getwen.php on line 7 注释这两句 scws_set_dict($sh, '/path/to/dict.xdb'); scws_set_rule($sh, '/path/to/rules.ini'); 就没警告了,但是不管有没有这两句,返回结果都是不对的,返回都是8个词。 $top = scws_get_tops($sh, 5,'n'); 如果这写返回的都为名...
...运行。。。以下是错误日志: PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.3/lib/extensions/ext/scws.so' - dlopen(/Applications/AMPPS/php-5.3/lib/extensions/ext/scws.so, 9): no suitable image found. Did find:\n\t/Applications/AMPPS/php-5.3/lib/exte...
... 贴一下代码吧 // hightman.070902: multi segment // step1: split to short words if ((j-i) > 1) { int n, k, m = i; int fir = -1; if (s->mode & SCWS_MULTI_SHORT) { while (m < j) { k = m; fir = -1; // hightman.111223: multi short enhance...
...iler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library direc...
...uid.h nor uuid.h found - required for brass, chert and flint (you may need to install the uuid-dev, libuuid-devel or e2fsprogs-devel package) -----[/code] 解决办法:sudo apt-get install uuid-dev 2.freebsd 8.0, 1.0.0版本,安装时报错! [code]checking for scws_new in -lscws... n...
Uncaught [XSException] ../../xunsearch/sdk/php/lib/XS.php(2043): Failed to recv the data from server completely 报这个错误,不知道问题在哪
配置文件不是问题啊, new XS('/path/to/file.ini'); 也可以的,XS 构造函数允许传入路径、文件内容都可以呢。
我用的是apache2.2.4 php5.2.3 windows系统 我加载成功了,为什么用 $so = scws_new(); $so->set_charset('gbk'); 这个不行呢? 报错 Call to undefined function scws_new() [[i] 本帖最后由 bigdown 于 2007-6-27 16:03 编辑 [/i]]