tf.keras.datasets.imdb.get_word_index

Retrieves the dictionary mapping word indices back to words.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.datasets.imdb.get_word_index

path where to cache the data (relative to ~/.keras/dataset).

The word index dictionary.