nltk.JSONTaggedEncoder

class nltk.JSONTaggedEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, encoding='utf-8', default=None)[source]

Methods

__init__([skipkeys, ensure_ascii, ...]) Constructor for JSONEncoder, with sensible defaults.
default(obj)
encode(o) Return a JSON string representation of a Python data structure.
iterencode(o[, _one_shot]) Encode the given object and yield each string representation as available.