tf.contrib.keras.preprocessing.text.one_hot

tf.contrib.keras.preprocessing.text.one_hot

one_hot(
    text,
    n,
    filters='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n',
    lower=True,
    split=' '
)

Defined in tensorflow/contrib/keras/python/keras/preprocessing/text.py.