class_docstr: BillSum Dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, path=None, key=None):
      """Yields examples."""
      with epath.Path(path).open() as f:
          for line in f:
              # in us bills, json has fields:
              #   text, summary, title, bill_id, text_len, sum_len
              # in ca bills, json has fields:
              #   text, summary, title, external_id
              d = json.loads(line)
              yield d[key], {
                  k: d[k] for k in [_DOCUMENT, _SUMMARY, "title"]
              }
  
file_path: datasets/tensorflow_datasets/datasets/billsum/billsum_dataset_builder.py
imports: import json
  import os
  from etils import epath
  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(path, key) without return types