code: def get_pages(self, mention):
      if mention.tokens_str in self.cache:
          return self.cache[mention.tokens_str]
  
      (
          head_synonyms,
          head_names_derivationally,
      ) = self.extract_synonyms_and_derivation(mention.mention_head)
      (
          head_lemma_synonyms,
          head_lemma_derivationally,
      ) = self.extract_synonyms_and_derivation(
          mention.mention_head_lemma
      )
      clean_phrase = StringUtils.normalize_str(mention.tokens_str)
      all_clean_words_synonyms = self.all_clean_words_synonyms(
          clean_phrase
      )
  
      wordnet_page = WordnetPage(
          mention.tokens_str,
          clean_phrase,
          mention.mention_head,
          mention.mention_head_lemma,
          head_synonyms,
          head_lemma_synonyms,
          head_names_derivationally,
          head_lemma_derivationally,
          all_clean_words_synonyms,
      )
  
      self.cache[mention.tokens_str] = wordnet_page
      return wordnet_page
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/wordnet/wordnet_online.py
imports: import nltk
  from nltk.corpus import wordnet
  from nlp_architect.data.cdc_resources.data_types.wn.wordnet_page import WordnetPage
  from nlp_architect.utils.string_utils import StringUtils
label_desc: Use image node_id 2 for calling the WordnetOnline obj's underlying member method code with example usage: obj.get_pages(mention) and returns: wordnet_page, self