parameters: (path='imdb_word_index.json')
docstring: 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.
docstring_summary: Retrieves the dictionary mapping word indices back to words.
docstring_tokens: Retrieves the dictionary mapping word indices back to words .
function: def get_word_index(path='imdb_word_index.json'):
    """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.
    """
    origin_folder = 'https://storage.googleapis.com/tensorflow/tf-keras-datasets/'
    path = get_file(
        path,
        origin=origin_folder + 'imdb_word_index.json',
        file_hash='bfafd718b763782e994055a2d397834f')
    with open(path) as f:
      return json.load(f)
function_tokens: def get_word_index ( path = 'imdb_word_index.json' ) : origin_folder = 'https://storage.googleapis.com/tensorflow/tf-keras-datasets/' path = get_file ( path , origin = origin_folder + 'imdb_word_index.json' , file_hash = 'bfafd718b763782e994055a2d397834f' ) with open ( path ) as f : return json . load ( f )