Site Network: freakymousemats | portal | smashingbloke | regenology

the weblog

Occasional musings that fall out of my brain and on to the site. Occasionally more occasional than I'd like. But will try to fix that.

PyLOLz now at Google Code

Posted by stephen on Sunday, 29th June, 2008 @ 23:06

In an effort to make my pointless and frivolous hacking seem like legitimate open source software, I'm using Google Code to maintain PyLOLz now, so any future versions can be found over here...

http://code.google.com/p/pylolz/

I've also built a pretty reliable Python OCR process for DVB subtitles this weekend which I'll make available soon.

Mashed08 and PyLOLz

Posted by stephen on Tuesday, 24th June, 2008 @ 14:43

This past weekend saw the return of Hackday, this time relabelled Mashed 08, and very much a BBC affair. And to their credit, it was a much better organised and smoother operation than last year. Though I think last year was perhaps just a little more fun because of the chaos!

Team Monkey Tennis reformed, though couldn't think of much to do after all the Saturday morning talks suggested lots of the ideas we'd had. So we got to Sunday morning and decided to have a little poke at last year's project. I'll link to a hopefully more perfected version of that soon.

In the mean time, it's led me to create a Python port of Dave Dribin's LOLspeak for Ruby. It's called PyLOLz, and even has a Kamaelia component, which is a rather awesome Python framework from the BBC for building scalable, pluggable apps for a really broad range of problems. PyLOLz is the first time I've actually put some code online for other people to use, so sorry if it's not very good, but please feel free to tweak and enhance it! You can find it here...

http://freakymousemats.com/static/software/

>>> from pylolz.lolz import Tranzlator
>>> t = Tranzlator()
>>> t.translate_word('Hello')
'y halo thar'
>>> t.translate_sentence('My English skills are perfect.')
'mah english skillz r perfik.'
Made with Django.