class_docstr: Wraps Gensim's `models.keyedvectors` module
  (https://radimrehurek.com/gensim/models/keyedvectors.html)
class_docstr_tok: ["Wraps","Gensim","'s","`","models.keyedvectors","`","module","(","https",":","\/\/radimrehurek.com\/gensim\/models\/keyedvectors.html",")"]
docstr: Convert index to corresponding word
  Args:
      index (int)
  Returns:
      word (str)
docstr_tok: ["Convert","index","to","corresponding","word","Args",":","index","(","int",")","Returns",":","word","(","str",")"]
code: def index2word(self, index):
      """
      Convert index to corresponding word
      Args:
          index (int)
      Returns:
          word (str)
  
      """
      try:
          # this is a list, so the error would be IndexError
          return self.keyed_vectors.index_to_key[index]
      except IndexError:
          raise KeyError(index)
  
imports: from abc import ABC, abstractmethod
  from collections import defaultdict
  import os
  import pickle
  import numpy
  import torch
  from textattack.shared import utils
label_desc: Use image node_id 4 for calling the GensimWordEmbedding obj's underlying member method code with example usage: obj.index2word(index) and returns: self