Still doesn't seem very Pythonic.
def name(self):
return "split into words"
Why isn't name a class attribute? Does this really need to be a callable function?In my opinion, I think as much of this stuff should be done in a declarative way as possible.