Last active
February 12, 2019 01:28
-
-
Save sleepless-se/40f47e5865ae7c9974d3c79e39188eb9 to your computer and use it in GitHub Desktop.
Keras word_index to index2word dict
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
index2word = {i+1:key for i, key in enumerate(token.word_index)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment