code: def get_synonyms(synset):
      """
      get synonyms list of synset
      Args:
          synset(synset): synset
  
      Returns:
          list(str): synonym_list, synonyms list
  
      """
      synonym_list = []
      i = 0
      for synonym in synset.lemma_names():
          synonym_list.insert(i, synonym.replace("_", " "))
          i = i + 1
  
      return synonym_list
  
file_path: nlp-architect/examples/most_common_word_sense/feature_extraction.py
imports: import re
  import nltk
  import numpy
  from numpy import dot
  from numpy.linalg import norm
  from nlp_architect.utils.generic import license_prompt
label_desc: Use image node_id 13 for calling a global function with example usage: get_synonyms(synset) and returns: synonym_list