code: def __process_transcript(file_path: str):
      entries = []
      with open(file_path, encoding="utf-8") as fin:
          text = fin.readlines()[0].strip()
  
          # TODO(oktai15): add normalized text via Normalizer/NormalizerWithAudio
          wav_file = file_path.replace(".normalized.txt", ".wav")
          speaker_id = file_path.split("/")[-3]
          assert os.path.exists(wav_file), f"{wav_file} not found!"
          duration = subprocess.check_output(
              f"soxi -D {wav_file}", shell=True
          )
          entry = {
              "audio_filepath": os.path.abspath(wav_file),
              "duration": float(duration),
              "text": text,
              "speaker": int(speaker_id),
          }
  
          entries.append(entry)
  
      return entries
  
file_path: NeMo/scripts/dataset_processing/tts/libritts/get_data.py
imports: import argparse
  import fnmatch
  import functools
  import json
  import multiprocessing
  import os
  import subprocess
  import tarfile
  import urllib.request
  from pathlib import Path
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: __process_transcript(file_path) and returns: entries