code: def get_feature_vector(self, mention: MentionDataLight):
      embed = None
      head = mention.mention_head
      lemma = mention.mention_head_lemma
      if head in self.word_to_ix:
          embed = self.word_embeddings[self.word_to_ix[head]]
      elif lemma in self.word_to_ix:
          embed = self.word_embeddings[self.word_to_ix[lemma]]
  
      return embed
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/embedding/embed_glove.py
imports: import logging
  import pickle
  import numpy
  from nlp_architect.common.cdc.mention_data import MentionDataLight
label_desc: Use image node_id 2 for calling the GloveEmbeddingOffline obj's underlying member method code with example usage: obj.get_feature_vector(mention) and returns: embed