Quicksilver autocomplete scorer in Python »

I recently came across a JavaScript port of the Quicksilver autocomplete scorer and attempted to port it line for line in Python. The biggest difference is that the Python variant does not muck with the string prototype. As a caveat, I am pretty sure that the above can be written in a more idiomatic manner. If I was not pressed for time, I would take a stab at it.

Posted on July 13, 2008. Permanent link.