操作系统: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)
我仍然收到错误消息。
重新安装后
然后我安装了实际上相当大的包。我已经做了两次。
PyCharm有问题吗?IDE很棒,但不会回头!