Re:Show HN: Headline Smasher
by tborenst on Saturday November 30, 2013 @08:50PM
(#6825662)
Can someone roughy explain how this works? I've looked through the source code but failed to identify the part that magically makes the headlines sound sensible.
[ Parent
| on HN ]
Here's a link to headline generator: https://github.com/wilg/headlines/blob/master/lib/markov.py
I didn't make this, it's a slightly modified version of this: https://gist.github.com/grantslatton/7694811
I'm planning to rewrite this in Ruby to allow me to surface where each parts of the headline is sourced from.