当前位置:网站首页>引入Spacy模块出错—OSError: [E941] Can‘t find model ‘en‘.
引入Spacy模块出错—OSError: [E941] Can‘t find model ‘en‘.
2022-07-29 05:21:00 【Quinn-ntmy】
导入spacy模块包:
import spacy
nlp=spacy.load(‘en’)
报错:
OSError: [E941] Can’t find model ‘en’. It looks like you’re trying to load a model from a shortcut, which is deprecated as of spaCy v3.0. To load the model, use its full name instead.
解决方法:
将
import spacy
nlp=spacy.load('en')
改为
from spacy.lang.en import English
nlp = English()
边栏推荐
- 【综述】图像分类网络
- 【Transformer】ACMix:On the Integration of Self-Attention and Convolution
- Ribbon learning notes 1
- Ribbon learning notes II
- Flutter正在被悄悄放弃?浅析Flutter的未来
- GAN:生成对抗网络 Generative Adversarial Networks
- 深入理解MMAP原理,让大厂都爱不释手的技术
- [image classification] how to use mmclassification to train your classification model
- [pycharm] pycharm remote connection server
- isAccessible()方法:使用反射技巧让你的性能提升数倍
猜你喜欢

Thinkphp6 pipeline mode pipeline use

Research on the implementation principle of reentrantlock in concurrent programming learning notes

【Transformer】TransMix: Attend to Mix for Vision Transformers

【语义分割】Mapillary 数据集简介

ASM插桩:学完ASM Tree api,再也不用怕hook了

【图像分类】如何使用 mmclassification 训练自己的分类模型

Android studio login registration - source code (connect to MySQL database)

pip安装后仍有解决ImportError: No module named XX

Briefly talk about the difference between pendingintent and intent

Anr Optimization: cause oom crash and corresponding solutions
随机推荐
【语义分割】Fully Attentional Network for Semantic Segmentation
[ml] PMML of machine learning model -- Overview
Machine learning makes character recognition easier: kotlin+mvvm+ Huawei ml Kit
The difference between asyncawait and promise
Synchronous development with open source projects & codereview & pull request & Fork how to pull the original warehouse
虚假新闻检测论文阅读(二):Semi-Supervised Learning and Graph Neural Networks for Fake News Detection
【DL】关于tensor(张量)的介绍和理解
Detailed explanation of MySQL statistical function count
Is flutter being quietly abandoned? On the future of flutter
Ribbon learning notes 1
ROS常用指令
Briefly talk about the difference between pendingintent and intent
备份谷歌或其他浏览器插件
微信小程序源码获取(附工具的下载)
How to PR an open source composer project
【网络设计】ConvNeXt:A ConvNet for the 2020s
[competition website] collect machine learning / deep learning competition website (continuously updated)
【go】defer的使用
Study and research the way of programming
[DL] build convolutional neural network for regression prediction (detailed tutorial of data + code)