搜索

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

21.RE: [2010] SCWS-1.1.3 发布,支持文本词典实现自定义词库啦!!

发布时间:2012-11-06 22:11 t By umland

...lor]--[/size] 1. [libscws] scws_set_dict(scws_t s, const char *fpath, int mode); scws_add_dict(scws_t s, const char *fpath, int mode); scws_set_dict 为原有功能,scws_add_dict 是新增功能,2者功能相当接近,只是 scws_set_dict 会把 scws handler 现存的词库表 清...

22.RE: Missing field of type ID

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

...ini文件的路径打全! [/quote] 我是这样弄的 php的 safe_mode=On safe_mode_include_dir = /usr/local/xunsearch/sdk/php/lib/ 这样require './XS.php'; 会报错 Fatal error: require() [function.require]: Failed opening required './XS.php' (include_path='.:/www/wdlinux/nginx_php-5....

23.RE: scws与多线程

发布时间:2010-12-08 10:12 t By lauxinz

谢谢回复。 另外scws结构体中:unsigned char *mblen; unsigned int mode;这两个成员也应该是可以多个线程共用的。

24.[BUG]安装scws运行后竟然乱码

发布时间:2011-06-16 17:06 t By ixqbar

版本 scws-1.1.7 环境 ubuntu ./scws -h 其中 -M use multi child words mode(�й���->�й�+��+�й���) [attachment=35]

25.RE: PHP不是安装在默认路径,XS无权限执行?!

发布时间:2012-11-27 13:11 t By hightman

这是PHP的safe mode 导致的,自己配置好就行了。 命令行测试时乱码大概是编码不对,你可以尝试在命令后加上 -cgbk

26.索引导入一直在排队……

发布时间:2014-09-02 00:09 t By tmmkkk

...2, PID:17370, USER:NULL) 11:42:16 logging[17370] ALERT >> running in scan mode (HOME:data/, STAT_TAG:2014-W35) 2014-09-01 11:42:16 indexd[17233] ERROR failed to find db by pid (PID:17370) 2014-09-01 12:13:42 indexd[17233] NOTICE import exit (DB:c_books.db, FLAG:0x0000, PID:17352, EXIT:-2) 2014-0...

27.[2013] SCWS-1.2.2 发布,BSD协议、支持自定义词库、PHP5.4

更新时间:2013-07-11 21:07 t By hightman

...lor]--[/size] 1. [libscws] scws_set_dict(scws_t s, const char *fpath, int mode); scws_add_dict(scws_t s, const char *fpath, int mode); scws_set_dict 为原有功能,scws_add_dict 是新增功能,2者功能相当接近,只是 scws_set_dict 会把 scws handler 现存的词库表 清...

28.libscws 段错误的 bug 修正

发布时间:2007-07-05 09:07 t By hightman

...超长词(255字以上)unsigned char溢出 */ if ((item == NULL) || ((s->mode & SCWS_IGN_SYMBOL) && !memcmp(item->attr, attr_un, 2))) return; [/code]

29.Libscws C API 使用说明

更新时间:2010-12-30 22:12 t By hightman

...f struct { xdict_t d; rule_t r; unsigned char *mblen; unsigned int mode; unsigned char *txt; int len; int off; scws_res_t res0; scws_res_t res1; word_t **wmap; struct scws_zchar *zmap; } scws_st, *scws_t; struct scws_zchar { int start; int end; }; 注:xdict_t 和 rule_t ...

30.RE: [2010] SCWS-1.1.3 发布,支持文本词典实现自定义词库啦!!

更新时间:2010-10-22 19:10 t By hightman

...>off = off; ch = txt[off]; ! if (SCWS_CHAR_TOKEN(ch) && !(s->mode & SCWS_IGN_SYMBOL)) { s->off++; SCWS_PUT_RES(off, 0.0, 1, attr_un); [/code]

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