code: def output_brat(
      output_filepaths,
      dataset_brat_folders,
      stats_graph_folder,
      overwrite=False,
  ):
      # Output brat files
      for dataset_type in ["train", "valid", "test", "deploy"]:
          if dataset_type not in output_filepaths.keys():
              continue
          brat_output_folder = os.path.join(
              stats_graph_folder, "brat", dataset_type
          )
          utils.create_folder_if_not_exists(brat_output_folder)
          conll_to_brat(
              output_filepaths[dataset_type],
              output_filepaths[dataset_type],
              dataset_brat_folders[dataset_type],
              brat_output_folder,
              overwrite=overwrite,
          )
  
file_path: NeuroNER/neuroner/conll_to_brat.py
imports: import codecs
  import glob
  import os
  import shutil
  from neuroner import utils
  from neuroner import utils_nlp
label_desc: Use image node_id 5 for calling a global function with example usage: output_brat(output_filepaths, dataset_brat_folders, stats_graph_folder, overwrite) without return types