...= 'localhost'; $port = intval($conn); } elseif (!strncmp($conn, 'file://', 7)) { // write-only for saving index exchangable data to file // NOTE: this will cause file content be turncated $conn = substr($conn, 7); if (($sock = @fopen($conn, 'wb')) === false) { ...
我测试过make_xdb_file.php,明显是有错误码的,提示93行处的TF、IDF、Attr不存在,这明显示是:“[b]对分词再分词[/b]”带来的结果,在65行处看到only support GBK dictionary 到80行,这是不参对utf-8字符处理的,不能对中文(中英混合)字...
...hether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gc...
不停的报这个错。ERROR: output xdb file exists:后面是文件名 是从网站上面下载的XDB导入导出工具 起初我以为是我改的txt格式不对还是怎么的 后来我直接将xdb导出成txt,如下 php E:\www\dump_xdb_file.php E:\www\dict.xdb E:\www\1.txt 成功导...
...工具! 使用中发现,在字典的建立过程中,及php make_xdb_file.php 报了一大堆警告: Notice: Undefined index: tf in C:\xampp\php\xdb\make_xdb_file.php on line 93 Notice: Undefined index: idf in C:\xampp\php\xdb\make_xdb_file.php on line 93 直接导致了生成的字典...
...的编码都是utf8 还有就是如果我用 $so->set_dict('C:/Program Files/scws/etc/dict.xdb'); $so->set_rule('C:/Program Files/scws/etc/rules.utf8.ini'); 就会有警告: Warning: SimpleCWS::set_dict() [function.SimpleCWS-set-dict]: open_basedir restriction in effect. File(C:\Program Files...
...[/url] 我也是同样的问题,支持顶下,怎么解决呢? Warning: file_get_contents(sample.utf8.txt) [function.file-get-contents]: failed to open stream: No such file or directory in E:\AppServ\www\ceshi\index.p ... [/quote] 这个只是文件不存在而已,晕...应该看懂...
...formant name: _getcwd. See online help for details. 1> f:\program files (x86)\microsoft visual studio 11.0\vc\include\direct.h(130) : 参见“getcwd”的声明 1>f:\mypj\scws\libscws\xdict.c(130): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s ...
已经不能下载了。像是附件被删除了。 [quote] file_get_contents(./uploads/201002/post_3247_1267257571_f109e5a779400611f87ed98953d00b54.attach) [function.file-get-contents]: failed to open stream: No such file or directory [/quote]
....com/scws 所采用)导入导出工具!! 1. 词典导出:dump_xdb_file.php 在命令行模式下运行 php dump_xdb_file.php [存入的文本文件] 第二参数省略则直接输出到标准输出。 2. 词典生成:make_xdb_file.php 同样是在命令行模式下运行(...