Package jazzparser :: Package utils :: Package nltk :: Module storage :: Class ObjectStorer
[hide private]
[frames] | no frames]

Class ObjectStorer

source code

object --+
         |
        ObjectStorer
Known Subclasses:

Interface for various storers that take certain types of objects and produce a dictionary with the essential data needed to recreate them. The dict's values should all be picklable.

The purpose of this is to define a storable form of NLTK's things that don't have any storable representation.

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
object_to_dict(cls, obj) source code
 
dict_to_object(cls, dic) source code
Static Methods [hide private]
 
_object_to_dict(obj) source code
 
_dict_to_object(dic) source code
Class Variables [hide private]
  STORED_CLASS = None
hash(x)
Properties [hide private]

Inherited from object: __class__