赞
踩
一、NLTK安装
win + R cmd 进入命令行,输入Python,输入:import nltk
执行nltk.download()
双击all 即下载,过程中可能会出现下载失败的问题,只需要重新手动双击未下载成功的identifier即可。
二、安装spacy
Solution1: conda安装(我没用)
在conda命令行中输入如下命令即可安装spacy:
- conda config --add channels conda-forge
- conda install spacy
- python -m spacy.en.download
- python -m spacy download en
Solution2:
https://blog.csdn.net/qq_41623768/article/details/81939236
https://blog.csdn.net/cuofucsdn/article/details/78803501
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
https://blog.csdn.net/u013066730/article/details/84326246
----------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------
!!!import spacy的时候一直报错缺少一个模块,然后加载那个模块后又报错缺少另一个模块。最后。。。
https://blog.csdn.net/github_36326955/article/details/81069807
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。