class_docstr: Spoken Digit Dataset.
docstr: Yields examples.
  
  Args:
     path: Path of the directory that contains audio files
  
  Yields:
     Next examples
docstr_tok: ["Yields","examples",".","Args",":","path",":","Path","of","the","directory","that","contains","audio","files","Yields",":","Next","examples"]
code: def _generate_examples(self, path):
      """Yields examples.
  
      Args:
         path: Path of the directory that contains audio files
  
      Yields:
         Next examples
      """
      for root, _, file_name in tf.io.gfile.walk(path):
          for fname in file_name:
              if fname.endswith(".wav"):  # Select only .wav files
                  # Example of audio file name: 7_jackson_32.wav
                  label = fname.split(".")[0].split("_")[0]
                  key = fname.split(".")[0]
                  example = {
                      "audio": os.path.join(root, fname),
                      "label": label,
                      "audio/filename": fname,
                  }
                  yield key, example
  
file_path: datasets/tensorflow_datasets/datasets/spoken_digit/spoken_digit_dataset_builder.py
imports: import os
  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(path) without return types