python - 加载 textHero 库时出现 AttributeError
问题描述
导入 textHero 时出现错误
#import the texthero library
import texthero as hero
import pandas as pd
错误:AttributeError:模块“nltk”没有属性“数据”
我再次安装了 textHero,但错误没有得到解决。
解决方案
推荐阅读
- php - 如何在 PHP 代码中设置 rowspan 表使用 foreach 模式
- powerbi - Power BI - 无法细分子类别(国家/地区的城市)级别的数据
- android - 更改 Android BottomNavigationItemView 图标
- node.js - Mongoose 不使用 .save() 函数保存嵌套数组/深层对象
- forms - 基于提交字段的引导应用程序脚本表单邮件通知
- javascript - ReactJS 过滤器包括一个数组列表
- installation - 为什么我的 Visual & Installer 菜单中没有 Inno Setup 和 NSIS?
- assembly - 如何精确取大型浮点数组的平均值?
- swift - 在 Swift 中接受 Array 和 ArraySlice 作为相同的参数
- reactjs - 显示来自 Api Call React 的信息