依赖解析的 Spacy NLP 库问题
Spacy NLP Library issue with dependency parse
OS : Ubuntu
IDE : PyCharm
按照官网说明操作
pip install -U spacy
python -m spacy.en.download all
下面的代码片段:
doc2 = nlp(u"this is spacy sentence tokenize test. this is second sent! is this the third sent? final test.")
for sent in doc2.sents:
print (sent)
我仍然收到错误。
重新安装后
然后我安装了相当大的包 actually.I 已经安装了两次。
PyCharm有问题吗? IDE 很棒,但不会回头!
下面的代码解决了问题
sudo python3 -m spacy.en.download all
OS : Ubuntu
IDE : PyCharm
按照官网说明操作
pip install -U spacy
python -m spacy.en.download all
下面的代码片段:
doc2 = nlp(u"this is spacy sentence tokenize test. this is second sent! is this the third sent? final test.")
for sent in doc2.sents:
print (sent)
我仍然收到错误。
重新安装后
然后我安装了相当大的包 actually.I 已经安装了两次。
PyCharm有问题吗? IDE 很棒,但不会回头!
下面的代码解决了问题
sudo python3 -m spacy.en.download all