code: def convert_conll_from_bio_to_bioes(
      input_conll_filepath, output_conll_filepath
  ):
      if os.path.exists(output_conll_filepath):
          if check_validity_of_conll_bioes(output_conll_filepath):
              return
      dataset_type = utils.get_basename_without_extension(
          input_conll_filepath
      ).split("_")[0]
      print(
          "Converting CONLL from BIO to BIOES format... ".format(
              dataset_type
          ),
          end="",
      )
      input_conll_file = codecs.open(input_conll_filepath, "r", "UTF-8")
      output_conll_file = codecs.open(
          output_conll_filepath, "w", "UTF-8"
      )
  
      labels = []
      split_lines = []
      for line in input_conll_file:
          split_line = line.strip().split(" ")
          # New sentence
          if (
              len(split_line) == 0
              or len(split_line[0]) == 0
              or "-DOCSTART-" in split_line[0]
          ):
              output_conll_lines_with_bioes(
                  split_lines, labels, output_conll_file
              )
              output_conll_file.write(line)
              continue
          label = split_line[-1]
          labels.append(label)
          split_lines.append(split_line)
      output_conll_lines_with_bioes(
          split_lines, labels, output_conll_file
      )
  
      input_conll_file.close()
      output_conll_file.close()
      print("Done.")
  
file_path: NeuroNER/neuroner/utils_nlp.py
imports: import codecs
  import os
  import re
  import numpy
  from neuroner import utils
label_desc: Use image node_id 13 for calling a global function with example usage: convert_conll_from_bio_to_bioes(input_conll_filepath, output_conll_filepath) without return types