


"""simple docstring"""







a__       :							Union[str, Any]        =  {
    0: '''0''',
    1: '''1''',
    2: '''2''',
    3: '''3''',
    4: '''4''',
    5: '''5''',
    6: '''6''',
    7: '''7''',
    8: '''8''',
    9: '''9''',
    1_0: '''a''',
    1_1: '''b''',
    1_2: '''c''',
    1_3: '''d''',
    1_4: '''e''',
    1_5: '''f''',
}




def      UpperCAmelCase__ (lowerCAmelCase_     ):




					'''simple docstring'''


					assert type(__lowerCAmelCase     ) in (int, float) and decimal == int(__lowerCAmelCase     )
					__SCREAMING_SNAKE_CASE		     =       int(__lowerCAmelCase     )
					__SCREAMING_SNAKE_CASE		     =       ""
					__SCREAMING_SNAKE_CASE		     =       False
					if decimal < 0:
										__SCREAMING_SNAKE_CASE		     =       True
										decimal *= -1
					while decimal > 0:
										__SCREAMING_SNAKE_CASE		     =       divmod(__lowerCAmelCase						,		16     )
										__SCREAMING_SNAKE_CASE		     =       values[remainder] + hexadecimal
					__SCREAMING_SNAKE_CASE		     =       "0x" + hexadecimal
					if negative:
										__SCREAMING_SNAKE_CASE		     =       "-" + hexadecimal
					return hexadecimal


if __name__ == "__main__":
		import doctest

		doctest.testmod()




"""simple docstring"""







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


a__       :							List[str]        =  {}


try:
		if not is_sentencepiece_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		a__       :							int        =  ['''MLukeTokenizer''']

if TYPE_CHECKING:
		try:
				if not is_sentencepiece_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .tokenization_mluke import MLukeTokenizer


else:
		import sys

		a__       :							Optional[Any]        =  _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)
