安装:pip install stanfordcorenlp
国内源安装:pip install stanfordcorenlp -i
https://pypi.tuna.tsinghua.edu.cn/simple
使用stanfordcorenlp进行命名实体类识别
# 对中文进行实体识别
from stanfordcorenlp import StanfordCoreNLP
zh_model = StanfordCoreNLP(r'D:\Anaconda\Scripts\NLP\stanford-corenlp-full-2018-10-05', lang='zh')
s_zh = '我爱自然语言处理技术!