搜索

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

1.RE: scws_has_word的逻辑问题

发布时间:2010-08-02 11:08 t By backluck

...set. (cnt -> return_value) off = s->off; cnt = s->off = 0; while (!cnt && (cur = res = scws_get_result(s)) != NULL) { do { /* check attribute filter */ if (at != NULL) { if ((xmode == SCWS_N...

2.scws_has_word的逻辑问题

更新时间:2010-07-29 14:07 t By backluck

...set. (cnt -> return_value) off = s->off; cnt = s->off = 0; while (!cnt && (cur = res = scws_get_result(s)) != NULL) { do { /* check attribute filter */ if (at != NULL) { if ((xmode == SCWS_N...

3.为什么程序消耗的内存越来越大

更新时间:2010-03-02 17:03 t By backluck

... < 1000000; i++){ scws_send_text(s, text, strlen(text)); while (res = cur = scws_get_result(s)) { while (cur != NULL) { printf("Word: %.*s/%s (IDF = %4.2f)\n", cur->len, text+cur->off, cur->attr, cur->id...

4.SCWS-1.1.9 没法分中文?

发布时间:2012-01-07 12:01 t By hejone

...local/scws/etc/rules.ini"); scws_send_text(s, text, strlen(text)); while (res = cur = scws_get_result(s)) { while (cur != NULL) { printf("Word: %.*s/%s (IDF = %4.2f)\n", cur->len, text+cur->off, cur->attr, cur->idf); cur = cur->next; } scws_free_...

5.XSTokenizerXstep::getTokens

...alue, XSDocument $doc = null){ $terms = array(); $i = $this->arg; while (true) { $terms[] = substr($value, 0, $i); if ($i >= strlen($value)) { break; } $i += $this->arg; } return $terms;}

6.libscws的问题

发布时间:2009-12-02 16:12 t By nftw

...tc/rules.ini"); scws_send_text(s, text, strlen(text)); while (res = cur = scws_get_result(s)) { while (cur) { printf("Word: %.*s/%s (IDF = %4.2f)\n", cur->len, text+cur->off, cur->attr, cur->idf); ...

7.XSDatabasePgSQL::query

...('PgSQL ERROR: ' . pg_last_error($this->link)); } $ret = array(); while ($tmp = pg_fetch_assoc($res)) { $ret[] = $tmp; } pg_free_result($res); return $ret;} 执行 SQL 语句查询

8.XSDatabaseMySQLI::query

...ect($res)) { $ret = $res; } else { $ret = array(); while ($tmp = $res->fetch_assoc()) { $ret[] = $tmp; } $res->free(); } return $ret;} 执行 SQL 语句查询

9.XSDatabaseSQLite::query

...rce($res)) { $ret = $res; } else { $ret = array(); while ($tmp = sqlite_fetch_array($res, SQLITE_ASSOC)) { $ret[] = $tmp; } } return $ret;} 执行 SQL 语句查询

10.scws_set_multi复式分割无效

更新时间:2011-11-03 17:11 t By xjtdy888

...ini"); scws_set_multi(s , 1); scws_send_text(s, text, strlen(text)); while (res = cur = scws_get_result(s)) { while (cur != NULL) { printf("Word: %.*s/%s (IDF = %4.2f)\n", cur->len, text+cur->off, cur->attr, cur->idf); cur = cur->next; } scws_free_result(res); } scws_free...

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