nltk.JSONTaggedDecoder
¶
-
class
nltk.
JSONTaggedDecoder
(encoding=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None)[source]¶
Methods¶
__init__ ([encoding, object_hook, ...]) |
encoding determines the encoding used to interpret any str |
decode (s) |
|
decode_obj (obj) |
|
raw_decode (s[, idx]) |
Decode a JSON document from s (a str or unicode beginning with a JSON document) and return a 2-tuple of the Python representation and the index in s where the document ended. |