tf.keras.preprocessing.text.tokenizer_from_json

Parses a JSON tokenizer configuration file and returns a

tokenizer instance.

json_string JSON string encoding a tokenizer configuration.

A Keras Tokenizer instance