老大也, http://www.ftphp.com/scws/down/scws-1.1.0.tar.bz2 这个无法下载了啊[hr] 呃,我从http://www.ftphp.com/scws/down/里去下载了,呵呵[hr] 我的系统是windows2003,Apache2.2.11+php5.2.12,utf-8的, 应该下载哪些啊?
... [3] => Array ( [word] => 中 [off] => 12 [len] => 3 [idf] => 0 [attr] => un ) [4] => Array ( [word] => 国 [off] => 15 [len] => 3 [idf] => 0 ...
... { ["word"]=> string(6) "解析" ["off"]=> int(12) ["len"]=> int(6) ["idf"]=> int(5) ["attr"]=> string(1) "v" } [3]=> object(stdClass)#5 (5) { ["word"]=> string(3) "我" ["off"]=> int(19)...
...(scws_t s, int mode) { s->mode &= ~SCWS_MULTI_MASK; //清空s->mode的0x12345,中12部分,345部分保留原值 if (mode & SCWS_MULTI_MASK) //mode的12部分保留,345部分清0 s->mode |= mode; } mode取值为1的话=0x00000001,mode & SCWS_MULTI_MASK怎么会为真呢?
...[len] => 3 [idf] => 0 [attr] => un ) [4] => Array ( [word] => 中 [off] => 12 [len] => 3 [idf] => 0 [attr] => un ) [5] => Array ( [word] => 国 [off] => 15 [len] => 3 [idf] => 0 [attr] => un ) [6] => Array ( [word] => 人 [off] => 18 [len] => 3 [idf] => 0 [attr] => un ) ) 没有分割开来啊...
...] root 24966 12.0 0.1 318392 29272 ? Sl 19:42 0:00 xs-searchd: worker[5] root 24974 0.0 0.0 105464 968 pts/0 S+ 19:42 0:00 grep search [root@www ~]# s...
... 10,FreeBSD 8.0-RELEASE 测试成功 11,FreeBSD 8.2-RELEASE 测试成功 12,MacOS 10.6 测试成功
...---- '263':18 '8079':16 'bbs':5 'chenaishen':17 'com':7 'href':3 'http':4,12 'net':19 'org':15 'pgsql':1 'pgsqldb':6,14 'www':13 '中国':8 '社区':9 '论坛':10 (1 row) 下面是用鬼佬写的分词的结果,email,网址正确合并,而且标签被正确的去除,但中文却没有分词 ...
我也是。在Ubuntu 12.04,中安装不成功 root@ubuntu:/home/mrfer/scws-1.2.0# ./configure --prefix=/usr/local/scws ; make ; make install checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk......
...=> 规 [6] => 硶 [7] => 鎵 [8] => ц [9] => [10] => 璇 [11] => 嶆 [12] => 眹 [13] => 鍒 [14] => 囧 [15] => 壊 ) ”,这感觉好像是编码格式的问题,代码用的是gbk,我没改,看了下网页显示编码也是用的gbk。 然后我用记事本打开XDB 格式的词典文...