phpjieba:结巴中文分词之php扩展,适用php5,php7

时间:2024-06-06 02:47:19
【文件属性】:

文件名称:phpjieba:结巴中文分词之php扩展,适用php5,php7

文件大小:4.25MB

文件格式:ZIP

更新时间:2024-06-06 02:47:19

php php7 jieba C++

version 0.0.6 加载字典缘故嫌慢的同学可以考虑使用 functions array jieba(string $text, int $action = 0, int $limit = 50) action 0 Extract 1 CutForSearch 2 Tag 3 TagAll 解决 Tag 对于相同 key 的问题 install git clone https://github.com/jonnywang/phpjieba.git cd phpjieba/cjieba make cd .. phpize ./configure make make install jieba more detail please visit php.ini extension=jieba.so jieba.enable=1 jieba.dict_path=/data/softs/ph


【文件预览】:
phpjieba-master
----.gitignore(458B)
----cjieba()
--------Makefile(352B)
--------deps()
--------include()
--------dict()
--------lib()
--------demo.c(3KB)
----jieba.c(9KB)
----config.m4(431B)
----alipay.png(4KB)
----weixin.png(134KB)
----README.md(2KB)
----php_jieba.h(2KB)
----example()
--------test_jieba.php(1KB)

网友评论