class_docstr: Container for data that can be used to describe a conversation turn.
  
  The turn is described by a set of attributes such as e.g. `TEXT`  and  `INTENT`
  when describing a user utterance or e.g. `ACTION_NAME` for describing a bot action.
  The container includes raw information (`self.data`) as well as features
  (`self.features`) for each such attribute.
  Moreover, the message has a timestamp and can keep track about information
  on a specific subset of attributes (`self.output_properties`).
docstr: Finds any overlapping entity annotations.
docstr_tok: ["Finds","any","overlapping","entity","annotations","."]
code: def find_overlapping_entities(
      self,
  ) -> List[Tuple[Dict[Text, Any], Dict[Text, Any]]]:
      """Finds any overlapping entity annotations."""
      entities = self.get(ENTITIES, [])[:]
      entities_with_location = [
          e
          for e in entities
          if (
              ENTITY_ATTRIBUTE_START in e.keys()
              and ENTITY_ATTRIBUTE_END in e.keys()
          )
      ]
      entities_with_location.sort(
          key=lambda e: e[ENTITY_ATTRIBUTE_START]
      )
      overlapping_pairs: List[
          Tuple[Dict[Text, Any], Dict[Text, Any]]
      ] = []
      for i, entity in enumerate(entities_with_location):
          for other_entity in entities_with_location[i + 1 :]:
              if (
                  other_entity[ENTITY_ATTRIBUTE_START]
                  < entity[ENTITY_ATTRIBUTE_END]
              ):
                  overlapping_pairs.append((entity, other_entity))
              else:
                  break
      return overlapping_pairs
  
imports: from typing import Any, Optional, Tuple, Text, Dict, Set, List
  import typing
  import copy
  import rasa.shared.utils.io
  from rasa.shared.exceptions import RasaException
  from rasa.shared.nlu.constants import TEXT, INTENT, RESPONSE, INTENT_RESPONSE_KEY, METADATA, METADATA_INTENT, METADATA_EXAMPLE, ENTITIES, ENTITY_ATTRIBUTE_START, ENTITY_ATTRIBUTE_END, RESPONSE_IDENTIFIER_DELIMITER, FEATURE_TYPE_SENTENCE, FEATURE_TYPE_SEQUENCE, ACTION_TEXT, ACTION_NAME, TEXT_TOKENS
  from rasa.shared.constants import DIAGNOSTIC_DATA
label_desc: Use image node_id 24 for calling the Message obj's underlying member method code with example usage: obj.find_overlapping_entities() and returns: overlapping_pairs