本文主要是介绍stanfordnlp parser进行PCFC 句法分析代码示例 安装教程示例,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.https://nlp.stanford.edu/software/ 官网地址
2.jar包下载地址 https://stanfordnlp.github.io/CoreNLP/
https://stanfordnlp.github.io/CoreNLP/download.html
3.https://github.com/stanfordnlp/stanfordnlp 地址 文档 项目
要 下载这2个包一个核心包 一个语言包
Could not find a version that satisfies the requirement torch>=1.0.0 (from stanfordnlp) (from versions: 0.1.2, 0.1.2.post1)
No matching distribution found for torch>=1.0.0 (from stanfordnlp)
https://stackoverflow.com/questions/32879532/stanford-nlp-for-python
启动服务
Install the package
unzip stanford-corenlp-full-2018-10-05.zip
mv stanford-english-corenlp-2018-10-05-models.jar stanford-corenlp-full-2018-10-05
Start the server
这篇关于stanfordnlp parser进行PCFC 句法分析代码示例 安装教程示例的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!