class_docstr: DatasetBuilder for non-tokenized, non-anonymized SummScreen dataset.
class_docstr_tok: ["DatasetBuilder","for","non-tokenized",",","non-anonymized","SummScreen","dataset","."]
code: def _generate_examples(self, paths):
      for path in paths:
          example = _load_json(path)
          fname = os.path.basename(path)
          if (
              self._builder_config.recap_source == "fd"
          ):  # pytype: disable=attribute-error  # always-use-return-annotations
              yield fname, {
                  _TRANSCRIPT: "\n".join(example["Transcript"]),
                  _RECAP: "\n".join(example["Recap"]),
                  "episode_number": example["Episode Number"],
                  "episode_title": example["Episode Title"],
                  "show_title": example["Show Title"],
                  "transcript_author": example["Transcript Author"],
              }
          elif (
              self._builder_config.recap_source == "tms"
          ):  # pytype: disable=attribute-error  # always-use-return-annotations
              yield fname, {
                  _TRANSCRIPT: "\n".join(example["Transcript"]),
                  _RECAP: "\n".join(example["Recap"]),
                  "episode_summary": "\n".join(
                      example["Episode Summary"]
                  ),
                  "show_title": example["Show Title"],
                  "transcript_author": example["Transcript Author"],
                  "recap_author": example["Recap Author"],
              }
          else:
              raise KeyError(
                  f"Unknown recap_source {self._builder_config.recap_source}"  # pytype: disable=attribute-error  # always-use-return-annotations
              )
  
file_path: datasets/tensorflow_datasets/datasets/summscreen/summscreen_dataset_builder.py
imports: import json
  import os
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(paths) without return types