stanford-chinese-corenlp-yyyy-MM-dd-models.jar not exists解决
手上兩個(gè)壓縮包:
stanford-corenlp-4.1.0-models-chinese.jar ?
stanford-corenlp-latest.zip
?
完整報(bào)錯(cuò)如下:
Traceback (most recent call last):
? File "stanford_visualize.py", line 4, in <module>
? ? with StanfordCoreNLP(r'stanford-corenlp-4.1.0', lang='zh') as nlp:
? File "/home/appleyuchi/anaconda3/envs/Python3.6/lib/python3.6/site-packages/stanfordcorenlp/corenlp.py", line 74, in __init__
? ? self.lang) + ' not exists. You should download and place it in the ' + directory + ' first.')
OSError: stanford-chinese-corenlp-yyyy-MM-dd-models.jar not exists. You should download and place it in the stanford-corenlp-4.1.0/ first.
解決方案:
stanford-corenlp-4.1.0-models-chinese.jar ?
重命名為:
stanford-chinese-corenlp-2018-09-05-models.jar
文件名中的日期隨便填,重新運(yùn)行程序,報(bào)錯(cuò)就會(huì)消失。
?
?
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的stanford-chinese-corenlp-yyyy-MM-dd-models.jar not exists解决的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iPhone 11 如何设置拦截骚扰电话
- 下一篇: 关于孵化器类型的创业公司-面试注意事项