'''simple docstring'''

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 				_lowercase	(      folder_based_builder.FolderBasedBuilderConfig   ):
      '''simple docstring'''


      UpperCAmelCase_      :      bool      							=   None
      UpperCAmelCase_      :      bool      							=   None




class 				_lowercase	(      folder_based_builder.FolderBasedBuilder   ):
      '''simple docstring'''


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




UpperCamelCase__     :	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__     :	str				=			AUDIO_EXTENSIONS




'''simple docstring'''

import re







def __UpperCamelCase(   _A					:				str    ):
   '''simple docstring'''

   if len(re.findall('''[ATCG]'''  ,			_A    )    ) != len(_A    ):
      raise ValueError('''Invalid Strand'''    )

   return dna.translate(dna.maketrans('''ATCG'''  ,			'''TAGC'''    )    )


if __name__ == "__main__":
  import doctest

  doctest.testmod()




