miso-belica / sumy

Module for automatic summarization of text documents and HTML pages.
https://miso-belica.github.io/sumy/
Apache License 2.0
3.52k stars 531 forks source link

Readability Module #8

Closed pratikpoddar closed 10 years ago

pratikpoddar commented 10 years ago

I get this error when I use 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

Was there a change in the readability module recently? Can you please check? Thanks

pratikpoddar commented 10 years ago

Solution posted on http://stackoverflow.com/questions/21301943/python-summarizer-sumy

miso-belica commented 10 years ago

Thanks for the report. I use my own requirements file so I didn't notice it. It should be fixed now :)

Regarding bad code design mentioned on StackOverflow - sumy is my personal experiment and I use it separately in virtualenv so I didn't care about conflicts with outer world but I see I should :(. Maybe I'll switch to the original project breadability

pratikpoddar commented 10 years ago

yout parses.html still uses readability.readable... shouldn't it be changed to breadibility.readable? Thanks for the great piece of software btw. Thanks a ton.

On Thu, Jan 23, 2014 at 3:04 PM, Mišo Belica notifications@github.comwrote:

Thanks for the report. I use my own requirements file so I didn't notice it. It should be fixed now :)

Regarding bad code design mentioned on StackOverflow - sumy is my personal experiment and I use it separately in virtualenv so I didn't care about conflicts with outer world but I see I should :(. Maybe I switch to the original project breadability https://github.com/bookieio/breadability

— Reply to this email directly or view it on GitHubhttps://github.com/miso-belica/sumy/issues/8#issuecomment-33108822 .

Pratik Poddar http://www.cseblog.com http://www.tomonotomo.com http://pratikpoddar.wordpress.com/

miso-belica commented 10 years ago

I only fixed installation of my readability fork. I didn't switch to breadibility yet. I want to check breadability and talk with the breadability's author first.

I'm glad that someone uses my library. Can I ask where/for what are you using sumy? I am just curious :)

pratikpoddar commented 10 years ago

I am extracting news articles from a lot of sources. I am summarizing it and trying to build a visualization of summaries. Using lots of summarization tools. sumy works best :)

On Thu, Jan 23, 2014 at 3:19 PM, Mišo Belica notifications@github.comwrote:

I only fixed installation of my readability fork. I didn't switch to breadibility yet. I have to check breadability and talk with the breadability's author first.

I'm glad that someone uses my library. Can I ask where/for what are you using sumy? I am just curious :)

— Reply to this email directly or view it on GitHubhttps://github.com/miso-belica/sumy/issues/8#issuecomment-33109770 .

Pratik Poddar http://www.cseblog.com http://www.tomonotomo.com http://pratikpoddar.wordpress.com/