code: def main():
      parser = argparse.ArgumentParser(
          description="Aishell Data download"
      )
      parser.add_argument("--data_root", default="./", type=str)
      parser.add_argument(
          "--output_manifest_path",
          default="aishell_diar_manifest.json",
          type=str,
      )
      parser.add_argument(
          "--skip_train",
          help="skip downloading the training dataset",
          action="store_true",
      )
      args = parser.parse_args()
      data_root = Path(args.data_root)
      data_root.mkdir(exist_ok=True, parents=True)
  
      if not args.skip_train:
          for tag in train_datasets:
              dataset_url = train_url.format(tag)
              dataset_path = data_root / f"{tag}/"
              manifest_output_path = (
                  data_root / f"train_{tag}_manifest.json"
              )
              __process_data(
                  dataset_url=dataset_url,
                  dataset_path=dataset_path,
                  manifest_output_path=manifest_output_path,
              )
      # create test dataset
      dataset_path = data_root / f"eval/"
      manifest_output_path = data_root / f"eval_manifest.json"
      __process_data(
          dataset_url=eval_url,
          dataset_path=dataset_path,
          manifest_output_path=manifest_output_path,
      )
  
file_path: NeMo/scripts/dataset_processing/speaker_tasks/get_aishell_diarization_data.py
imports: import argparse
  import glob
  import logging
  import os
  import tarfile
  from pathlib import Path
  import wget
  from sox import Transformer
  from nemo.collections.asr.parts.utils.manifest_utils import create_manifest
label_desc: Use image node_id 4 for calling a global function with example usage: main() without return types