old_contents: # coding=utf-8
  # Copyright 2020 The TensorFlow Datasets Authors.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  """`tfds.features.FeatureConnector` API defining feature types."""
  
  from tensorflow_datasets.core.features.audio_feature import Audio
  from tensorflow_datasets.core.features.bounding_boxes import BBox
  from tensorflow_datasets.core.features.bounding_boxes import BBoxFeature
  from tensorflow_datasets.core.features.class_label_feature import ClassLabel
  from tensorflow_datasets.core.features.feature import FeatureConnector
  from tensorflow_datasets.core.features.feature import Tensor
  from tensorflow_datasets.core.features.feature import TensorInfo
  from tensorflow_datasets.core.features.features_dict import FeaturesDict
  from tensorflow_datasets.core.features.image_feature import Image
  from tensorflow_datasets.core.features.sequence_feature import Sequence
  from tensorflow_datasets.core.features.text_feature import Text
  from tensorflow_datasets.core.features.translation_feature import Translation
  from tensorflow_datasets.core.features.translation_feature import TranslationVariableLanguages
  from tensorflow_datasets.core.features.video_feature import Video
  
  __all__ = [
      "Audio",
      "BBox",
      "BBoxFeature",
      "ClassLabel",
      "FeatureConnector",
      "FeaturesDict",
      "Tensor",
      "TensorInfo",
      "Sequence",
      "Image",
      "Text",
      "Video",
  ]
  
new_contents: # coding=utf-8
  # Copyright 2020 The TensorFlow Datasets Authors.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  """`tfds.features.FeatureConnector` API defining feature types."""
  
  # TODO(tfds): Delete alias once all users have been migrated.
  from tensorflow_datasets.core.deprecated import text
  
  from tensorflow_datasets.core.features.audio_feature import Audio
  from tensorflow_datasets.core.features.bounding_boxes import BBox
  from tensorflow_datasets.core.features.bounding_boxes import BBoxFeature
  from tensorflow_datasets.core.features.class_label_feature import ClassLabel
  from tensorflow_datasets.core.features.feature import FeatureConnector
  from tensorflow_datasets.core.features.feature import Tensor
  from tensorflow_datasets.core.features.feature import TensorInfo
  from tensorflow_datasets.core.features.features_dict import FeaturesDict
  from tensorflow_datasets.core.features.image_feature import Image
  from tensorflow_datasets.core.features.sequence_feature import Sequence
  from tensorflow_datasets.core.features.text_feature import Text
  from tensorflow_datasets.core.features.translation_feature import Translation
  from tensorflow_datasets.core.features.translation_feature import TranslationVariableLanguages
  from tensorflow_datasets.core.features.video_feature import Video
  
  __all__ = [
      "text",
      "Audio",
      "BBox",
      "BBoxFeature",
      "ClassLabel",
      "FeatureConnector",
      "FeaturesDict",
      "Tensor",
      "TensorInfo",
      "Sequence",
      "Image",
      "Text",
      "Video",
  ]
  
subject: Remove tfds.features.text.Xyz from the public API.