code: def test_save_and_reload_no_single_quotes(self):
      corpus = "the quick brown fox jumps over the lazy dog"
      token_counts = collections.Counter(corpus.split(" "))
  
      # Deliberately exclude some required encoding chars from the alphabet
      # and token list, making some strings unencodable.
      encoder = text_encoder.SubwordTextEncoder.build_to_target_size(
          100, token_counts, 2, 10
      )
  
      filename = os.path.join(self.test_temp_dir, "out.voc")
      encoder.store_to_file(filename, add_single_quotes=False)
      new_encoder = text_encoder.SubwordTextEncoder(filename)
  
      self.assertEqual(encoder._alphabet, new_encoder._alphabet)
      self.assertEqual(
          encoder.all_subtoken_strings, new_encoder.all_subtoken_strings
      )
      self.assertEqual(
          encoder._subtoken_string_to_id,
          new_encoder._subtoken_string_to_id,
      )
      self.assertEqual(
          encoder._max_subtoken_len, new_encoder._max_subtoken_len
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import collections
  import io
  import os
  import random
  import shutil
  import string
  import mock
  import six
  from six.moves import range
  from tensor2tensor.data_generators import text_encoder
  import tensorflow.compat.v1
label_desc: Use image node_id 12 for calling the SubwordTextEncoderTest obj's underlying member method code with example usage: obj.test_save_and_reload_no_single_quotes() without return types