php使用结巴分词进行分词
1
https://github.com/jonnywang/goredisjieba
<?php
$redis_handle = new Redis();
$redis_handle->connect('127.0.0.1', 6379, 10); //端口需要与config.xml配置保持一致
$redis_handle->select(0);
$result = $redis_handle->rawCommand('cutforsearch', '我来到北京清华大学'...
原创
2021-01-26 15:12:03 ·
453 阅读 ·
0 评论