当前位置:网站首页>Please use the NLTK Downloader to obtain the resource
Please use the NLTK Downloader to obtain the resource
2022-06-23 04:42:00 【Triumph19】
Report errors
- In the use of NLTK library , The following error has been reported .
LookupError:
**********************************************************************
Resource punkt not found.
Please use the NLTK Downloader to obtain the resource:
>>> import nltk
>>> nltk.download('punkt')
For more information see: https://www.nltk.org/data.html
Attempted to load tokenizers/punkt/english.pickle
Searched in:
- 'C:\\Users\\hjh/nltk_data'
- 'D:\\python3.9.12\\nltk_data'
- 'D:\\python3.9.12\\share\\nltk_data'
- 'D:\\python3.9.12\\lib\\nltk_data'
- 'C:\\Users\\hjh\\AppData\\Roaming\\nltk_data'
- 'C:\\nltk_data'
- 'D:\\nltk_data'
- 'E:\\nltk_data'
- ''
**********************************************************************
Solutions
- The author first tries to download the file according to the prompts , But the download failed . stay NLTK Downloader to obtain the resource Found a downloadable resource :
link :https://pan.baidu.com/s/1xWG2yTXkmw3BFRuOXgS2jQ
Extraction code :62xn
Copy this content after opening baidu network disk mobile phone App, It is more convenient to operate
Put the corpus in python File directory
- First, unzip the downloaded compressed package , And then on python Under the table of contents , Execute the relevant command again , It can run normally .

边栏推荐
- Halcon knowledge: binocular_ Discrimination knowledge
- OpenJudge NOI 1.13 49:计算对数
- LabVIEW displays both hexadecimal and normal characters in the same table
- Laravel 通过服务提供者来自定义分页样式
- Qt 及QT VS Tools插件官方下载及安装
- Notes on writing questions in C language -- free falling ball
- Laravel中使用 Editor.md 上传图片如何处理?
- 32单片机一个变量多个.c里使用
- Pta:6-73 function call
- Pta:7-63 calculate the number one in the college entrance examination
猜你喜欢

Notes on writing questions in C language -- free falling ball

距离度量 —— 余弦距离(Cosine Distance)

使用Live Chat促进业务销售的惊人技巧

#18生成器函数的参数传递

LabVIEW在同一表中同时显示十六进制字符和普通字符

Tiktok x-bogus and_ Signature parameter analysis

一款MVC5+EasyUI企业快速开发框架源码 BS框架源码
![3D数学基础[十六] 匀加速直线运动的公式](/img/51/5b05694bbd0f4fd01dd26cf55b22c7.png)
3D数学基础[十六] 匀加速直线运动的公式

Abnova LiquidCell-负富集细胞分离和回收系统

Leetcode 1208. Try to make the strings equal as much as possible (finally solved, good night)
随机推荐
Distance measure - cosine distance
PTA:6-29 虚基类的应用-人与教师学生
Does the network disk also roll inside?
磁阻 磁饱和
Abnova酸性磷酸酶(小麦胚芽)说明书
Leetcode 1208. 尽可能使字符串相等
Banner 标语 旗帜
Common interview questions in automated testing
【二叉树】二叉树的完全性检验
Kail 渗透基本素养 基础命令
Openjudge noi 1.13 50: several
Leetcode 1208. Make strings as equal as possible
麦肯锡:2021年量子计算市场投资增长强劲,人才缺口扩大
Pta:7-31 journal charges
Common concepts and terms in offline warehouse modeling
Cocos学习日记2——脚本和属性
云函数实现模糊搜索功能
PTA: Simulation Implementation of 7-87 set (class template)
After the exception is thrown, the @transactional does not take effect
Audio and video development journey (63) - animation and rendering of Lottie source code analysis