Module: tf.keras.preprocessing.text

Utilities for text input preprocessing.


  • Module tf.compat.v2.keras.preprocessing.text


class Tokenizer: Text tokenization utility class.


hashing_trick(...)免费成长做爱直播有哪些: Converts a text to a sequence of indexes in a fixed-size hashing space.

one_hot(...)免费成长做爱直播有哪些: One-hot encodes a text into a list of word indexes of size n.

text_to_word_sequence(...): Converts a text to a sequence of words (or tokens).

results matching ""

    No results matching ""