shibing624 / pke_zh

pke_zh, python keyphrase extraction for chinese(zh). 中文关键词或关键句提取工具,实现了KeyBert、PositionRank、TopicRank、TextRank等算法,开箱即用。
Apache License 2.0
190 stars 30 forks source link

AttributeError: module 'pke_zh' has no attribute 'textrank' #3

Closed lonngxiang closed 1 year ago

lonngxiang commented 1 year ago

import就开始报错,最新版本

shibing624 commented 1 year ago

pip install pke_zh

refer: https://github.com/shibing624/pke_zh/blob/main/README.md#install