4 ms·
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
by tborenst 13y ago
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.
- wilg 13y agoHere's a link to headline generator: https://github.com/wilg/headlines/blob/master/lib/markov.py 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 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.
- tborenst 13y agoI see, thank you!