from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


a_							=      datasets.utils.logging.get_logger(__name__)


class 			UpperCAmelCase__    (		folder_based_builder.FolderBasedBuilderConfig					):



  """simple docstring"""






  lowerCAmelCase__		:	bool    		= None
  lowerCAmelCase__		:	bool    		= None






class 			UpperCAmelCase__    (		folder_based_builder.FolderBasedBuilder					):



  """simple docstring"""






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






a_							=      [
    """.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""",
]
a_							=      AUDIO_EXTENSIONS




from abc import ABC, abstractmethod
from argparse import ArgumentParser


class 			UpperCAmelCase__    (		snake_case					):



  """simple docstring"""






  @staticmethod
  @abstractmethod
  def 	_UpperCAmelCase				(				__lowerCAmelCase:			ArgumentParser   ) -> Tuple:




    '''simple docstring'''




    raise NotImplementedError()






  @abstractmethod
  def 	_UpperCAmelCase				(				self:			List[str]   ) -> List[Any]:




    '''simple docstring'''




    raise NotImplementedError()



