code: def load_modules(cdc_resources):
      models = list()
      models.append(
          WikipediaRelationExtraction(
              cdc_resources.wiki_search_method,
              wiki_file=cdc_resources.wiki_folder,
              host=cdc_resources.elastic_host,
              port=cdc_resources.elastic_port,
              index=cdc_resources.elastic_index,
          )
      )
      models.append(
          WordEmbeddingRelationExtraction(
              cdc_resources.embed_search_method,
              glove_file=cdc_resources.glove_file,
              elmo_file=cdc_resources.elmo_file,
              cos_accepted_dist=0.75,
          )
      )
      models.append(
          ReferentDictRelationExtraction(
              cdc_resources.referent_dict_method,
              cdc_resources.referent_dict_file,
          )
      )
      return models
  
file_path: nlp-architect/examples/cross_doc_coref/cross_doc_coref_sieves.py
imports: import logging
  from typing import List
  from nlp_architect import LIBRARY_ROOT
  from nlp_architect.common.cdc.cluster import Clusters
  from nlp_architect.common.cdc.topics import Topics
  from nlp_architect.data.cdc_resources.relations.referent_dict_relation_extraction import ReferentDictRelationExtraction
  from nlp_architect.data.cdc_resources.relations.relation_types_enums import RelationType
  from nlp_architect.data.cdc_resources.relations.wikipedia_relation_extraction import WikipediaRelationExtraction
  from nlp_architect.data.cdc_resources.relations.word_embedding_relation_extraction import WordEmbeddingRelationExtraction
  from nlp_architect.models.cross_doc_coref.sieves_config import EventSievesConfiguration, EntitySievesConfiguration
  from nlp_architect.models.cross_doc_coref.sieves_resource import SievesResources
  from nlp_architect.models.cross_doc_coref.system.sieves_container_init import SievesContainerInitialization
  from nlp_architect.models.cross_doc_sieves import run_event_coref, run_entity_coref
label_desc: Use image node_id 2 for calling a global function with example usage: load_modules(cdc_resources) and returns: models