code: def get_args():
      parser = argparse.ArgumentParser(
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
          description="Process and normalize text data.",
      )
      parser.add_argument(
          "--input_manifest",
          required=True,
          type=Path,
          help="Path to input training manifest.",
      )
      parser.add_argument(
          "--output_manifest",
          required=True,
          type=Path,
          help="Path to output training manifest with processed text.",
      )
      parser.add_argument(
          "--overwrite",
          action=argparse.BooleanOptionalAction,
          help="Whether to overwrite the output manifest file if it exists.",
      )
      parser.add_argument(
          "--text_key",
          default="text",
          type=str,
          help="Input text field to normalize.",
      )
      parser.add_argument(
          "--normalized_text_key",
          default="normalized_text",
          type=str,
          help="Output field to save normalized text to.",
      )
      parser.add_argument(
          "--lower_case",
          action=argparse.BooleanOptionalAction,
          help="Whether to convert the final text to lower case.",
      )
      parser.add_argument(
          "--normalizer_config_path",
          required=False,
          type=Path,
          help="Path to config file for nemo_text_processing.text_normalization.normalize.Normalizer.",
      )
      parser.add_argument(
          "--num_workers",
          default=1,
          type=int,
          help="Number of parallel threads to use. If -1 all CPUs are used.",
      )
      parser.add_argument(
          "--joblib_batch_size",
          type=int,
          help="Batch size for joblib workers. Defaults to 'auto' if not provided.",
      )
      parser.add_argument(
          "--max_entries",
          default=0,
          type=int,
          help="If provided, maximum number of entries in the manifest to process.",
      )
  
      args = parser.parse_args()
      return args
  
file_path: NeMo/scripts/dataset_processing/tts/preprocess_text.py
imports: import argparse
  from pathlib import Path
  from hydra.utils import instantiate
  from joblib import Parallel, delayed
  from omegaconf import OmegaConf
  from tqdm import tqdm
  from nemo.collections.asr.parts.utils.manifest_utils import read_manifest, write_manifest
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args