最新stanford corenlp 安装和使用教程,现有很多博客上的方法事实上都用不了。
参考:
官网:https://stanfordnlp.github.io/CoreNLP/corenlp-server.html
博客:https://blog.csdn.net/qq_40426415/article/details/80994622
首先按照博客方法依次安装和配置java的环境变量,参考上面的博客,具体如下:
1. 安装Stanford nlp自然语言处理包:pip install stanfordcorenlp
2. 下载Stanford CoreNLP文件:http://stanfordnlp.github.io/CoreNLP/download.html
3. 下载中文模型jar包:http://nlp.stanford.edu/software/stanford-chinese-corenlp-208-02-27-models.jar
4.把解压后的stanford-corenlp-latest(重新命名为了stanford-corenlp&#