def _save_vocab_file(vocab_file, subtoken_list):
  """Save subtokens to file."""
  with tf.gfile.Open(vocab_file, mode="w") as f:
    for subtoken in subtoken_list:
      f.write("'%s'\n" % _unicode_to_native(subtoken))
Save subtokens to file.