sengupta/twss — pull request #4 by petedmarsh (2012-07-28 17:23:24+00:00)
Title: Extensions

This branch is mostly minor refactoring:

1. I changed the constructor of TextClassifier to train by default, so no call to the train() method is needed
2. I changed the load() method of TextClassifier to be static
3. I saved a pickle of TextClassifier and added a default_classifier method to make getting hold of a TextClassifier instance easier and quicker
4. Added some simple unit tests
5. Removed some repeated code in twss.py

I hope you'll consider including it all :)