Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading packages #34

Open
DarenRen opened this issue Jun 29, 2020 · 2 comments
Open

Error when loading packages #34

DarenRen opened this issue Jun 29, 2020 · 2 comments

Comments

@DarenRen
Copy link

from spacy import displacy
from tabulate import tabulate
import zh_core_web_sm
nlp = zh_core_web_sm.load()

when I try this, it gives me the following error:
ValueError: Can't read file: D:\Anaconda\lib\site-packages\zh_core_web_sm\zh_core_web_sm-0.1.0\tokenizer\cfg

And I check the 'zh_core_web_sm-0.1.0' file, there is no file called 'tokenizer’. I try to reinstall but giving me the same error.

Do you know why this happened?

@GoooIce
Copy link

GoooIce commented Jun 29, 2020

pip install -U spacy
python -m spacy download zh_core_web_sm
import spacy
nlp = spacy.load("zh_core_web_sm")

@howl-anderson
Copy link
Owner

howl-anderson commented Jun 29, 2020

SpaCy 官方中文模型已经上线(https://spacy.io/models/zh), 本项目『推动 SpaCy 中文模型开发』的使命已经完成,本项目将进入维护状态,后续更新将只进行 bug 修复,感谢各位用户长期的关注和支持。


The official Chinese model of SpaCy has been launched (https://spacy.io/models/zh), the task of "promoting the development of Chinese model of SpaCy" of this project has been completed, this project will enter the maintenance state, and the subsequent updates will only be bug fixed, thanks Long-term attention and support from all users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants