code: def _generate_transcripts(transcript_csv_file):
      """Generates partial examples from transcript CSV file."""
      for line in transcript_csv_file:
          key, text_original, text_normalized = line.decode(
              "utf-8"
          ).split("\t")
          speaker_id, chapter_id = [
              int(el) for el in key.split("_")[:2]
          ]
          example = {
              "text_normalized": text_normalized,
              "text_original": text_original,
              "speaker_id": speaker_id,
              "chapter_id": chapter_id,
              "id": key,
          }
          yield key, example
  
file_path: datasets/tensorflow_datasets/datasets/libritts/libritts_dataset_builder.py
imports: from __future__ import annotations
  import io
  import os
  import tarfile
  import numpy
  import six
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _generate_transcripts(transcript_csv_file) without return types