"""simple docstring"""





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

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






@dataclass(frozen=UpperCamelCase_		)
class  _snake_case     (					UpperCamelCase_		):
						snake_case__			  =			field(default="automatic-speech-recognition"				, metadata={"include_in_asdict_even_if_is_default": True}		)
						snake_case__			  =			Features({"audio": Audio()}		)
						snake_case__			  =			Features({"transcription": Value("string"		)}		)
						snake_case__			  =			"audio"
						snake_case__			  =			"transcription"






						def       lowerCamelCase__     (       self      :			Tuple							,					UpperCAmelCase      :			List[str]    ):





													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]							,					UpperCamelCase__    ):
																				raise ValueError(F"""Column {self.audio_column} is not an Audio type."""    )
													__lowerCamelCase					:		Optional[Any]		   =     copy.deepcopy(self    )
													__lowerCamelCase					:		Any		   =     self.input_schema.copy()
													__lowerCamelCase					:		List[str]		   =     features[self.audio_column]
													__lowerCamelCase					:		str		   =     input_schema
													return task_template







						@property
						def       lowerCamelCase__     (       self      :			Union[str, Any]    ):
													return {self.audio_column: "audio", self.transcription_column: "transcription"}
"""simple docstring"""





import math


def    lowercase_   (   _lowerCamelCase:	int      ) ->      bool:



							'''simple docstring'''

							if 1 < number < 4:
														# 2 and 3 are primes
														return True
							elif number < 2 or number % 2 == 0 or number % 3 == 0:
														# Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
														return False

							# All primes number are in format of 6k +/- 1
							for i in range(5						,   int(math.sqrt(_lowerCamelCase      ) + 1      )						,   6      ):
														if number % i == 0 or number % (i + 2) == 0:
																					return False
							return True


def    lowercase_   (   _lowerCamelCase:	int = 10001      ) ->      int:



							'''simple docstring'''

							try:
														__lowerCamelCase					:		Optional[int]		   =     int(_lowerCamelCase      )
							except (TypeError, ValueError):
														raise TypeError("Parameter nth must be int or castable to int."      ) from None
							if nth <= 0:
														raise ValueError("Parameter nth must be greater than or equal to one."      )
							__lowerCamelCase					:		list[int]		   =     []
							__lowerCamelCase					:		Tuple		   =     2
							while len(_lowerCamelCase      ) < nth:
														if is_prime(_lowerCamelCase      ):
																					primes.append(_lowerCamelCase      )
																					num += 1
														else:
																					num += 1
							return primes[len(_lowerCamelCase      ) - 1]


if __name__ == "__main__":
				print(F"""{solution() = }""")