class_docstr: Annotated Enron Subject Line Corpus Dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, pattern=None):
      """Yields examples."""
      for filename in tf.io.gfile.glob(pattern):
          email_body, subject_line = _parse_email_file(filename)
          key = os.path.basename(filename).rstrip(".subject")
          yield key, {_DOCUMENT: email_body, _SUMMARY: subject_line}
  
file_path: datasets/tensorflow_datasets/datasets/aeslc/aeslc_dataset_builder.py
imports: import os
  from etils import epath
  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(pattern) without return types