docstr: Get all WikipediaPages pages related with this mention string
  
  Args:
      mention_str: str
  
  Returns:
      WikipediaPages
docstr_tok: ["Get","all","WikipediaPages","pages","related","with","this","mention","string","Args",":","mention_str",":","str","Returns",":","WikipediaPages"]
code: def get_phrase_related_pages(
      self, mention_str: str
  ) -> WikipediaPages:
      """
      Get all WikipediaPages pages related with this mention string
  
      Args:
          mention_str: str
  
      Returns:
          WikipediaPages
      """
      pages = self.pywiki_impl.get_pages(mention_str.strip())
      ret_pages = WikipediaPages()
      if pages:
          for search_page in pages:
              if search_page.page_result.pageid != 0:
                  ret_pages.add_page(search_page.page_result)
  
      return ret_pages
  
imports: from __future__ import division
  import logging
  import os
  from typing import Set, List
  from nlp_architect.common.cdc.mention_data import MentionDataLight
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_pages import WikipediaPages
  from nlp_architect.data.cdc_resources.relations.relation_extraction import RelationExtraction
  from nlp_architect.data.cdc_resources.relations.relation_types_enums import RelationType, WikipediaSearchMethod
  from nlp_architect.data.cdc_resources.wikipedia.wiki_elastic import WikiElastic
  from nlp_architect.data.cdc_resources.wikipedia.wiki_offline import WikiOffline
  from nlp_architect.data.cdc_resources.wikipedia.wiki_online import WikiOnline
  from nlp_architect.utils.string_utils import StringUtils
label_desc: Use image node_id 2 for calling the WikipediaRelationExtraction obj's underlying member method code with example usage: obj.get_phrase_related_pages(mention_str) and returns: ret_pages