




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"""

    snake_case__ =				None
    snake_case__ =				None






class 			__lowerCamelCase	(   folder_based_builder.FolderBasedBuilder   ):




    """simple docstring"""

    snake_case__ =				datasets.Audio()
    snake_case__ =				'audio'
    snake_case__ =				AudioFolderConfig
    snake_case__ =				42  # definition at the bottom of the script
    snake_case__ =				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






from maths.prime_factors import prime_factors



def 							_A       (						lowerCAmelCase_					: int      ):
     """simple docstring"""

     if not isinstance(lowerCAmelCase_       ,    lowerCAmelCase_      ):
          lowerCAmelCase__          =			F'Input value of [number={number}] must be an integer'
          raise TypeError(lowerCAmelCase_      )
     if number < 1:
          raise ValueError("Input must be a positive integer"      )
     return -1 if len(prime_factors(lowerCAmelCase_      )      ) % 2 else 1


if __name__ == "__main__":
     import doctest

     doctest.testmod()
