搜索

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

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

发布时间:2011-07-30 16:07 t By lankelan

...= scws_get_tops(s, 10, NULL); while (cur != NULL) { printf("WORD: %s, weight:%.2f, times:%d, attr:%.2s\n", cur->word, cur->weight, cur->times, cur->attr); cur = cur->next; } scws_free_tops(top); scws_free(s); [/quote] 实在是太好用,太牛B了。:D

22.RE: 分词不对

更新时间:2010-04-28 15:04 t By xinbao

锅炉的用法上 No. WordString Attr Weight(times) ------------------------------------------------- 01. 法上 nz 14.14(1) 02. 锅炉 n 5.86(1) 分词也不对的[hr] 下载的rules.ini里没有v+v=10这个东西

23.RE:1243

发布时间:2007-11-09 22:11 t By sanix

scws.h也有问题 struct scws_topword { char *word; float weight; short times; char attr[3];//原来是2 scws_top_t next; }; 应该跟以下结构一致。 struct scws_result { int off; float idf; unsigned char len; char attr[3]; scws_res_t ne...

24.分词不对

发布时间:2010-04-25 08:04 t By xinbao

...语 一轮 复习 达标 测 试卷 No. WordString Attr Weight(times) ------------------------------------------------- 01. 一轮 nz 9.33(1) 02. 年高 v 8.56(1) 03. 英语 nz 7.28(1) 04. 达标 ...

25.RE: 扩展安装问题求助,谢谢

更新时间:2009-05-25 21:05 t By pardis_xiong

... ( [word] => 奥迪 [times] => 1 [weight] => 9.76000022888 [attr] => nz融 ) attr是什么呢?而且,为什么是乱码。[hr] 对了斑竹,xdb可以修改么,我想向里面添加新词。

26.malloc不检测是否成功

发布时间:2014-03-16 17:03 t By robinjia

...面两行, top = (scws_top_t) malloc(sizeof(struct scws_topword)); top->weight = cur->idf; 182行的下面两行 res = (scws_res_t) malloc(sizeof(struct scws_result)); \ res->off = o; 234行的这两行 dst = malloc(len+1); memcpy(dst, src, len);

27.XSDocument::__call

...以函数调用访问搜索结果元数据, 支持: docid, rank, percent, weight, ccount

28.更新索引后,搜索结果中出现空数据文档

发布时间:2012-11-09 16:11 t By stars_and_moon

... [ccount] => 0 [percent] => 75 [weight] => 2.3821949958801 ) ) [1] => XSDocument Object 有文档docid, 但是其他内容都没有了, 请大家帮忙看看

29.搜索歌曲名称为 单个汉字的,没有结果

更新时间:2012-02-21 10:02 t By chenlinbo5588

...ype = string index = none [album_name] type = string index = both weight = 2 [gmt_create] type = numeric index = none [pass_date] type = string index = none

30.RE: 关于XS:getExpandedQuery() 方法,获取展开的搜索词列表

发布时间:2011-12-06 16:12 t By popfeng

...ring tokenizer = full index = self weight = 5 [tag] type = title [chrono] type = numeric index = none tokenizer = none 因为普通的XS:getExpandedQuery() 是无法完成...

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