...llo,英文的搜不到任何数据,下面是部分数据。[php] bash-3.2$ php sdk/php/util/Quest.php example cid:你好 在 3 条数据中,大约有 3 条包含 cid:你好 ,第 1-3 条,用时:0.0025 秒。 1. 你好啊,hello world #3# [100%,0.07] Cid:你好,hello,world,健康 ...
...订正了一些小 BUG,并整合了最新的 xapian-1.2.12。现发布 1.3.2 正式版,强烈建议所有用户升级到这个最新稳定版本。 [b]主要更新如下:[/b] 1. 改进了已知的若干小 BUG 2. 升级整合最新的 [url=http://xapian.org]xapian-core-1.2.12[/url]、[url...
...1: scws.so是在 /usr/local/lib/php/extensions/no-debug-non-zts-20060613/scws.so 我的php.ini中 extension_dir = "./"。 是不是应该改成extension_dir空白: extension_dir ="" 还是 extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613/" 而extension应该是s...
[b][size=3]关于 PHP 版简易中文分词[/size][/b] 目前已经发布的PHP版分词有第2版和第3版,这两个版本的用法完全一样,主要区别在于分词的算法,前者采用正向最大匹配2级交叉消岐,而后者采用的是双向匹配综合消岐。并没有绝...
... [name] => 摩托车疯狂2 [pid] => 3 [pid_3] => 3 [pname_3] => wp [nickname] => mtcfk2 [is_special] => 0 [ranking] => 0 [255] => ...
... $data = array("data"=>$title,"respond"=>"json","ignore"=>'yes', "multi"=>3); $data = http_build_query($data); $re = web_socket("http://www.ftphp.com/scws/api.php",0,$data); if(!$re) { return array('words'=>array()); } return json_decode($re); } [/php] 分词结果: 中...
...長您好, 恭維的話我就不多說了 向您回報一個 SCWS-1.0.3 + PHP 5.3.0 的小問題 (CentOS 5.3 x64 + Apache 2.2.11 + PHP 5.3.0 + MySQL 5.1.36) 我依據安裝說明文件, 安裝設定後, phpinfo() 可以成功地看到 scws 的相關訊息, 產生的 scws.so 檔案大小如...
... => Array ( [word] => 槸 [off] => 4 [len] => 2 [idf] => 0 [attr] => un ) [3] => Array ( [word] => 涓 [off] => 6 [len] => 2 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => € [off] => 8 [len] => 1 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => 涓 [off] => 9 [len] => 2 [...
... => Array ( [word] => 槸 [off] => 4 [len] => 2 [idf] => 0 [attr] => un ) [3] => Array ( [word] => 涓 [off] => 6 [len] => 2 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => € [off] => 8 [len] => 1 [idf] => 0 [attr] => un ) ) Array ( [0] => Array ( [word] => 涓 [off] => 9 [len] => 2 [...
...|个|中|国|人|Array ( [0] => Array ( [word] => 我 [off] => 0 [len] => 3 [idf] => 0 [attr] => un ) [1] => Array ( [word] => 是 [off] => 3 [len] => 3 [idf] => 0 [attr] => un ) [2] => Array ( [word] => 一 [off] => 6 [len] => 3 [idf] => 0 [attr] => un ) [3] => Array ( [word] => 个 [off] => 9 [len...