class_docstr: Infoboxes and first paragraph from Wikipedia biography pages.
class_docstr_tok: ["Infoboxes","and","first","paragraph","from","Wikipedia","biography","pages","."]
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(
      self,
      id_file,
      infobox_file,
      nb_lines_file,
      sentences_file,
      article_title_file,
  ):
      """Yields examples."""
      with tf.io.gfile.GFile(id_file) as id_src, tf.io.gfile.GFile(
          infobox_file
      ) as infobox_src, tf.io.gfile.GFile(
          nb_lines_file
      ) as nb_lines_src, tf.io.gfile.GFile(
          sentences_file
      ) as sentences_src, tf.io.gfile.GFile(
          article_title_file
      ) as article_title_src:
          for id_, infobox, nb_lines, article_title in zip(
              id_src, infobox_src, nb_lines_src, article_title_src
          ):
              target_text = []
              for _ in range(int(nb_lines)):
                  target_text.append(sentences_src.readline())
              yield id_, {
                  "input_text": {
                      "table": _get_table(infobox),
                      "context": article_title,
                  },
                  "target_text": "".join(target_text),
              }
  
file_path: datasets/tensorflow_datasets/structured/wiki_bio.py
imports: from __future__ import annotations
  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 WikiBio obj's underlying member method code with example usage: obj._generate_examples(id_file, infobox_file, nb_lines_file, sentences_file, article_title_file) without return types