Home
last modified time | relevance | path

Searched refs:preprocessing_text (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/keras/preprocessing/
Dtext_test.py24 from tensorflow.python.keras.preprocessing import text as preprocessing_text unknown
32 encoded = preprocessing_text.one_hot(text, 5)
39 encoded = preprocessing_text.one_hot(text, 5)
50 tokenizer = preprocessing_text.Tokenizer(num_words=10)
67 encoded = preprocessing_text.hashing_trick(text, 5)
74 encoded = preprocessing_text.hashing_trick(
85 tokenizer = preprocessing_text.Tokenizer()
91 tokenizer = preprocessing_text.Tokenizer(oov_token='<unk>')
103 tokenizer = preprocessing_text.Tokenizer()
114 seq = preprocessing_text.text_to_word_sequence(text)
[all …]