code: 
  
  
  
  import inspect
  import json
  import os
  import tempfile
  import unittest
  
  from transformers.models.speech_to_text_a import SpeechaTextaTokenizer
  from transformers.models.speech_to_text_a.tokenization_speech_to_text_a import VOCAB_FILES_NAMES
  
  from ...test_tokenization_common import TokenizerTesterMixin
  
  
  
  class 		_snake_case      (			lowerCamelCase					,unittest.TestCase				):
  
  
  
  
  
   """simple docstring"""
  
  
  
   lowerCamelCase_          =			SpeechaTextaTokenizer
   lowerCamelCase_          =			False
   def lowercase_		(						self					)	->							Optional[Any]:
  
  
  
  
     """simple docstring"""
  
  
  
  
  
  
  
     super().setUp()
  
     _A           =    '''<s> <pad> </s> <unk> here@@ a couple of@@ words for the he@@ re@@ vocab'''.split(''' '''					)
     _A           =    ['''he re</w> 123''', '''here a 1456''']
     _A           =    dict(zip(a	,    range(len(a					)					)					)					)
  
     _A           =    {'''pad_token''': '''<pad>''', '''unk_token''': '''<unk>''', '''bos_token''': '''<s>''', '''eos_token''': '''</s>'''}
  
     _A           =    tempfile.mkdtemp()
     _A           =    os.path.join(self.tmpdirname	,    VOCAB_FILES_NAMES['''vocab_file''']					)
     _A           =    os.path.join(self.tmpdirname	,    VOCAB_FILES_NAMES['''merges_file''']					)
  
     with open(self.vocab_file	,    '''w'''	,    encoding='''utf-8'''					) as fp:
       fp.write(json.dumps(a					) + '''\n'''					)
  
     with open(self.merges_file	,    '''w'''					) as fp:
       fp.write('''\n'''.join(a					)					)
   def lowercase_		(						self					)	->							List[Any]:
  
  
  
  
     """simple docstring"""
  
  
  
  
  
  
  
     _A           =    list(self.get_tokenizer().get_vocab().keys()					)
  
     self.assertEqual(vocab_keys[0]	,    '''<s>'''					)
     self.assertEqual(vocab_keys[1]	,    '''<pad>'''					)
     self.assertEqual(vocab_keys[-1]	,    '''vocab'''					)
     self.assertEqual(len(a					)	,    1_4					)
   def lowercase_		(						self					)	->							str:
  
  
  
  
     """simple docstring"""
  
  
  
  
  
  
  
     self.assertEqual(self.get_tokenizer().vocab_size	,    1_4					)
   def lowercase_		(						self					)	->							List[Any]:
  
  
  
  
     """simple docstring"""
  
  
  
  
  
  
  
     _A           =    SpeechaTextaTokenizer.from_pretrained(self.tmpdirname					)
  
     # make sure @@ is correctly concatenated
     _A           =    [4, 6, 8, 7, 1_0]  # ["here@@", "couple", "words", "of@@", "the"]
     _A           =    tokenizer.decode(a					)
  
     self.assertTrue(output_string == '''herecouple words ofthe'''					)
   def lowercase_		(						self					)	->							str:
  
  
  
  
     """simple docstring"""
  
  
  
  
  
  
  
     _A           =    SpeechaTextaTokenizer.from_pretrained(self.tmpdirname					)
  
     with tempfile.TemporaryDirectory() as tmp_dirname:
       tokenizer.save_pretrained(a					)
       os.remove(os.path.join(a	,    '''merges.txt'''					)					)
  
       # load tokenizer without merges file should not throw an error
       _A           =    SpeechaTextaTokenizer.from_pretrained(a					)
  
     with tempfile.TemporaryDirectory() as tmp_dirname:
       # save tokenizer and load again
       tokenizer.save_pretrained(a					)
       _A           =    SpeechaTextaTokenizer.from_pretrained(a					)
  
     self.assertIsNotNone(a					)
  
  
  
   def lowercase_		(						self					)	->							Dict:
  
  
  
  
     """simple docstring"""
  
  
  
  
  
  
  
     if not self.test_slow_tokenizer:
       return
  
     _A           =    inspect.signature(self.tokenizer_class.__init__					)
     _A           =    self.get_tokenizer()
  
     for parameter_name, parameter in signature.parameters.items():
       if parameter.default != inspect.Parameter.empty and parameter_name != "merges_file":
         self.assertIn(a	,    tokenizer.init_kwargs					)
style_context: 
  
  
  
  def     UpperCAmelCase__ (							__snake_case						,				__snake_case						,				__snake_case						,				__snake_case						,				__snake_case							)   -> None:
    if target == 0:
      answer.append(path.copy()							)
    else:
      for index in range(__snake_case						,				len(__snake_case							)							):
        if target >= candidates[index]:
          path.append(candidates[index]							)
          backtrack(__snake_case						,				__snake_case						,				__snake_case						,				target - candidates[index]						,				__snake_case							)
          path.pop(len(__snake_case							) - 1							)
  
  
  
  
  def     UpperCAmelCase__ (							__snake_case						,				__snake_case							)   -> list:
    _A           =    []  # type: list[int]
    _A           =    []  # type: list[int]
    backtrack(__snake_case						,				__snake_case						,				__snake_case						,				__snake_case						,				0							)
    return answer
  
  
  
  
  def     UpperCAmelCase__ (							)   -> None:
    print(combination_sum([-8, 2.3, 0]						,				1							)							)
  
  
  if __name__ == "__main__":
      import doctest
  
      doctest.testmod()
      main()