linux下安装hanlp
一、下载安装包
https://github.com/hankcs/HanLP/releases
二、新建目录hanlp
下载最新的 hanlp-1.6.4-release.zip文件,里面包含hanlp-1.6.4.jar , hanlp-1.6.4-sources.jar , hanlp.properties
三、下载data文件,解压到data目录

四、更改配置文件 hanlp.properties

五、安装jpype1,在cmd窗口输入
pip install jpype1
六、接下来可以执行如下python文件 https://blog.csdn.net/u011961856/article/details/77167546

浙公网安备 33010602011771号