tf.keras.preprocessing.text.tokenizer_from_json

Parses a JSON tokenizer configuration file and returns a

tokenizer instance.

Arguments

json_string: JSON string encoding a tokenizer configuration.

Returns

A Keras Tokenizer instance