现在才发现,对于“武松杀嫂雕塑是艺术,还是恶俗?大家怎么看的?”这个句子,无论怎么调整词性语法规则表都是会分成“武松杀 /nr 嫂 /ng 雕塑 /n 是 /v 艺术 /n , /un 还是 /n 恶俗 /n ? /un 大家 /r 怎么 /r 看 /v 的 /uj ? /un”...
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c -o xdb.lo xdb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT xdb.lo -MD -MP -MF .deps/xdb.Tpo -c xdb.c -DDLL_EXPORT -DPIC -o .libs/xdb.o...
[quote='backluck' pid='3650' dateline='1280380226'] [quote]int scws_has_word(scws_t s, char *xattr) { int off, cnt, xmode = SCWS_NA; scws_res_t res, cur; char *word; word_attr *at = NULL; if (!s || !s->txt) return 0; __PARSE_XATTR__; // save th...
既然这样你编译的scws应当是要给自己安装的 /usr/local/php 使用的对吧?如果你编译的结果是给另一个版本的php用,则应当用/usr/bin/php-config 及 phpize 确认一下扩展编译步骤(在 scws-1.1.5/phpext/ 目录下运行以下): /usr/local/php/bin/phpi...
我直接这么有会有这两个警告。 Warning: scws_set_dict() [function.scws-set-dict]: open_basedir restriction in effect. File(C:\Program Files\scws\etc\dict.utf8.xdb) is not within the allowed path(s): (D:/DedeAMPZ/WebRoot/Default) in D:\DedeAMPZ\WebRoot\Default\tld\dede\getwen.php on line...
刚才顺便把前2个功能给实现了,下一版本就可用了。我把 patch 贴上来你可以自己打一下补丁然后重新编译即可。 [code] Index: libscws/scws.c RCS file: /home/cvsroot/scws/libscws/scws.c,v retri...
void scws_set_multi(scws_t s, int mode); 描述:设定分词执行时是否执行针对长词复合切分。(例如:中国人->中国+人+中国人)。参数 mode 表示复合分词法的级别,取值为 1 ~ 15。mode 设定值,1~15。[b]按位与[/b]的 1|2|4|8 依次表示 短词|二...
...本发布一周以来,经过仔细测试用修正了一些用户反馈的问题,现在发布第二个测试版,正式版指日可待了。 下载地址:[url]http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2[/url] 代码仓库:[url]https://github.com/hightman/xunsearch[/ur...
...级 4. 升级 libevent 到 2.x 版 5. 修正中文 stopwords 不生效的问题 6. 取消恼人的 NODB(S#506) 错误提示 7. 新增获取文档匹配词表的接口 XSSearch::setRequireMatchedTerm 官方网站:[url]http://www.xunsearch.com[/url] 下载地址:[url]http://www.xunsearch.c...
我安装的MySQL 5.1.30是大概在2月份使用源码编译安装的,有应用在上面跑,因为我看到文档里说“6. 打完补丁后需要重新编译并安装一下 mysql,这不需要重新 configure ,只需在该目录执行 make ; make install 即可” 所以我就把scws 插...