Fortunately, news headlines are quite formulaic. It's now possible to rip them in twain and recombine them to form the real news. So offbeat, it never happened.
The offbeat news | The depressing news you're using the offbeat news to escape |
---|---|
|
|
Want it all? Here you go.
The original headlines are taken every hour from azcentral.com. The shuffled headlines are updated every five minutes.
Dog Bites Dog is powered by a couple of Python scripts; one that uses Beautiful Soup to scrape headlines, and one that uses FRELI to figure out where to chop up the headlines.
Several problems can lead to malformed headlines (as oppose to merely nonsensical headlines, which are good clean fun). The most egregious (and easy to fix) is the disagreement between a singular object and a plural predicate, or vice versa. Other headlines prove intractable due to the vagaries of English syntax or words that have multiple meanings; the script usually knows to ignore a headline it can't understand, but sometimes it oversteps the bounds of its circumscribed knowledge without realizing it.
Thanks to Sumana Harihareswara for naming this feature.
This document is part of Crummy, the webspace of Leonard Richardson (contact information). It was last modified on Friday, August 23 2013, 19:13:55 Nowhere Standard Time and last built on Saturday, June 03 2023, 14:20:02 Nowhere Standard Time.
| Document tree: Site Search: |