Python Summarizer Sumy
作者:互联网
我使用sumy https://github.com/miso-belica/sumy进行python文本摘要
我使用HtmlParser时出现此错误.
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/sumy/parsers/html.py", line 6, in
from readability.readable import Article
ImportError: No module named readable
我该如何解决这个问题?
我做了以下,
pip install sumy
pip install readability-api
解决方法:
它真的好笑.
这不是作者在sumy中提到的readablity-api
它的https://github.com/miso-belica/readability.py
devaloper正在使用他自己的项目可读性
尝试使用上面.浏览上面的项目. Devaloper在两个项目中都是miso-belica
标签:python,summarization 来源: https://codeday.me/bug/20190624/1280414.html