class_docstr: `FeatureConnector` for text, encoding to integers with a `TextEncoder`.
code: def save_metadata(self, data_dir, feature_name: str) -> None:
      if not self.encoder:
          return
      fname_prefix = _file_name_prefix_for_metadata(
          feature_name, data_dir
      )
      self.encoder.save_to_file(fname_prefix)
  
imports: import html
  import os
  import textwrap
  from typing import Union
  from absl import logging
  from etils import epath
  import numpy
  from tensorflow_datasets.core.deprecated import text
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.features import tensor_feature
  from tensorflow_datasets.core.proto import feature_pb2
  from tensorflow_datasets.core.utils import type_utils
label_desc: Use image node_id 10 for calling the Text obj's underlying member method code with example usage: obj.save_metadata(data_dir, feature_name) without return types