搜索

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

11.VC6 编译 scws1.1.5 qsort 的参数问题

发布时间:2011-02-24 11:02 t By powerkylin

e:\scws\scws-1.1.5\libscws\xdb.c(555) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(const void *,const void *)'

12.Libscws C API 使用说明

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

...pedef 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...

13.搜索全文时较慢,在0.5+秒,甚至1.0+秒【900M数据库】

更新时间:2013-07-05 15:07 t By chinapubmed

...http://www.chinapubmed.net/pub/search.php #机器配置 处理器: IntelXeon 5645/E5-2620*4(4核) 系 统: CentOS 6.2 64位 内 存: 2 GB ECC 这是用unix bench的跑分情况 [attachment=60] 应该说性能还算OK。 这是随便的一个top截图(流量比较小) ...

14.libscws 段错误的 bug 修正

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

...下红色部分判断. [code] static void _scws_mset_word(scws_t s, int i, int j) { word_t item; item = s->wmap[i][j]; /* hightman.070705: 加入 item == null 判断, 防止超长词(255字以上)unsigned char溢出 */ if ((item == NULL) || ((s->mode & SCWS_IGN_SYMBOL) && !memcmp(item...

15.RE: 怎样才能 字母数字汉字组合 按照词典分成一个词语呢?

更新时间:2013-07-03 16:07 t By shuyinglee

..._IGN_SYMBOL; } +/* shuying.lee adds it */ +void scws_use_rule(scws_t s, int yes) +{ + if (yes == SCWS_YEA) + s->mode |= SCWS_USE_RULE; + + if (yes == SCWS_NA) + s->mode &= ~SCWS_USE_RULE; +} + void scws_set_multi(scws_t s, int mode) { s->mode &= ~SCWS_MULTI_MASK; @@ -1135,6 +1148,11 @@ c...

16.安装时候编译错误,求助!!!

发布时间:2013-03-26 16:03 t By xiwillo

./.libs/libflintcheck.a(flint_check.o)(.text+0x1144): In function `BtreeCheck::check(char const*, std::basic_string const&, int, std::basic_ostream&)': : undefined reference to `FlintTable::~FlintTable()' ./.libs/libflintcheck.a(flint_check.o)(.text+0x12a0): In function `BtreeCheck::check(char con...

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

更新时间:2010-11-13 10:11 t By snakeyasin

...[/color]--[/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 现存的词库表 ...

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

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

...[/color]--[/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 现存的词库表 ...

19.我对切词尝试做了下功能修改

更新时间:2013-12-27 20:12 t By linqingtao

...02: 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 enhanced for (n = m + 1; n wmap[m][n]; ...

20.Xunsearch 讯搜商品检索中多属性精确搜索疑问

发布时间:2014-12-29 19:12 t By liubo

情景: /** 商品表: 字段: id = int 产品ID ,存储格式为 1 catid = int 栏目ID , 存储格式为 38 option = string 属性值 =》 3,5,8 3,5,8 是属性表里的 3【红色】,5[38码],8【纯棉】 ------- **/ 现...

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