Add more comments for Classifier.classify
Use relative imports everywhere
Use clearer logic in Classifier.from_json_file

If the datum has 'counts' at all, it's a Jati. Also, raise an error
if a pattern can't be understood.