sunlightlabs/name-cleaver — pull request #2 by paultyng (2011-12-30 20:09:39+00:00)
Title: Jython Compilation Issue

I had to make a minor syntax change to allow compilation in Jython (for [Google Refine](http://code.google.com/p/google-refine/) usage).

May be useful for someone else.

(I'm a python newbie so I may not have made this change correctly, please let me know.)

Now this lets me write an expression in [Google Refine](http://code.google.com/p/google-refine/) similar to:

from name_cleaver import PoliticianNameCleaver

return str(PoliticianNameCleaver(cells['Test Name']['value']).parse())