module documentation

Register JSON tags, so the nltk data loader knows what module and class to look for.

NLTK uses simple '!' tags to mark the types of objects, but the fully-qualified "tag:nltk.org,2011:" prefix is also accepted in case anyone ends up using it.

Class JSONTaggedDecoder Undocumented
Class JSONTaggedEncoder Undocumented
Function register_tag Decorates a class to register it's json tag.
Constant TAG_PREFIX Undocumented
Variable json_tags Undocumented
def register_tag(cls): (source)

Decorates a class to register it's json tag.

TAG_PREFIX: str = (source)

Undocumented

Value
'!'
json_tags: dict = (source)

Undocumented