tf.keras.preprocessing.text.tokenizer_from_json

Parses a JSON tokenizer configuration file and returns a

tf.keras.preprocessing.text.tokenizer_from_json(
    json_string
)

tokenizer instance.

Arguments

json_string: JSON string encoding a tokenizer configuration.

Returns

A Keras Tokenizer instance