class_docstr: The audio part of SAVEE dataset for emotion recognition.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, file_names):
      """Yields examples."""
      for fname in file_names:
          folder, wavname = os.path.split(fname)
          _, speaker_id = os.path.split(folder)
          label_abbrev = re.match("^([a-zA-Z]+)", wavname).group(
              1
          )  # pytype: disable=attribute-error
          label = LABEL_MAP[label_abbrev]
          key = "{}_{}".format(speaker_id, wavname.split(".")[0])
          yield key, {
              "audio": fname,
              "label": label,
              "speaker_id": speaker_id,
          }
  
file_path: datasets/tensorflow_datasets/datasets/savee/savee_dataset_builder.py
imports: from __future__ import annotations
  import collections
  import os
  import re
  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(file_names) without return types