code: def _get_record_entities(passage):
      """Returns the unique set of entities."""
      text = passage["text"]
      entities = set()
      for entity in passage["entities"]:
          entities.add(text[entity["start"] : entity["end"] + 1])
      return sorted(entities)
  
file_path: datasets/tensorflow_datasets/text/super_glue.py
imports: from __future__ import annotations
  import json
  import os
  from etils import epath
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling a global function with example usage: _get_record_entities(passage) and returns: sorted