code: def create_manifest(
      data: List[tuple], output_name: str, manifest_path: str
  ):
      output_file = Path(manifest_path) / output_name
      output_file.parent.mkdir(exist_ok=True, parents=True)
  
      with output_file.open(mode="w") as f:
          for wav_path, duration, text in tqdm(data, total=len(data)):
              if wav_path != "":
                  # skip invalid input files that could not be converted
                  f.write(
                      json.dumps(
                          {
                              "audio_filepath": os.path.abspath(
                                  wav_path
                              ),
                              "duration": duration,
                              "text": text,
                          }
                      )
                      + "\n"
                  )
  
file_path: NeMo/scripts/dataset_processing/get_commonvoice_data.py
imports: import argparse
  import csv
  import json
  import logging
  import multiprocessing
  import os
  import subprocess
  import sys
  import tarfile
  from multiprocessing.pool import ThreadPool
  from pathlib import Path
  from typing import List
  import sox
  from sox import Transformer
  from tqdm import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: create_manifest(data, output_name, manifest_path) without return types