# nlp_architect.data.cdc_resources.wikipedia package

## Submodules

## nlp_architect.data.cdc_resources.wikipedia.wiki_elastic module

class `nlp_architect.data.cdc_resources.wikipedia.wiki_elastic.``WikiElastic`(host: str, port: int, index: str)

  Bases: `object`

  static `extract_from_elastic_results`(search_result)
  `get_best_elastic_results`(phrase)
  `get_page_from_result_v1`(phrase, result, result_id)
  `get_pages`(phrase)
  `get_redirect_result`(phrase)
  static `is_connected`(elastic_host, elastic_port)
  static `safe_extract_field_from_dict`(field_name, _dict)

## nlp_architect.data.cdc_resources.wikipedia.wiki_offline module

class `nlp_architect.data.cdc_resources.wikipedia.wiki_offline.``WikiOffline`(wikidump)

  Bases: `object`

  class `NoPage`(*args, **kwargs)

    Bases: `object`

    Attribute not found.

  static `extract_json_values`(json_pages)
  `get_pages`(phrase)
  `load_dump`(wiki_dump)

## nlp_architect.data.cdc_resources.wikipedia.wiki_online module

class `nlp_architect.data.cdc_resources.wikipedia.wiki_online.``WikiOnline`

  Bases: `object`

  static `extract_be_a_index`(sentence)
  `extract_be_comp`(text)
  `extract_be_comp_relations`(first_paragraph)
  static `get_aliases`(item)
  static `get_description`(item)
  `get_page_redirect`(word)
  `get_pages`(phrase)
  `get_wiki_page_item`(page)
  `get_wiki_page_with_items`(phrase, page)
  static `is_disambiguation_page`(item)
  static `is_name_description`(text, item, is_disambiguation)

## nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result module

class `nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result.``WikipediaSearchPageResult`(search_phrase: str, page_result: nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page.WikipediaPage)

  Bases: `object`

## Module contents