



from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


SCREAMING_SNAKE_CASE     				=						{
    "configuration_mctct": ["MCTCT_PRETRAINED_CONFIG_ARCHIVE_MAP", "MCTCTConfig"],
    "feature_extraction_mctct": ["MCTCTFeatureExtractor"],
    "processing_mctct": ["MCTCTProcessor"],
}


try:
			if not is_torch_available():
						raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
			pass
else:
			SCREAMING_SNAKE_CASE     				=						[
			    "MCTCT_PRETRAINED_MODEL_ARCHIVE_LIST",
			    "MCTCTForCTC",
			    "MCTCTModel",
			    "MCTCTPreTrainedModel",
			]


if TYPE_CHECKING:
			from .configuration_mctct import MCTCT_PRETRAINED_CONFIG_ARCHIVE_MAP, MCTCTConfig
			from .feature_extraction_mctct import MCTCTFeatureExtractor
			from .processing_mctct import MCTCTProcessor

			try:
						if not is_torch_available():
									raise OptionalDependencyNotAvailable()
			except OptionalDependencyNotAvailable:
						pass
			else:
						from .modeling_mctct import MCTCT_PRETRAINED_MODEL_ARCHIVE_LIST, MCTCTForCTC, MCTCTModel, MCTCTPreTrainedModel

else:
			import sys

			SCREAMING_SNAKE_CASE     				=						_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)






def snake_case__  (			__SCREAMING_SNAKE_CASE )		->							str:
		UpperCAmelCase_						=				int(__SCREAMING_SNAKE_CASE )
		if decimal in (0, 1):  # Exit cases for the recursion
				return str(__SCREAMING_SNAKE_CASE )
		UpperCAmelCase_					,						UpperCAmelCase_						=				divmod(__SCREAMING_SNAKE_CASE			,     2 )
		return binary_recursive(__SCREAMING_SNAKE_CASE ) + str(__SCREAMING_SNAKE_CASE )







def snake_case__  (			__SCREAMING_SNAKE_CASE )		->							str:
		UpperCAmelCase_						=				str(__SCREAMING_SNAKE_CASE ).strip()
		if not number:
				raise ValueError("No input value was provided" )
		UpperCAmelCase_						=				"-" if number.startswith("-" ) else ""
		UpperCAmelCase_						=				number.lstrip("-" )
		if not number.isnumeric():
				raise ValueError("Input value is not an integer" )
		return f'''{negative}0b{binary_recursive(int(__SCREAMING_SNAKE_CASE ) )}'''


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

			testmod()

