


"""simple docstring"""




from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


__UpperCamelCase						=      datasets.utils.logging.get_logger(__name__)
class 					lowerCAmelCase	(					folder_based_builder.FolderBasedBuilderConfig    ):




		'''simple docstring'''







		SCREAMING_SNAKE_CASE_						:     bool								=     None
		SCREAMING_SNAKE_CASE_						:     bool								=     None





class 					lowerCAmelCase	(					folder_based_builder.FolderBasedBuilder    ):




		'''simple docstring'''







		SCREAMING_SNAKE_CASE_						:     Union[str, Any]								=     datasets.Audio()
		SCREAMING_SNAKE_CASE_						:     Any								=     """audio"""
		SCREAMING_SNAKE_CASE_						:     Tuple								=     AudioFolderConfig
		SCREAMING_SNAKE_CASE_						:     List[str]  # definition at the bottom of the script
		SCREAMING_SNAKE_CASE_						:     Optional[int]								=     AudioClassification(audio_column="""audio"""	,    label_column="""label"""    )





__UpperCamelCase						=      [
    '''.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						=      AUDIO_EXTENSIONS






"""simple docstring"""




def     lowercase			(SCREAMING_SNAKE_CASE_		:				int  )   ->						str:
						SCREAMING_SNAKE_CASE													=					int(SCREAMING_SNAKE_CASE_  )
						if decimal in (0, 1):  # Exit cases for the recursion
												return str(SCREAMING_SNAKE_CASE_  )
						SCREAMING_SNAKE_CASE							,				SCREAMING_SNAKE_CASE													=					divmod(SCREAMING_SNAKE_CASE_ ,			2  )
						return binary_recursive(SCREAMING_SNAKE_CASE_  ) + str(SCREAMING_SNAKE_CASE_  )


def     lowercase			(SCREAMING_SNAKE_CASE_		:				str  )   ->						str:
						SCREAMING_SNAKE_CASE													=					str(SCREAMING_SNAKE_CASE_  ).strip()
						if not number:
												raise ValueError('No input value was provided'  )
						SCREAMING_SNAKE_CASE													=					'-' if number.startswith('-'  ) else ''
						SCREAMING_SNAKE_CASE													=					number.lstrip('-'  )
						if not number.isnumeric():
												raise ValueError('Input value is not an integer'  )
						return F'{negative}0b{binary_recursive(int(SCREAMING_SNAKE_CASE_  )  )}'


if __name__ == "__main__":
	from doctest import testmod

	testmod()


