中文分词API

来源:互联网 发布:arcgis for js 编辑:程序博客网 时间:2024/05/22 05:11
中文分词 调用新浪api接口进行分词
$t=urlencode(iconv('gbk','utf-8', "天气预报烟台"));echo iconv('utf-8','gbk',file_get_contents("http://5.tbip.sinaapp.com/api.php?str=$t&type=str"));

0 0