code: def _process_entry(
      entry: dict,
      normalizer: Normalizer,
      text_key: str,
      normalized_text_key: str,
      lower_case: bool,
      lower_case_norm: bool,
  ) -> dict:
      text = entry[text_key]
  
      if normalizer is not None:
          if lower_case_norm:
              text = text.lower()
          text = normalizer.normalize(
              text, punct_pre_process=True, punct_post_process=True
          )
  
      if lower_case:
          text = text.lower()
  
      entry[normalized_text_key] = text
  
      return entry
  
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 2 for calling a global function with example usage: _process_entry(entry, normalizer, text_key, normalized_text_key, lower_case, lower_case_norm) and returns: entry