code: def is_sub_or_superscript_pair(ref_text, text):
      """returns True if ref_text is a subscript or superscript version of text"""
      sub_or_superscript_to_num = {
          "⁰": "0",
          "¹": "1",
          "²": "2",
          "³": "3",
          "⁴": "4",
          "⁵": "5",
          "⁶": "6",
          "⁷": "7",
          "⁸": "8",
          "⁹": "9",
          "₀": "0",
          "₁": "1",
          "₂": "2",
          "₃": "3",
          "₄": "4",
          "₅": "5",
          "₆": "6",
          "₇": "7",
          "₈": "8",
          "₉": "9",
      }
  
      if text in sub_or_superscript_to_num:
          if sub_or_superscript_to_num[text] == ref_text:
              return True
      return False
  
imports: import json
  from dataclasses import dataclass, field
  from pathlib import Path
  from typing import List, Union
  import soundfile
  import torch
  from tqdm.auto import tqdm
  from utils.constants import BLANK_TOKEN, SPACE_TOKEN, V_NEGATIVE_NUM
  from nemo.utils import logging
label_desc: Use image node_id 7 for calling a global function with example usage: is_sub_or_superscript_pair(ref_text, text) and returns: False, True