






'''simple docstring'''







from transformers import SqueezeBertTokenizer, SqueezeBertTokenizerFast
from transformers.testing_utils import require_tokenizers, slow

from ..bert.test_tokenization_bert import BertTokenizationTest

@require_tokenizers
class _lowercase      (							_lowercase						):
							a							 =			SqueezeBertTokenizer
							a							 =			SqueezeBertTokenizerFast
							a							 =			True




							def 						lowerCamelCase_							(				self:							Dict     ,				**UpperCamelCase__:							str	):
														return SqueezeBertTokenizerFast.from_pretrained(self.tmpdirname     ,				**UpperCamelCase__	)




							@slow
							def 						lowerCamelCase_							(				self:							List[Any]	):
														lowerCamelCase__   :      Any			    =			SqueezeBertTokenizer.from_pretrained("""squeezebert/squeezebert-mnli-headless"""	)

														lowerCamelCase__   :      Union[str, Any]			    =			tokenizer.encode("""sequence builders"""     ,				add_special_tokens=UpperCamelCase__	)
														lowerCamelCase__   :      str			    =			tokenizer.encode("""multi-sequence build"""     ,				add_special_tokens=UpperCamelCase__	)

														lowerCamelCase__   :      Optional[int]			    =			tokenizer.build_inputs_with_special_tokens(UpperCamelCase__	)
														lowerCamelCase__   :      Any			    =			tokenizer.build_inputs_with_special_tokens(UpperCamelCase__     ,				UpperCamelCase__	)

														assert encoded_sentence == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id]
														assert encoded_pair == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id] + text_a + [
														    tokenizer.sep_token_id
														]









'''simple docstring'''







def 					SCREAMING_SNAKE_CASE_			(UpperCamelCase							,     UpperCamelCase = 13 ) ->			str:
							lowerCamelCase__   :      Dict			    =			""""""
							for c in s:
														if "A" <= c <= "Z":
																					out += chr(ord("""A""" ) + (ord(UpperCamelCase ) - ord("""A""" ) + n) % 26 )
														elif "a" <= c <= "z":
																					out += chr(ord("""a""" ) + (ord(UpperCamelCase ) - ord("""a""" ) + n) % 26 )
														else:
																					out += c
							return out





def 					SCREAMING_SNAKE_CASE_			() ->			None:
							lowerCamelCase__   :      Dict			    =			input("""Enter message: """ )

							lowerCamelCase__   :      str			    =			dencrypt(UpperCamelCase							,     13 )
							print("""Encryption:"""							,     UpperCamelCase )

							lowerCamelCase__   :      List[str]			    =			dencrypt(UpperCamelCase							,     13 )
							print("""Decryption: """							,     UpperCamelCase )


if __name__ == "__main__":
			import doctest

			doctest.testmod()
			main()

