News for hackers. Stuff that matters.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by ecesena on Tuesday January 24, 2017 @09:10PM (#13477815)
Not sure what do you use to scrape, but I can recommend newspaper to extract text.

I contributed a while ago and it was pretty solid.

https://github.com/codelucas/newspaper

Re:Show HN: Realtime Hacker News Summarization Using Machine... by sohkamyung on Wednesday January 25, 2017 @04:01AM (#13479869)
Thanks for that. The Newspaper demo site seems to show it working quite well on the news sites I usually browse.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by bexp on Tuesday January 24, 2017 @09:10PM (#13477818)
thanks will try that
Re:Show HN: Realtime Hacker News Summarization Using Machine... by xiamx on Tuesday January 24, 2017 @06:32PM (#13476840)
Got that this is using nltk. Can you comment on which summarization algorithm you are using (TextRank, SumBasic and etc.) What's the motivation towards choosing one algorithm over another and how's its performance on average HN articles?
Re:Show HN: Realtime Hacker News Summarization Using Machine... by mendeza on Tuesday January 24, 2017 @06:42PM (#13476920)
The summary seems to pick the most unique sentences, so maybe LexRank? Amazing though, I've been really wanting a way to skim HN articles quicker, since there is so much volume and you don't want to miss anything

Great work!

Re:Show HN: Realtime Hacker News Summarization Using Machine... by a_c on Wednesday January 25, 2017 @12:06AM (#13478707)
This. It would be great if we can have the source code alongside with OP's comment on his/her summarization
Re:Show HN: Realtime Hacker News Summarization Using Machine... by apapli on Wednesday January 25, 2017 @05:02AM (#13480141)
Agree. It would be great to see your source code if at all possible, would be greatly appreciated.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by spraak on Tuesday January 24, 2017 @08:10PM (#13477506)
I'm glad that someone made this! Ever since I've known about ML and HN I've wanted to make something like this
Re:Show HN: Realtime Hacker News Summarization Using Machine... by acd on Tuesday January 24, 2017 @04:42PM (#13475835)
Good summary, how is h 10 built? It would be cool to summarize other sites feed with the same tech.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by bexp on Tuesday January 24, 2017 @04:47PM (#13475889)
I used NLTK in Python http://nltk.org + Twisted for serving HTTP
Re:Show HN: Realtime Hacker News Summarization Using Machine... by amirouche on Wednesday January 25, 2017 @12:41PM (#13483705)
NLTK has no machine learning algorithm AFAIK
Re:Show HN: Realtime Hacker News Summarization Using Machine... by alistproducer2 on Tuesday January 24, 2017 @03:08PM (#13474985)
This would really benifit from an explanation of what I'm seeing. can't really upvote it without knowing what's going on....
Re:Show HN: Realtime Hacker News Summarization Using Machine... by bexp on Tuesday January 24, 2017 @04:50PM (#13475931)
there are couple things here: 1. scrapping web page to get text content 2. use NLTK to proccess text and get summary and keywords 3. wrap it into REST API and serve as web service
Re:Show HN: Realtime Hacker News Summarization Using Machine... by jeffehobbs on Tuesday January 24, 2017 @04:53PM (#13475972)
You could probably get cleaner input for step 1 via the Mercury API [https://mercury.postlight.com/web-parser/] — it has a lot of affordances for different kinds of HTML formatting.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by bexp on Tuesday January 24, 2017 @05:06PM (#13476121)
Thanks will try at some point, my biggest concern was that those kind of API's are almost all paid and rarely open sourced.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by ostegm on Tuesday January 24, 2017 @05:18PM (#13476242)
Can you describe a little about how you go from raw text to a summary? Is this supervised learning? If so, what is the training data?
Re:Show HN: Realtime Hacker News Summarization Using Machine... by usgroup on Wednesday January 25, 2017 @02:49AM (#13479562)
Consider just using the first paragraph as the summary.

For the sort of thing on HN, it'll be spot on more times than not.

Re:Show HN: Realtime Hacker News Summarization Using Machine... by aaronhoffman on Wednesday January 25, 2017 @09:43AM (#13481696)
Yes, could probably just grab the open graph tag data for most articles and display that. But this is a cool idea.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by earthly10x on Tuesday January 24, 2017 @09:31PM (#13477929)
Would be nice to connect other data to it like stocks e.g. https://cymetica.slack.com/apps/A26G72726-quantbot
Re:Show HN: Realtime Hacker News Summarization Using Machine... by s_ngularity on Tuesday January 24, 2017 @09:14PM (#13477838)
It would be good if it still included a link to the HN comments for each post
Re:Show HN: Realtime Hacker News Summarization Using Machine... by bexp on Tuesday January 24, 2017 @11:07PM (#13478413)
done !
Re:Show HN: Realtime Hacker News Summarization Using Machine... by alexilliamson on Wednesday January 25, 2017 @10:13AM (#13481989)
There are still posts with no link to the comments. Seems like it is happening whenever the summary is also missing below the title (currently "5. Ask HN: Leave job right before app goes to production?" is like this)
Re:Show HN: Realtime Hacker News Summarization Using Machine... by travelinreid on Friday January 27, 2017 @03:31PM (#13502384)
https://thepul.se/ also uses an algorithm based on nltk to summarize general news. (It also includes a nice speed-reader.)
Re:Show HN: Realtime Hacker News Summarization Using Machine... by brunopedro on Tuesday January 24, 2017 @04:40PM (#13475815)
What summarization algorithm are you using?
Re:Show HN: Realtime Hacker News Summarization Using Machine... by Raphmedia on Tuesday January 24, 2017 @04:48PM (#13475907)
Does it summarize our comment threads or the pages it links to?
Re:Show HN: Realtime Hacker News Summarization Using Machine... by bexp on Tuesday January 24, 2017 @04:53PM (#13475971)
Just pages for now.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by Raphmedia on Tuesday January 24, 2017 @04:57PM (#13476003)
Alright! Did you ever try to run a summarizer on a post's comment section? It pretty much creates an "article" for you. I've always thought that article generation from comment threads is an area that should be explored.
Re:Show HN: Realtime Hacker News Summarization Using Machine... by singularity2001 on Tuesday January 24, 2017 @05:23PM (#13476294)
js error: "get top stories error index.html:56:4"
Re:Show HN: Realtime Hacker News Summarization Using Machine... by mulrian on Thursday January 26, 2017 @05:08AM (#13490121)
Is this open source?