搜索

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

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

更新时间:2014-02-13 10:02 t By robinjia

... if (i > 0) { rule_item_t r2 = scws_rule_get(s->r, txt + zmap[i - 1].start, zmap[i - 1].end - zmap[i - 1].start); if (r2 != NULL && r2->attr[0] == 'm') //前面是一个量词,跳过 continue; ...

2.RE:1262

发布时间:2008-01-14 21:01 t By xueron

...et_multi(1); my $s = shift; $scws->send_text($s); while (my $r = $scws->get_result()) { foreach (@$r) { print $_->{word}, " "; } } print "\n"; [/code] [code] $perl test.pl 核心提示:14日下午,中国总理温家宝与来访的印度总理辛格在人民大会堂...

3.PSCWS4使用问题

更新时间:2010-10-21 17:10 t By hnmazda

...b'); $cws->set_rule('etc/rules.utf8.ini'); $ret = array(); $ret = $cws->get_tops(10,'r,v,p'); echo "No.\tWord\t\t\tAttr\tTimes\tRank\n------------------------------------------------------\n"; $i = 1; foreach ($ret as $tmp) { printf("%02d.\t%-16s\t%s\t%d\t%.2f\n", $i++, $tmp['word'], $tmp['...

4.重启xunsearch

更新时间:2012-03-27 10:03 t By bigxu

... fi try_url=$1 inc_str=$2 ctl_path=$3 res_log=$4 echo $res_log get_check_per () { content=$( wget $try_url -q -O - ) > /dev/null 2>&1 # some cloud host could not use curl, wget .... #content=$(curl -L $try_url) > /dev/null 2>&1 # some cloud host could not use curl, wget .... ...

5.Libscws C API 使用说明

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

...因为字符串中包括 \0 而停止切分。这个函数应该在 scws_get_result 和 scws_get_tops 之前调用。 [b]返回值:[/b]无 [b]错误:[/b]无。 [b]注:[/b]scws结构内部维护着该字符串的指针和相应的偏移及长度,故连续调用的话后者会覆盖前者的...

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