code: def main():
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter
      )
      parser.add_argument(
          "--input_dataset",
          type=str,
          default="en_ontonotes",
          help="which files to convert",
      )
      parser.add_argument(
          "--output_dataset",
          type=str,
          default="en_ontonotes-8class",
          help="which files to write out",
      )
      parser.add_argument(
          "--ner_data_dir",
          type=str,
          default=get_default_paths()["NER_DATA_DIR"],
          help="which directory has the data",
      )
      args = parser.parse_args()
  
      input_files = glob.glob(
          os.path.join(args.ner_data_dir, args.input_dataset + ".*")
      )
      for input_file in input_files:
          output_file = os.path.split(input_file)[1][
              len(args.input_dataset) :
          ]
          output_file = os.path.join(
              args.ner_data_dir, args.output_dataset + output_file
          )
          print("Converting %s to %s" % (input_file, output_file))
          convert_file(input_file, output_file)
  
imports: import argparse
  import glob
  import json
  import os
  from stanza.utils.default_paths import get_default_paths
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types