Created
May 25, 2020 22:35
-
-
Save eustin/d3388e80cca81bfe36f7a31076b1bf5a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tokeniser = tf.keras.preprocessing.text.Tokenizer() | |
tokeniser.fit_on_texts(sentences) | |
print(tokeniser.word_index) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment