tf.keras.datasets.reuters.get_word_index(path='reuters_word_index.json')
Defined in tensorflow/python/keras/datasets/reuters.py
.
Retrieves the dictionary mapping word indices back to words.
Arguments:
path
: where to cache the data (relative to~/.keras/dataset
).
Returns:
The word index dictionary.