想在搜索的时候,关键词按照自己的意愿来切分应该是要怎么做? 文档里看到有个自定义词库的设置,然后根据文档使用了下,发现没达到效果。比如说,我想搜索拥有"味道恶心"这个词的文章,(我的文档库里面是有相关文章的...
... unsigned char len; char attr[3]; scws_res_t next; }; ·[b]scws 高频关键词统计集,简称"词表集"[/b],这是 scws 中统计调用时返回用的结构,也是一个单链表结构。 typedef struct scws_topword *scws_top_t; struct scws_topword { char *word; float weight; ...