运行example01.py
TypeError: ‘module’ object is not callable
报错
模块不可调用
在TextRankKeyword中发现,segmentation.py中不止一个函数,需要修改为Segmentation.Segmentation
运行TextRank4zh时TypeError: ‘module‘ object is not callable
最新推荐文章于 2021-12-04 17:01:09 发布
运行example01.py
TypeError: ‘module’ object is not callable
报错
模块不可调用
在TextRankKeyword中发现,segmentation.py中不止一个函数,需要修改为Segmentation.Segmentation