






from typing import Callable, Optional

from .. import Features
from ..packaged_modules.generator.generator import Generator
from .abc import AbstractDatasetInputStream







class        _SCREAMING_SNAKE_CASE						(  __snake_case							):





							"""simple docstring"""





							def __init__(   self:     Any				,		__A:     Union[str, Any]				,		__A:     Union[str, Any] = None				,		__A:     Optional[int] = None				,		__A:     Dict = False				,		__A:     Dict = False				,		__A:     Optional[int] = None				,		__A:     int = None				,		**__A:     List[str]				,		):

												'''simple docstring'''

												super().__init__(
												    features=A_				,		cache_dir=A_				,		keep_in_memory=A_				,		streaming=A_				,		num_proc=A_				,		**A_				,		)
												a__          =  Generator(
												    cache_dir=A_				,		features=A_				,		generator=A_				,		gen_kwargs=A_				,		**A_				,		)





							def  lowercase		(   self:     List[str]    ):

												'''simple docstring'''

												if self.streaming:
																	a__          =  self.builder.as_streaming_dataset(split='''train'''    )
												# Build regular (map-style) dataset
												else:
																	a__          =  None
																	a__          =  None
																	a__          =  None
																	a__          =  None

																	self.builder.download_and_prepare(
																	    download_config=A_				,		download_mode=A_				,		verification_mode=A_				,		base_path=A_				,		num_proc=self.num_proc				,		)
																	a__          =  self.builder.as_dataset(
																	    split='''train'''				,		verification_mode=A_				,		in_memory=self.keep_in_memory    )
												return dataset










"""simple docstring"""







def        SCREAMING_SNAKE_CASE       (      lowerCamelCase_):
					assert column_title.isupper()
					a__          =  0
					a__          =  len(lowerCamelCase_) - 1
					a__          =  0

					while index >= 0:
										a__          =  (ord(column_title[index]) - 64) * pow(26 ,     lowerCamelCase_)
										answer += value
										power += 1
										index -= 1

					return answer


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

	testmod()


