code: def get_pages(self, phrase):
      if phrase in self.cache:
          return self.cache[phrase]
  
      ret_pages = set()
      word_clean = phrase.replace("-", " ")
      word_lower = word_clean.lower()
      word_upper = word_clean.upper()
      word_title = word_clean.title()
      words_set = {
          phrase,
          word_clean,
          word_lower,
          word_upper,
          word_title,
      }
      for appr in words_set:
          try:
              page_result = self.get_page_redirect(appr)
              if page_result.pageid != 0:
                  full_page = self.get_wiki_page_with_items(
                      phrase, page_result
                  )
                  ret_pages.add(
                      WikipediaSearchPageResult(appr, full_page)
                  )
          except Exception as e:
              logger.error(e)
  
      self.cache[phrase] = ret_pages
      return ret_pages
  
imports: import logging
  import os
  import re
  import sys
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page import WikipediaPage
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page_extracted_relations import WikipediaPageExtractedRelations
  from nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result import WikipediaSearchPageResult
  from nlp_architect.utils.text import SpacyInstance
label_desc: Use image node_id 2 for calling the WikiOnline obj's underlying member method code with example usage: obj.get_pages(phrase) and returns: ret_pages, self