code: def extract_synset_data(synset):
      """
  
      Args:
          synset(synset): synset
  
      Returns:
          definition(str): definition of synset
          list(str): synonym_list, synonyms list
          list(str): hyps_list, hypernym list
  
      """
      # a. get definition
      definition = synset.definition()
      # b. get inherited hypernyms
      hyper_list = []
      hyps_list = get_inherited_hypernyms_list(synset, hyper_list)
  
      # c. get synonyms
      synonym_list = get_synonyms(synset)
  
      return definition, hyps_list, 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 14 for calling a global function with example usage: extract_synset_data(synset) and returns: definition,  hyps_list,  synonym_list