






from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


__UpperCAmelCase							:   List[Any]							=  datasets.utils.logging.get_logger(__name__)


class 					_snake_case						(			folder_based_builder.FolderBasedBuilderConfig ):
	_A          =   None
	_A          =   None




class 					_snake_case						(			folder_based_builder.FolderBasedBuilder ):
	_A          =   datasets.Audio()
	_A          =   'audio'
	_A          =   AudioFolderConfig
	_A          =   42  # definition at the bottom of the script
	_A          =   AudioClassification(audio_column='audio'       ,    label_column='label' )




__UpperCAmelCase							:   Optional[int]							=  [
    ".aiff",
    ".au",
    ".avr",
    ".caf",
    ".flac",
    ".htk",
    ".svx",
    ".mat4",
    ".mat5",
    ".mpc2k",
    ".ogg",
    ".paf",
    ".pvf",
    ".raw",
    ".rf64",
    ".sd2",
    ".sds",
    ".ircam",
    ".voc",
    ".w64",
    ".wav",
    ".nist",
    ".wavex",
    ".wve",
    ".xi",
    ".mp3",
    ".opus",
]
__UpperCAmelCase							:   List[str]							=  AUDIO_EXTENSIONS












def 					lowercase_ (    __snake_case     :							str      )     -> list:





				'''simple docstring'''


				return [
				    txt[:a] + txt[a].upper() + txt[a + 1 :]
				    for a in range(len(__snake_case      )      )
				    if txt[a].isalpha()
				]


if __name__ == "__main__":
	__import__("doctest").testmod()