and my Twitter archive and some good old-fashioned yak shaving, here are my unintentional haikus over the years. Manually removed the RTs and link posts, replies programmatically removed beforehand.
parse_twitter_archive.py to remove the
main() call at the bottom)
import haikufinder, parse_twitter_archive
tweets = parse_twitter_archive.load_json_data_from_files('./tweets/data/js/tweets/')
for tweet in tweets:
if 'in_reply_to_user_id_str' in tweet:
haikus = haikufinder.HaikuFinder(tweet['text']).find_haikus()
for haiku in haikus:
print '<a href="https://twitter.com/sillygwailo/status/' + tweet['id_str'] + '">' + 'https://twitter.com/sillygwailo/status/' + tweet['id_str'] + '</a>: ' + haiku + ' / ' + haiku + ' / ' + haiku + '<br>'
- https://twitter.com/sillygwailo/status/13218501: just because people / have come to expect something, / doesn't mean it's right
- https://twitter.com/sillygwailo/status/776433658: I never thought I'd / say this, but four day weekends / are one day too long.
- https://twitter.com/sillygwailo/status/780975686: I'm not so grumpy / that I don't smile when I've been / Rick Rolled, however.
- https://twitter.com/sillygwailo/status/821919472: Goodbye, cavalier / attitude towards restarting / database servers.
- https://twitter.com/sillygwailo/status/815459597: Realizing how much / better I could have handled / that conversation.
- https://twitter.com/sillygwailo/status/813391828: The "Trusted Support" / slogan gets my attention. / Not cross-platform, though.
- https://twitter.com/sillygwailo/status/861244211: I need to downgrade / from BETTER haircuts and get / GOOD haircuts instead.
- https://twitter.com/sillygwailo/status/919798272: For extra bonus / points (aka dark chocolate), / the dishes are done.
- https://twitter.com/sillygwailo/status/1045571579: Was I the only / one on the left who opposed / the coalition?
- https://twitter.com/sillygwailo/status/1131703567: 44 pages / in and I wish I didn't / have to put it down.
- https://twitter.com/sillygwailo/status/1112071932: If the Vancouver / Public Library has 'em, / why doesn't Safeway?
- https://twitter.com/sillygwailo/status/1567085087: Can someone tell me / what my $10 for Bike / the Blossoms went towards?
- https://twitter.com/sillygwailo/status/6286030978: Still don't have a good / sense of what the #Thunderbird / folks think about it.
- https://twitter.com/sillygwailo/status/12376126061: Number of drinks when / Buck Martinez's voice cracks / from excitement: 1.
- https://twitter.com/sillygwailo/status/14240586229: How did I survive / before listening to Blue Jays / games in the morning?
- https://twitter.com/sillygwailo/status/22836646808: At a Major League / Baseball game of course I bring / my glove, no question.
- https://twitter.com/sillygwailo/status/9306891658203138: Recommendations / for professional bio / writing services?
- https://twitter.com/sillygwailo/status/137795808895565824: "Beware of dog," reads / the sign on the property / with an open gate.
- https://twitter.com/sillygwailo/status/202575496653971456: I'll take a Blue Jays / loss in which John Farrell gets / thrown out. Finally!
- https://twitter.com/sillygwailo/status/208977321280016385: First ever for me: / asking where someone was from–he broached / the subject–he asked me to guess.
- https://twitter.com/sillygwailo/status/250417456663912448: By the way, there’s one thing / I like better than home runs. / You know what that is?
- https://twitter.com/sillygwailo/status/299925798788403201: Who’s in charge of buying / the block of tickets for Blue / Jays fans? I want in.