code: def write_event_coref_scorer_results(
      topics_list: List[Topic], output_file: str
  ) -> None:
      with open(
          os.path.join(output_file, "cd_event_pred_clusters_spans.txt"),
          "w",
      ) as output:
          write_topics(topics_list, output)
  
file_path: nlp-architect/nlp_architect/models/cross_doc_coref/system/cdc_utils.py
imports: import logging
  import os
  from typing import List
  from nlp_architect.common.cdc.cluster import Clusters
  from nlp_architect.common.cdc.mention_data import MentionData
  from nlp_architect.common.cdc.topics import Topic
  from nlp_architect.utils.string_utils import StringUtils
label_desc: Use image node_id 5 for calling a global function with example usage: write_event_coref_scorer_results(topics_list, output_file) without return types