搜索

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

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

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

HM,您好,我目前使用自定义词库实现分词,但是通过scws_get_top5()方法获取数据的时候(字母+数字大于等于3个的时候也会返回)。求过滤方案。 $sh = scws_open(); scws_set_charset($sh, 'utf8'); scws_set_dict($sh, './dict.txt', SCWS_XDICT_TXT); scws_...

1922.RE: hi hightman, scws_ext cant be run on x64!!!??

更新时间:2010-12-20 20:12 t By postwhere

...dard, and when i compile it on OSI standard with vs9, it's appear many desprecat warning, but the lib can be compiled and test-case run ok:)

1923.RE: hi hightman, scws_ext cant be run on x64!!!??

发布时间:2010-12-20 08:12 t By postwhere

thanx for your reply, i compile the lib yestoday, it rely on php5.3.3 source like php.h,php_ini.h ect, so must i set php 5.3.3 main, ext, zend for the globle include directory, but last thing i cause is no config_w32.h in main, i got some help online, the config_w32.h file must be compile by myself...

1924.RE: 官方和提供的下载不一样,并且官方实例还写了错误代码

更新时间:2010-07-14 21:07 t By sulwan

[quote='hightman' pid='3626' dateline='1279100902'] 1. 多一个T是哪儿,我没看明白。 2. 你的错误是因为你用错误词了,48.php 是针对UTF-8的,而你调用了gbk的词典,把你的词典语句改为 dict.utf8.xdb 即可 3. dict_extra.txt 也必须是UTF-8编码 4. 删...

1925.RE: xunsearch-1.4.5 (基于 xapian 和 scws开源中文搜索引擎,高扛压不死锁)

发布时间:2013-03-28 12:03 t By vus520

[quote='hightman' pid='3722' dateline='1364360180'] 你这个词典是在 etc/dict_user.txt 还是项目目录下的 data/app/dict_user.txt ? 如果是后者需要升级到 1.4.6-dev 才支持,前者必须在改词典后重启 xs-searchd [/quote] 我今天升级到1.4.6了,词典在etc/d...

1926.RE: 遇到一个分词错误的问题

发布时间:2014-02-11 11:02 t By robinjia

...scws.c的代码做了如下修改, 在890行 if ((r1->flag & SCWS_ZRULE_PREFIX) && (i < (zlen - clen))) { /* prefix, check after (zmin~zmax) */ // 先检查 zmin 字内是否全部符合要求 // 再在 zmax 范围内取得符合要求的字 ...

1927.RE: Linux C API scws_get_tops的调用方法

更新时间:2011-07-30 11:07 t By hightman

...cur->word, cur->weight, cur->times, cur->attr); cur = cur->next; } scws_free_tops(top); scws_free(s);

1928.RE: freebsd 10 xunsearch 1.4.8

更新时间:2014-02-26 15:02 t By xjflyttp

... 尝试过进入/root/xunsearch-full-1.4.8/xunsearch-1.4.8 执行 ./configure --prefix=/usr/local/xunsearch --with-scws=/usr/local/xunsearch --with-libevent=/usr/local/xunsearch --with-xapian=/usr/local/xunsearch 仍然产生这个错误 ls -al /usr/local/xunsearch/include/scws -rw-r--r-- 1 root ...

1929.RE: Missing field of type ID

更新时间:2013-08-22 13:08 t By boxshadow

...51' dateline='1377142375'] 项目名称不对吧,确定存在 ../app/torrentkittys.ini ? 如果不确定就把ini文件的路径打全! [/quote] 我是这样弄的 php的 safe_mode=On safe_mode_include_dir = /usr/local/xunsearch/sdk/php/lib/ 这样require './XS.php'; 会报错 Fa...

1930.RE: 当搜索不设置关键字的时候,type = numeric 的字段会乱码

更新时间:2014-04-11 12:04 t By sundyandy

...jh project.default_charset = UTF-8 [id] type = id [name] type = title [create_time] type = numeric [enterprise_id] type = numeric [image_url] [img_type] [category] index = mixed [source] [source_icon_url] [from] type = numeric [buy_stat] type = numeric [sell_stat] type = numeric [collec...

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