code: def get_label(
      tok_start_char: int, tok_end_char: int, labels: list
  ) -> list:
      """
      Returns the label that corresponds to the given token
      """
      for label in labels:
          if label[0] <= tok_start_char and label[1] >= tok_end_char:
              return label
      return []
  
file_path: stanza/stanza/utils/datasets/ner/convert_hy_armtdp.py
imports: import argparse
  import os
  import json
  import re
  import stanza
  import random
  from tqdm import tqdm
  from stanza import DownloadMethod, Pipeline
  import stanza.utils.default_paths
label_desc: Use image node_id 3 for calling a global function with example usage: get_label(tok_start_char, tok_end_char, labels) and returns: list, label