Last active
September 22, 2020 13:12
-
-
Save abhishek-shrm/6343bda71751065c228ef6f4adff0bc1 to your computer and use it in GitHub Desktop.
This file contains 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
from keras.preprocessing.text import Tokenizer | |
# Instantiating Tokenizer | |
tokenizer = Tokenizer() | |
# Creating index for words | |
tokenizer.fit_on_texts(df_train['cleaned']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment