


def       lowercase_		(		_A			:    int						):

      """simple docstring"""




      lowerCamelCase__		:				Dict    =  int(_A						)
      if decimal in (0, 1):  # Exit cases for the recursion
            return str(_A						)
      lowerCamelCase__    ,   lowerCamelCase__		:				Optional[Any]    =  divmod(_A    ,					2						)
      return binary_recursive(_A						) + str(_A						)

def       lowercase_		(		_A			:    str						):

      """simple docstring"""




      lowerCamelCase__		:				List[str]    =  str(_A						).strip()
      if not number:
            raise ValueError("No input value was provided"						)
      lowerCamelCase__		:				int    =  "-" if number.startswith("-"						) else ""
      lowerCamelCase__		:				Any    =  number.lstrip("-"						)
      if not number.isnumeric():
            raise ValueError("Input value is not an integer"						)
      return F"{negative}0b{binary_recursive(int(_A						)						)}"


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

    testmod()






import copy
from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Audio, Features, Value
from .base import TaskTemplate







@dataclass(frozen=lowercase__)
class 			_lowercase (							lowercase__):


       """simple docstring"""




       A__											=			field(default="automatic-speech-recognition"							,  metadata={"include_in_asdict_even_if_is_default": True})
       A__											=			Features({"audio": Audio()})
       A__											=			Features({"transcription": Value("string")})
       A__											=			"audio"
       A__											=			"transcription"





       def 						lowerCAmelCase     (   self							:			Any					,      __lowerCamelCase							:			int       ):


             '''simple docstring'''



             if self.audio_column not in features:
                   raise ValueError(f"Column {self.audio_column} is not present in features."       )
             if not isinstance(features[self.audio_column]					,      __lowerCamelCase       ):
                   raise ValueError(f"Column {self.audio_column} is not an Audio type."       )
             lowerCamelCase__		:				Tuple    =  copy.deepcopy(self       )
             lowerCamelCase__		:				Tuple    =  self.input_schema.copy()
             lowerCamelCase__		:				Optional[int]    =  features[self.audio_column]
             lowerCamelCase__		:				int    =  input_schema
             return task_template





       @property
       def 						lowerCAmelCase     (   self							:			int       ):


             '''simple docstring'''



             return {self.audio_column: "audio", self.transcription_column: "transcription"}


