code: def __init__(self, model):
      self._model = model
      self._words = set([w for w in self._model.vocab])
  
imports: from numpy import array
  from gensim import matutils
label_desc: Use image node_id 1 to create a new WordRelatedness object  with example: obj = WordRelatedness(model)