Gradio搭建基于公司制度的代码测试问题 #321

Open
opened 2024-10-29 12:56:55 +08:00 by 11735802362cs · 1 comment

课程:基于Gradio搭建基于公司制度
问题:代码本次测试报错:
错误信息如下:
Resource punkt_tab not found.
Please use the NLTK Downloader to obtain the resource:

经查:本地已经Pip nltk==3.9.1de 包,而实际上NLTK的标准资源中并没有名为 punkt_tab 的资源,请帮忙解答

课程:基于Gradio搭建基于公司制度 问题:代码本次测试报错: 错误信息如下: Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: 经查:本地已经Pip nltk==3.9.1de 包,而实际上NLTK的标准资源中并没有名为 punkt_tab 的资源,请帮忙解答
punkt_tab一般要手动下载,比如说https://www.nltk.org/nltk_data/这个网址,需要下载完放到指定位置,nltk包会在运行时显示它会检索哪些地方,这个资源放到其中的任何一个位置都可以。
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#321
No description provided.